aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2015-03-06 07:31:11 +0800
committerantoine <antoine@FreeBSD.org>2015-03-06 07:31:11 +0800
commitf5ba39cb1c32b3a08112ee51297f497d6a281919 (patch)
treec611b3ae82764f8cdf9990f7efc4b58ac7f92911 /sysutils
parent4bb12572ca77e6542493780705972ededbd5202a (diff)
downloadfreebsd-ports-gnome-f5ba39cb1c32b3a08112ee51297f497d6a281919.tar.gz
freebsd-ports-gnome-f5ba39cb1c32b3a08112ee51297f497d6a281919.tar.zst
freebsd-ports-gnome-f5ba39cb1c32b3a08112ee51297f497d6a281919.zip
Commit another part of PR 198132 that was missed
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/xfce4-cpugraph-plugin/Makefile21
1 files changed, 6 insertions, 15 deletions
diff --git a/sysutils/xfce4-cpugraph-plugin/Makefile b/sysutils/xfce4-cpugraph-plugin/Makefile
index 668d26dd225d..a05b2d3b6dc4 100644
--- a/sysutils/xfce4-cpugraph-plugin/Makefile
+++ b/sysutils/xfce4-cpugraph-plugin/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xfce4-cpugraph-plugin
PORTVERSION= 1.0.5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= sysutils xfce
MASTER_SITES= ${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR= src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
@@ -17,22 +17,13 @@ LICENSE= GPLv2
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
INSTALL_TARGET= install-strip
-USES= gmake libtool pkgconfig tar:bzip2
+USES= gmake libtool pkgconfig gettext-tools xfce tar:bzip2
USE_GNOME= gtk20 intltool intlhack
-USE_XFCE= configenv libmenu panel
+USE_XFCE= panel
OPTIONS_DEFINE= NLS
-OPTIONS_DEFAULT= NLS
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-CONFIGURE_ARGS+=--enable-nls
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
+NLS_USES= gettext-runtime
+NLS_CONFIGURE_ENABLE= nls
+OPTIONS_SUB= yes
.include <bsd.port.mk>