aboutsummaryrefslogtreecommitdiffstats
path: root/audio
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
parent16c485dc1fcd120d770803bcbb3aad00df6bae39 (diff)
downloadfreebsd-ports-graphics-c42bdb8bf55e190c81d9daba667faa03faff7e2f.tar.gz
freebsd-ports-graphics-c42bdb8bf55e190c81d9daba667faa03faff7e2f.tar.zst
freebsd-ports-graphics-c42bdb8bf55e190c81d9daba667faa03faff7e2f.zip
use WANO_GNOME hook to unbreak non-gnome case.
Diffstat (limited to 'audio')
-rw-r--r--audio/gqmpeg-devel/Makefile9
-rw-r--r--audio/gqmpeg-devel/pkg-plist4
-rw-r--r--audio/gqmpeg/Makefile9
-rw-r--r--audio/gqmpeg/pkg-plist4
4 files changed, 20 insertions, 6 deletions
diff --git a/audio/gqmpeg-devel/Makefile b/audio/gqmpeg-devel/Makefile
index fc32ba102e7..edb8f7089f9 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 6365c6a6570..c9fdd6bd53f 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
diff --git a/audio/gqmpeg/Makefile b/audio/gqmpeg/Makefile
index fc32ba102e7..edb8f7089f9 100644
--- a/audio/gqmpeg/Makefile
+++ b/audio/gqmpeg/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/pkg-plist b/audio/gqmpeg/pkg-plist
index 6365c6a6570..c9fdd6bd53f 100644
--- a/audio/gqmpeg/pkg-plist
+++ b/audio/gqmpeg/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