aboutsummaryrefslogtreecommitdiff
path: root/x11/terminator
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-05-01 16:13:45 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-05-01 16:13:45 +0000
commitb2aa13a92865516b92b02fd7e4e525286962c5da (patch)
treea52b3e5e36c4436205a5718d25629f949f39af77 /x11/terminator
parent6789dd6575a7dc3d7b58569b79477186441e24bf (diff)
downloadports-b2aa13a92865516b92b02fd7e4e525286962c5da.tar.gz
ports-b2aa13a92865516b92b02fd7e4e525286962c5da.zip
- conversion to USES framework
Approved by: portmgr (bapt@)
Notes
Notes: svn path=/head/; revision=317031
Diffstat (limited to 'x11/terminator')
-rw-r--r--x11/terminator/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/x11/terminator/Makefile b/x11/terminator/Makefile
index 717c1d1bd02c..9610d8bfcb61 100644
--- a/x11/terminator/Makefile
+++ b/x11/terminator/Makefile
@@ -29,17 +29,20 @@ INSTALLS_ICONS= yes
WANT_GNOME= yes
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-PYSETUP+= --without-icon-cache
-.if empty(PORT_OPTIONS:MNLS)
+.if ${PORT_OPTIONS:MNLS}
+USES+= gettext
+PLIST_SUB+= NLS=""
+.else
PLIST_SUB+= NLS="@comment "
PYSETUP+= --without-gettext
-.else
-USE_GETTEXT= yes
-PLIST_SUB+= NLS=""
.endif
+.include <bsd.port.pre.mk>
+
+PYSETUP+= --without-icon-cache
+
.if ${PORT_OPTIONS:MGCONF}
USE_GNOME+= pygnome2
.endif