diff options
author | mi <mi@FreeBSD.org> | 2001-03-21 20:27:31 +0000 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2001-03-21 20:27:31 +0000 |
commit | 410ca4d4e1455e7872499b56ef6c165abb020e3f (patch) | |
tree | b6a711a1d543889f3dd3f027a07723d7e5700649 /graphics/libungif | |
parent | af187800d95077d268bf6f72b0a2b597fe6d7ef3 (diff) | |
download | FreeBSD-ports-410ca4d4e1455e7872499b56ef6c165abb020e3f.zip FreeBSD-ports-410ca4d4e1455e7872499b56ef6c165abb020e3f.tar.gz |
Make it possible to compile this package without X11 --
controllable by the NO_X knob.
While here, remove the USE_LIBTOOL -- the package compiles fine
with the libtool of its own.
I was prompted to do this, when the build of mod_php4 on a
headless server started to download X11 sources...
Diffstat (limited to 'graphics/libungif')
-rw-r--r-- | graphics/libungif/Makefile | 12 | ||||
-rw-r--r-- | graphics/libungif/pkg-plist | 2 |
2 files changed, 11 insertions, 3 deletions
diff --git a/graphics/libungif/Makefile b/graphics/libungif/Makefile index 0ea6128..5186e533a 100644 --- a/graphics/libungif/Makefile +++ b/graphics/libungif/Makefile @@ -12,10 +12,18 @@ MASTER_SITES= ftp://prtr-13.ucsc.edu/pub/libungif/ MAINTAINER= ports@FreeBSD.org -USE_XLIB= yes -USE_LIBTOOL= yes +GNU_CONFIGURE= yes INSTALLS_SHLIB= yes +.ifdef (NO_X) +PLIST_SUB+= X11='@comment ' +CONFIGURE_ARGS+=--with-x=no +PKGNAMESUFFIX= -nox11 +.else +USE_XLIB= yes +PLIST_SUB+= X11='' +.endif + DOCDIR= ${PREFIX}/share/doc/libungif post-install: diff --git a/graphics/libungif/pkg-plist b/graphics/libungif/pkg-plist index cce7a95..8885bbf 100644 --- a/graphics/libungif/pkg-plist +++ b/graphics/libungif/pkg-plist @@ -1,7 +1,7 @@ bin/gif2epsn bin/gif2ps bin/gif2rgb -bin/gif2x11 +%%X11%%bin/gif2x11 bin/gifasm bin/gifbg bin/gifburst |