diff options
author | sf <sf@FreeBSD.org> | 2001-08-31 20:41:25 +0800 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2001-08-31 20:41:25 +0800 |
commit | c42bdb8bf55e190c81d9daba667faa03faff7e2f (patch) | |
tree | da8ee50394a61e0e63fa571c0635a3e71c62cb37 /audio | |
parent | 16c485dc1fcd120d770803bcbb3aad00df6bae39 (diff) | |
download | freebsd-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/Makefile | 9 | ||||
-rw-r--r-- | audio/gqmpeg-devel/pkg-plist | 4 | ||||
-rw-r--r-- | audio/gqmpeg/Makefile | 9 | ||||
-rw-r--r-- | audio/gqmpeg/pkg-plist | 4 |
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 |