summaryrefslogtreecommitdiffstats
path: root/x11/xfce4-embed-plugin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xfce4-embed-plugin/Makefile')
-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 4b748fe..400d2a7 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>
OpenPOWER on IntegriCloud