aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xfce4-mixer
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2003-10-19 14:13:49 +0800
committeroliver <oliver@FreeBSD.org>2003-10-19 14:13:49 +0800
commit78147431741f345cfb58969fceb4cd89f8107088 (patch)
treec92e47185979dcd4a19f67cea6690812346e08c8 /audio/xfce4-mixer
parent2bab7fe11b0420b1b59fcf965f9492fd7b56dd4a (diff)
downloadfreebsd-ports-gnome-78147431741f345cfb58969fceb4cd89f8107088.tar.gz
freebsd-ports-gnome-78147431741f345cfb58969fceb4cd89f8107088.tar.zst
freebsd-ports-gnome-78147431741f345cfb58969fceb4cd89f8107088.zip
- Get the translations installed (Make configure able to detect
gettext and add it to LIB_DEPENDS.). [1] - INSTALLS_SHLIB added to the Makefile (Only in case a library get installed by the port.) - remove NO_FILTER_SHLIB - Replaced GNU_CONFIGURE with USE_LIBTOOL if INSTALLS_SHLIB was set in the Makefile - bump PORTREVISION Noted By: Dinesh Nadarajah <dinesh_list@sbcglobal.net> [1]
Diffstat (limited to 'audio/xfce4-mixer')
-rw-r--r--audio/xfce4-mixer/Makefile10
-rw-r--r--audio/xfce4-mixer/pkg-plist13
2 files changed, 21 insertions, 2 deletions
diff --git a/audio/xfce4-mixer/Makefile b/audio/xfce4-mixer/Makefile
index 1f370e622ec5..3d6dd22fd29b 100644
--- a/audio/xfce4-mixer/Makefile
+++ b/audio/xfce4-mixer/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xfce4-mixer
PORTVERSION= 4.0.0
+PORTREVISION= 1
CATEGORIES= audio xfce
MASTER_SITES= http://www.xfce.org/archive/xfce-${PORTVERSION}/src/ \
http://linux.imp.mx/xfce4/xfce_${PORTVERSION}/src/
@@ -16,7 +17,8 @@ MAINTAINER= oliver@FreeBSD.org
COMMENT= XFce 4 volume mixer module for xfce4-panel
BUILD_DEPENDS= xfce4-panel:${PORTSDIR}/x11-wm/xfce4-panel
-LIB_DEPENDS= xfce4util.1:${PORTSDIR}/x11/libxfce4util \
+LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext \
+ xfce4util.1:${PORTSDIR}/x11/libxfce4util \
xfcegui4.1:${PORTSDIR}/x11-toolkits/libxfce4gui \
xml2.5:${PORTSDIR}/textproc/libxml2 \
startup-notification-1.0:${PORTSDIR}/x11/startup-notification
@@ -24,7 +26,11 @@ RUN_DEPENDS= xfce4-panel:${PORTSDIR}/x11-wm/xfce4-panel
USE_GNOME= gtk20
USE_X_PREFIX= yes
-GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+INSTALLS_SHLIB= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CFLAGS=-I${LOCALBASE}/include \
+ CPPFLAGS=-I${LOCALBASE}/include \
+ LIBS=-L${LOCALBASE}/lib
.include <bsd.port.mk>
diff --git a/audio/xfce4-mixer/pkg-plist b/audio/xfce4-mixer/pkg-plist
index 486ce45bb196..eac000ebd136 100644
--- a/audio/xfce4-mixer/pkg-plist
+++ b/audio/xfce4-mixer/pkg-plist
@@ -1,5 +1,18 @@
lib/xfce4/panel-plugins/libmixer.a
lib/xfce4/panel-plugins/libmixer.la
lib/xfce4/panel-plugins/libmixer.so
+share/locale/ca/LC_MESSAGES/xfce4-mixer.mo
+share/locale/de/LC_MESSAGES/xfce4-mixer.mo
+share/locale/fr/LC_MESSAGES/xfce4-mixer.mo
+share/locale/hu/LC_MESSAGES/xfce4-mixer.mo
+share/locale/it/LC_MESSAGES/xfce4-mixer.mo
+share/locale/lt/LC_MESSAGES/xfce4-mixer.mo
+share/locale/ms/LC_MESSAGES/xfce4-mixer.mo
+share/locale/nl/LC_MESSAGES/xfce4-mixer.mo
+share/locale/pt_PT/LC_MESSAGES/xfce4-mixer.mo
+share/locale/ru/LC_MESSAGES/xfce4-mixer.mo
+share/locale/tr/LC_MESSAGES/xfce4-mixer.mo
+share/locale/zh_CN/LC_MESSAGES/xfce4-mixer.mo
+share/locale/zh_TW/LC_MESSAGES/xfce4-mixer.mo
@unexec rmdir %D/lib/xfce4/panel-plugins 2>/dev/null || true
@unexec rmdir %D/lib/xfce4 2>/dev/null || true