Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 May 2006 17:00:13 +0200
From:      Oliver Lehmann <lehmann@ans-netz.de>
To:        Ulrich Spoerlein <uspoerlein@gmail.com>
Cc:        msid@daemons.gr, freebsd-ports@freebsd.org, freebsd@jdc.parodius.com
Subject:   Re: ports structure and improvement suggestions
Message-ID:  <20060509170013.f59d28f8.lehmann@ans-netz.de>
In-Reply-To: <20060509111435.GA1228@roadrunner.aventurien.local>
References:  <20060508200926.GA6005@daemons.gr> <20060509061026.GA14039@pentarou.parodius.com> <20060509111435.GA1228@roadrunner.aventurien.local>

next in thread | previous in thread | raw e-mail | index | archive | help
Ulrich Spoerlein wrote:
> .if ${.CURDIR:M*/usr/ports*}
> CFLAGS+=       -Os
> WRKDIRPREFIX=   /vol/obj
> .include "/etc/ports.conf"
> .endif

yeah... I use sth. similar in my make.conf....

_MY_PORTNAME=${PWD:C/.*\///}

.if ${_MY_PORTNAME} == "ImageMagick"
WITHOUT_IMAGEMAGICK_FPX=        yo
WITHOUT_IMAGEMAGICK_JBIG=       yo
WITHOUT_IMAGEMAGICK_JPEG2000=   yo
WITHOUT_IMAGEMAGICK_WMF=        yo
WITHOUT_IMAGEMAGICK_MPEG2=      yo
.elif ${_MY_PORTNAME} == "distcc"
BATCH=                          yo
.elif ${_MY_PORTNAME} == "gaim"
WITHOUT_GNUTLS=                 yo
....

not so flexible as yours is (because I can't specify multimedia/*) but it
works for me - I even wrote^Whacked a make.conf -> pkgtools.cfg script
for my special make.conf "style".

http://cvs.olli.homeip.net/index.html/scripts/sync_pkgtools.cfg.sh?rev=1.4


-- 
 Oliver Lehmann
  http://www.pofo.de/
  http://wishlist.ans-netz.de/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060509170013.f59d28f8.lehmann>