aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gqmpeg-devel
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2001-08-31 20:41:25 +0800
committersf <sf@FreeBSD.org>2001-08-31 20:41:25 +0800
commitc42bdb8bf55e190c81d9daba667faa03faff7e2f (patch)
treeda8ee50394a61e0e63fa571c0635a3e71c62cb37 /audio/gqmpeg-devel
parent16c485dc1fcd120d770803bcbb3aad00df6bae39 (diff)
downloadfreebsd-ports-gnome-c42bdb8bf55e190c81d9daba667faa03faff7e2f.tar.gz
freebsd-ports-gnome-c42bdb8bf55e190c81d9daba667faa03faff7e2f.tar.zst
freebsd-ports-gnome-c42bdb8bf55e190c81d9daba667faa03faff7e2f.zip
use WANO_GNOME hook to unbreak non-gnome case.
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