svn commit: r360742 - head/sysutils/xfce4-systemload-plugin

Tijl Coosemans tijl at FreeBSD.org
Sat Jul 5 14:11:33 UTC 2014


Author: tijl
Date: Sat Jul  5 14:11:32 2014
New Revision: 360742
URL: http://svnweb.freebsd.org/changeset/ports/360742
QAT: https://qat.redports.org/buildarchive/r360742/

Log:
  - USES=libtool tar:bzip2
  - Add INSTALL_TARGET=install-strip
  - Use option helpers

Modified:
  head/sysutils/xfce4-systemload-plugin/Makefile
  head/sysutils/xfce4-systemload-plugin/pkg-plist

Modified: head/sysutils/xfce4-systemload-plugin/Makefile
==============================================================================
--- head/sysutils/xfce4-systemload-plugin/Makefile	Sat Jul  5 14:09:49 2014	(r360741)
+++ head/sysutils/xfce4-systemload-plugin/Makefile	Sat Jul  5 14:11:32 2014	(r360742)
@@ -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
+OPTIONS_DEFAULT=NLS
+OPTIONS_SUB=	yes
 
-.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_CONFIGURE_ENABLE=	nls
+NLS_USES=	gettext
 
 .include <bsd.port.mk>

Modified: head/sysutils/xfce4-systemload-plugin/pkg-plist
==============================================================================
--- head/sysutils/xfce4-systemload-plugin/pkg-plist	Sat Jul  5 14:09:49 2014	(r360741)
+++ head/sysutils/xfce4-systemload-plugin/pkg-plist	Sat Jul  5 14:11:32 2014	(r360742)
@@ -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


More information about the svn-ports-all mailing list