aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/gxmms
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-03-11 04:03:03 +0800
committerbdrewery <bdrewery@FreeBSD.org>2013-03-11 04:03:03 +0800
commit283a10ff7581dbc3394c085b25a2195edcb2de64 (patch)
tree003e6db4f7fb7cf5ceb9c99bb2339ead20849953 /multimedia/gxmms
parent45fab60cb108794414a3ab9c2680da0bff0010cb (diff)
downloadfreebsd-ports-gnome-283a10ff7581dbc3394c085b25a2195edcb2de64.tar.gz
freebsd-ports-gnome-283a10ff7581dbc3394c085b25a2195edcb2de64.tar.zst
freebsd-ports-gnome-283a10ff7581dbc3394c085b25a2195edcb2de64.zip
- Fix and enable BMP option
PR: ports/176814 Submitted by: Chris Petrik <c.petrik.sosa@gmail.com> (maintainer)
Diffstat (limited to 'multimedia/gxmms')
-rw-r--r--multimedia/gxmms/Makefile6
-rw-r--r--multimedia/gxmms/pkg-plist48
2 files changed, 37 insertions, 17 deletions
diff --git a/multimedia/gxmms/Makefile b/multimedia/gxmms/Makefile
index b99a6c790536..22b5aff170f2 100644
--- a/multimedia/gxmms/Makefile
+++ b/multimedia/gxmms/Makefile
@@ -19,7 +19,7 @@ CPPFLAGS+= -I${LOCALBASE}/include `pkg-config --cflags libgnomeui-2.0`
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_SINGLE= FRONTEND
-OPTIONS_SINGLE_FRONTEND= XMMS # BMP
+OPTIONS_SINGLE_FRONTEND= XMMS BMP
OPTIONS_DEFAULT= XMMS
XMMS_DESC= Use xmms as frontend
@@ -31,16 +31,20 @@ BMP_DESC= Use BMP as frontend
CONFIGURE_ARGS+= --with-xmms
BUILD_DEPENDS+= xmms:${PORTSDIR}/multimedia/xmms
RUN_DEPENDS+= xmms:${PORTSDIR}/multimedia/xmms
+PLIST_SUB+= XMMS=""
.else
CONFIGURE_ARGS+=--disable-xmms
+PLIST_SUB+= XMMS="@comment "
.endif
.if ${PORT_OPTIONS:MBMP}
CONFIGURE_ARGS+=--with-bmp
BUILD_DEPENDS+= beep-media-player:${PORTSDIR}/multimedia/beep-media-player
RUN_DEPENDS+= beep-media-player:${PORTSDIR}/multimedia/beep-media-player
+PLIST_SUB+= BMP=""
.else
CONFIGURE_ARGS+=--disable-bmp
+PLIST_SUB+= BMP="@comment "
.endif
.include <bsd.port.mk>
diff --git a/multimedia/gxmms/pkg-plist b/multimedia/gxmms/pkg-plist
index 76f8c75046fc..3f7770359e9c 100644
--- a/multimedia/gxmms/pkg-plist
+++ b/multimedia/gxmms/pkg-plist
@@ -1,16 +1,32 @@
-libdata/bonobo/servers/GNOME_gxmmsApplet.server
-libexec/gxmms_applet
-share/gnome-2.0/ui/GNOME_gxmmsApplet.xml
-share/gxmms/gxmms.png
-share/gxmms/gxmms_eject.png
-share/gxmms/gxmms_next.png
-share/gxmms/gxmms_play_pause.png
-share/gxmms/gxmms_prev.png
-share/gxmms/gxmms_stop.png
-share/gxmms/gxmms_mini.png
-share/pixmaps/gxmms_mini.png
-share/pixmaps/gxmms.png
-share/locale/ca/LC_MESSAGES/gxmms.mo
-share/locale/es/LC_MESSAGES/gxmms.mo
-share/locale/fr/LC_MESSAGES/gxmms.mo
-@dirrm share/gxmms
+%%XMMS%%libdata/bonobo/servers/GNOME_gxmmsApplet.server
+%%XMMS%%libexec/gxmms_applet
+%%XMMS%%share/gnome-2.0/ui/GNOME_gxmmsApplet.xml
+%%XMMS%%share/gxmms/gxmms.png
+%%XMMS%%share/gxmms/gxmms_eject.png
+%%XMMS%%share/gxmms/gxmms_next.png
+%%XMMS%%share/gxmms/gxmms_play_pause.png
+%%XMMS%%share/gxmms/gxmms_prev.png
+%%XMMS%%share/gxmms/gxmms_stop.png
+%%XMMS%%share/gxmms/gxmms_mini.png
+%%XMMS%%share/pixmaps/gxmms_mini.png
+%%XMMS%%share/pixmaps/gxmms.png
+%%XMMS%%share/locale/ca/LC_MESSAGES/gxmms.mo
+%%XMMS%%share/locale/es/LC_MESSAGES/gxmms.mo
+%%XMMS%%share/locale/fr/LC_MESSAGES/gxmms.mo
+%%XMMS%%@dirrm share/gxmms
+%%BMP%%libdata/bonobo/servers/GNOME_gxmms_bmpApplet.server
+%%BMP%%libexec/gxmms_bmp_applet
+%%BMP%%share/gnome-2.0/ui/GNOME_gxmms_bmpApplet.xml
+%%BMP%%share/gxmms-bmp/gxmms_bmp.png
+%%BMP%%share/gxmms-bmp/gxmms_eject.png
+%%BMP%%share/gxmms-bmp/gxmms_next.png
+%%BMP%%share/gxmms-bmp/gxmms_play_pause.png
+%%BMP%%share/gxmms-bmp/gxmms_prev.png
+%%BMP%%share/gxmms-bmp/gxmms_stop.png
+%%BMP%%share/gxmms-bmp/gxmms_bmp_mini.png
+%%BMP%%share/pixmaps/gxmms_bmp_mini.png
+%%BMP%%share/pixmaps/gxmms_bmp.png
+%%BMP%%share/locale/ca/LC_MESSAGES/gxmms.mo
+%%BMP%%share/locale/es/LC_MESSAGES/gxmms.mo
+%%BMP%%share/locale/fr/LC_MESSAGES/gxmms.mo
+%%BMP%%@dirrm share/gxmms-bmp