summaryrefslogtreecommitdiff
path: root/audio/gqmpeg-devel
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2001-08-31 12:41:25 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2001-08-31 12:41:25 +0000
commita90f72b4c2d99ee7ad7e271484b2b932178b2125 (patch)
tree6a8ccbd0a4d6b3a94de7a56689c7a0988ddd7497 /audio/gqmpeg-devel
parentpisock.3 --> pisock.4 in LIB_DEPENDS. (diff)
use WANO_GNOME hook to unbreak non-gnome case.
Notes
Notes: svn path=/head/; revision=47218
Diffstat (limited to 'audio/gqmpeg-devel')
-rw-r--r--audio/gqmpeg-devel/Makefile9
-rw-r--r--audio/gqmpeg-devel/pkg-plist4
2 files changed, 10 insertions, 3 deletions
diff --git a/audio/gqmpeg-devel/Makefile b/audio/gqmpeg-devel/Makefile
index fc32ba102e7f..edb8f7089f99 100644
--- a/audio/gqmpeg-devel/Makefile
+++ b/audio/gqmpeg-devel/Makefile
@@ -20,7 +20,14 @@ RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
USE_X_PREFIX= yes
USE_GTK= yes
USE_LIBTOOL= yes
+WANT_GNOME= yes
MAN1= gqmpeg.1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(HAVE_GNOME)
+USE_GNOME= yes
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/audio/gqmpeg-devel/pkg-plist b/audio/gqmpeg-devel/pkg-plist
index 6365c6a65701..c9fdd6bd53f9 100644
--- a/audio/gqmpeg-devel/pkg-plist
+++ b/audio/gqmpeg-devel/pkg-plist
@@ -1,7 +1,7 @@
bin/gqmpeg
bin/gqmpeg-shoutcast-plugin.sh
-share/gnome/apps/Multimedia/gqmpeg.desktop
-share/gnome/pixmaps/gqmpeg.png
+%%GNOME:%%%%DATADIR%%/apps/Multimedia/gqmpeg.desktop
+%%GNOME:%%%%DATADIR%%/pixmaps/gqmpeg.png
share/gqmpeg/skins/SKIN-SPECS
share/locale/cs/LC_MESSAGES/gqmpeg.mo
share/locale/de/LC_MESSAGES/gqmpeg.mo