diff options
author | cpiazza <cpiazza@FreeBSD.org> | 2000-11-24 15:13:30 +0000 |
---|---|---|
committer | cpiazza <cpiazza@FreeBSD.org> | 2000-11-24 15:13:30 +0000 |
commit | 4e5075519eb5f77076c3fc93c352ee87b21d0ade (patch) | |
tree | 337527465fc0a6b9b9d56200da5fa0efb3bac31b /audio/gnapster/Makefile | |
parent | 6ad5bb3f3f496cf9899fc66341a7d24717b9d260 (diff) | |
download | FreeBSD-ports-4e5075519eb5f77076c3fc93c352ee87b21d0ade.zip FreeBSD-ports-4e5075519eb5f77076c3fc93c352ee87b21d0ade.tar.gz |
Clean the last commit up
(....I hate gnome and wish it would go away)
Submitted by: reg
Diffstat (limited to 'audio/gnapster/Makefile')
-rw-r--r-- | audio/gnapster/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/audio/gnapster/Makefile b/audio/gnapster/Makefile index 7ad3adb..11b81af 100644 --- a/audio/gnapster/Makefile +++ b/audio/gnapster/Makefile @@ -12,10 +12,6 @@ MASTER_SITES= http://www.faradic.net/~jasta/files/ MAINTAINER= cpiazza@FreeBSD.org -.if defined(HAVE_GNOME) -LIB_DEPENDS= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk_pixbuf -.endif - USE_GMAKE= yes USE_X_PREFIX= yes USE_IMLIB= yes @@ -24,7 +20,12 @@ USE_LIBTOOL= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" -.if !defined(HAVE_GNOME) +.include <bsd.port.pre.mk> + +.if defined(HAVE_GNOME) +USE_GNOME= yes +LIB_DEPENDS= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf +.else CONFIGURE_ARGS+=--disable-gnome --disable-gdk-pixbuf .endif @@ -35,4 +36,4 @@ pre-patch: 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' -.include <bsd.port.mk> +.include <bsd.port.post.mk> |