aboutsummaryrefslogtreecommitdiff
path: root/audio/xfce4-mixer
diff options
context:
space:
mode:
authorOlivier Duchateau <olivierd@FreeBSD.org>2015-03-05 22:52:30 +0000
committerOlivier Duchateau <olivierd@FreeBSD.org>2015-03-05 22:52:30 +0000
commit86e4cb7cb047c17951de23b2ebea9c14d0f76af2 (patch)
tree0f1a4d58acfbb6944387e341f218a018154dc4ad /audio/xfce4-mixer
parent507a1eba6aabfd52efceabca5986a46398cfa02f (diff)
downloadports-86e4cb7cb047c17951de23b2ebea9c14d0f76af2.tar.gz
ports-86e4cb7cb047c17951de23b2ebea9c14d0f76af2.zip
Notes
Diffstat (limited to 'audio/xfce4-mixer')
-rw-r--r--audio/xfce4-mixer/Makefile30
1 files changed, 8 insertions, 22 deletions
diff --git a/audio/xfce4-mixer/Makefile b/audio/xfce4-mixer/Makefile
index a8cc6388d549..abf2ebbca8f6 100644
--- a/audio/xfce4-mixer/Makefile
+++ b/audio/xfce4-mixer/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xfce4-mixer
PORTVERSION= 4.11.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio xfce
MASTER_SITES= ${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR= src/apps/${PORTNAME}/${PORTVERSION:R}
@@ -19,34 +19,20 @@ LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
-USES= gmake libtool pkgconfig tar:bzip2
+USES= gmake libtool pkgconfig gettext-tools xfce tar:bzip2
USE_GNOME= glib20 gtk20 intltool intlhack
-USE_XFCE= configenv libmenu libutil panel xfconf
+USE_XFCE= panel
USE_GSTREAMER= good
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= KEYBIND NLS
-
KEYBIND_DESC= Multimedia keyboard shortcuts
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MKEYBIND}
-LIB_DEPENDS+= libkeybinder.so:${PORTSDIR}/x11/keybinder
-CONFIGURE_ARGS+=--enable-keybinder
-.else
-CONFIGURE_ARGS+=--disable-keybinder
-.endif
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-CONFIGURE_ARGS+=--enable-nls
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
+KEYBIND_LIB_DEPENDS= libkeybinder.so:${PORTSDIR}/x11/keybinder
+KEYBIND_CONFIGURE_ENABLE= keybinder
+NLS_USES= gettext-runtime
+NLS_CONFIGURE_ENABLE= nls
+OPTIONS_SUB= yes
post-patch:
@${FIND} ${WRKSRC} -name 'Makefile.in' -or -name 'xfce-mixer-track.c' \