[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: need ports example



On Tue, Feb 03, 2004 at 02:39:52PM -0500, Richard Welty wrote:
> i would like to be pointed towards an example of a port that
> uses SUPPATCHFILES in support of a flavor. i am making
> the assumption that i can use :0 in the usual way, e.g.
> 
> MASTER_SITES0=	http://duncanthrax.net/exiscan-acl/
> 
> SUPPATCHFILES=	exiscan-acl-4.30-14.patch:0
> 
> to specify a patch file to be fetched for the exiscan variant
> of the exim port.
> 
> i just want to see a Makefile that does something like this
> already.
> 
> thanks,
>   richard
> -- 
> Richard Welty                                         rwelty@averillpark.net
> Averill Park Networking                                         518-573-7592
>     Java, PHP, PostgreSQL, Unix, Linux, IP Network Engineering, Security

Grepping /usr/ports was a peace of cake for this.

MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=fluxbox/}
MASTER_SITES0=         http://www.fluxbox.org/download/patches/
PATCHFILES=            fluxbox-${VERSION}-bugfix1.patch:0
PATCH_DIST_STRIP=      -p1

-- 
Robert Nagy <thuglife@bsd.hu>
http://thuglife.frontember.hu