aboutsummaryrefslogtreecommitdiff
path: root/x11/xfce4-embed-plugin
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 /x11/xfce4-embed-plugin
parent507a1eba6aabfd52efceabca5986a46398cfa02f (diff)
downloadports-86e4cb7cb047c17951de23b2ebea9c14d0f76af2.tar.gz
ports-86e4cb7cb047c17951de23b2ebea9c14d0f76af2.zip
Notes
Diffstat (limited to 'x11/xfce4-embed-plugin')
-rw-r--r--x11/xfce4-embed-plugin/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/x11/xfce4-embed-plugin/Makefile b/x11/xfce4-embed-plugin/Makefile
index 4b748fe7ff1f..400d2a799397 100644
--- a/x11/xfce4-embed-plugin/Makefile
+++ b/x11/xfce4-embed-plugin/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xfce4-embed-plugin
PORTVERSION= 1.4.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11 xfce
MASTER_SITES= ${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR= src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
@@ -16,23 +16,20 @@ LICENSE= GPLv2
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
-USES= gmake libtool pkgconfig tar:bzip2
+USES= gmake libtool pkgconfig gettext-tools xfce tar:bzip2
USE_XORG= x11
USE_GNOME= glib20 gtk20 intltool intlhack
-USE_XFCE= configenv libmenu libutil panel
+USE_XFCE= panel
OPTIONS_DEFINE= NLS
+NLS_USES= gettext-runtime
+NLS_CONFIGURE_ENABLE= nls
+OPTIONS_SUB= yes
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-CONFIGURE_ARGS+=--enable-nls
-PLIST_SUB+= NLS=""
-.else
+.if !${PORT_OPTIONS:MNLS}
EXTRA_PATCHES= ${FILESDIR}/extra-patch-configure
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
.endif
.include <bsd.port.mk>