diff options
Diffstat (limited to 'sysutils/xfce4-battery-plugin/Makefile')
-rw-r--r-- | sysutils/xfce4-battery-plugin/Makefile | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/sysutils/xfce4-battery-plugin/Makefile b/sysutils/xfce4-battery-plugin/Makefile index 077e68015f49..7495872ba0ec 100644 --- a/sysutils/xfce4-battery-plugin/Makefile +++ b/sysutils/xfce4-battery-plugin/Makefile @@ -3,7 +3,7 @@ PORTNAME= xfce4-battery-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} @@ -20,22 +20,14 @@ SSP_UNSAFE= yes GNU_CONFIGURE= yes INSTALLS_ICONS= yes INSTALL_TARGET= install-strip -USES= alias gmake libtool pkgconfig tar:bzip2 +USES= alias gmake libtool pkgconfig gettext-tools xfce tar:bzip2 USE_GNOME= gtk20 glib20 intltool intlhack -USE_XFCE= configenv libmenu libutil 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> |