aboutsummaryrefslogtreecommitdiff
path: root/sysutils/xfce4-systemload-plugin
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-07-05 14:11:32 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-07-05 14:11:32 +0000
commitcb2ff72c8b4b3ad1572c0b790f016878eb35b510 (patch)
treea3c8923fdab2cc584a3513d9a7e90702edbd83c4 /sysutils/xfce4-systemload-plugin
parent40121cc1fca13ada46de3db7c4367d15ab8288b7 (diff)
downloadports-cb2ff72c8b4b3ad1572c0b790f016878eb35b510.tar.gz
ports-cb2ff72c8b4b3ad1572c0b790f016878eb35b510.zip
- USES=libtool tar:bzip2
- Add INSTALL_TARGET=install-strip - Use option helpers
Notes
Notes: svn path=/head/; revision=360742
Diffstat (limited to 'sysutils/xfce4-systemload-plugin')
-rw-r--r--sysutils/xfce4-systemload-plugin/Makefile23
-rw-r--r--sysutils/xfce4-systemload-plugin/pkg-plist1
2 files changed, 8 insertions, 16 deletions
diff --git a/sysutils/xfce4-systemload-plugin/Makefile b/sysutils/xfce4-systemload-plugin/Makefile
index df695b6d4280..5b3000417ca9 100644
--- a/sysutils/xfce4-systemload-plugin/Makefile
+++ b/sysutils/xfce4-systemload-plugin/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xfce4-systemload-plugin
PORTVERSION= 1.1.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils xfce
MASTER_SITES= ${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR= src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
@@ -17,23 +17,16 @@ LICENSE= BSD
LIB_DEPENDS= libupower-glib.so:${PORTSDIR}/sysutils/upower
GNU_CONFIGURE= yes
-USE_BZIP2= yes
+INSTALL_TARGET= install-strip
+USES= gmake libtool pkgconfig tar:bzip2
USE_GNOME= gtk20 intltool intlhack
USE_XFCE= configenv libmenu libutil panel
-USES= pkgconfig gmake
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
+OPTIONS_DEFAULT=NLS
+OPTIONS_SUB= yes
+
+NLS_CONFIGURE_ENABLE= nls
+NLS_USES= gettext
.include <bsd.port.mk>
diff --git a/sysutils/xfce4-systemload-plugin/pkg-plist b/sysutils/xfce4-systemload-plugin/pkg-plist
index d15466020a62..40036f049d08 100644
--- a/sysutils/xfce4-systemload-plugin/pkg-plist
+++ b/sysutils/xfce4-systemload-plugin/pkg-plist
@@ -1,4 +1,3 @@
-lib/xfce4/panel/plugins/libsystemload.la
lib/xfce4/panel/plugins/libsystemload.so
%%NLS%%share/locale/ar/LC_MESSAGES/xfce4-systemload-plugin.mo
%%NLS%%share/locale/ast/LC_MESSAGES/xfce4-systemload-plugin.mo