summaryrefslogtreecommitdiffstats
path: root/x11/xfce4-terminal/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xfce4-terminal/Makefile')
-rw-r--r--x11/xfce4-terminal/Makefile22
1 files changed, 8 insertions, 14 deletions
diff --git a/x11/xfce4-terminal/Makefile b/x11/xfce4-terminal/Makefile
index 965166c..9c0cdc7 100644
--- a/x11/xfce4-terminal/Makefile
+++ b/x11/xfce4-terminal/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xfce4-terminal
PORTVERSION= 0.6.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11 xfce
MASTER_SITES= ${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR= src/apps/${PORTNAME}/${PORTVERSION:R}
@@ -19,24 +19,18 @@ LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
GNU_CONFIGURE= yes
USE_GNOME= gtk20 glib20 intltool intlhack vte libxml2
-USE_XFCE= configenv libmenu
+USE_XFCE= libmenu
USE_XORG= x11
-USES= pkgconfig gmake tar:bzip2
+USES= pkgconfig gmake gettext-tools xfce tar:bzip2
CONFIGURE_ARGS= --without-gnome-default-appsdir
OPTIONS_DEFINE= NLS
+NLS_CONFIGURE_ENABLE= nls
+NLS_USES= gettext-runtime
+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
+.include <bsd.port.pre.mk>
post-patch:
.if ! ${PORT_OPTIONS:MNLS}
@@ -44,4 +38,4 @@ post-patch:
s|po \\|terminal|' ${WRKSRC}/Makefile.in
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud