aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>2000-11-24 15:13:30 +0000
committerChris Piazza <cpiazza@FreeBSD.org>2000-11-24 15:13:30 +0000
commitb6cb7406493ab3a7df8268e80840c871ed356127 (patch)
treefa5fedaddba88a9dd1f0d67602b7ecf891a20323 /audio
parentd59f600e7f86c00893067da82264033efb23fedc (diff)
downloadports-b6cb7406493ab3a7df8268e80840c871ed356127.tar.gz
ports-b6cb7406493ab3a7df8268e80840c871ed356127.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/gnapster/Makefile13
-rw-r--r--audio/gnapster/pkg-plist2
2 files changed, 8 insertions, 7 deletions
diff --git a/audio/gnapster/Makefile b/audio/gnapster/Makefile
index 7ad3adb4360d..11b81af6584b 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>
diff --git a/audio/gnapster/pkg-plist b/audio/gnapster/pkg-plist
index cd396358b2b0..807996e611dd 100644
--- a/audio/gnapster/pkg-plist
+++ b/audio/gnapster/pkg-plist
@@ -1,5 +1,4 @@
bin/gnapster
-%%GNOME:%%share/gnome/apps/Applications/gnapster.desktop
%%DATADIR%%/gnapster/themes/cyblue.theme
%%DATADIR%%/gnapster/themes/cypress.theme
%%DATADIR%%/gnapster/themes/default.theme
@@ -21,4 +20,5 @@ share/locale/ru/LC_MESSAGES/gnapster.mo
share/locale/sv/LC_MESSAGES/gnapster.mo
share/locale/tr/LC_MESSAGES/gnapster.mo
@dirrm %%DATADIR%%/gnapster/themes
+@dirrm %%DATADIR%%/gnapster/pixmaps
@dirrm %%DATADIR%%/gnapster