aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2015-03-05 23:31:11 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2015-03-05 23:31:11 +0000
commita184dac0e697dd7195cdecc2f3e0620a317b9aee (patch)
treec611b3ae82764f8cdf9990f7efc4b58ac7f92911 /sysutils
parent3f58690a6f8fa7543ba0619e851477e71ede1bd8 (diff)
downloadports-a184dac0e697dd7195cdecc2f3e0620a317b9aee.tar.gz
ports-a184dac0e697dd7195cdecc2f3e0620a317b9aee.zip
Notes
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>