aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/gnome-commander2
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-06 06:41:15 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-06 06:41:15 +0000
commit83b78f74bc2950ee008c02c566afb23f13d607c6 (patch)
tree57e0d36f5252dfbcbd76ce8c591f83f1cd36486a /x11-fm/gnome-commander2
parent7cdc62b981ecfcc26a72eb00e704f0180853de99 (diff)
downloadports-83b78f74bc2950ee008c02c566afb23f13d607c6.tar.gz
ports-83b78f74bc2950ee008c02c566afb23f13d607c6.zip
Notes
Diffstat (limited to 'x11-fm/gnome-commander2')
-rw-r--r--x11-fm/gnome-commander2/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/x11-fm/gnome-commander2/Makefile b/x11-fm/gnome-commander2/Makefile
index 2556775cc420..d7fb663d776b 100644
--- a/x11-fm/gnome-commander2/Makefile
+++ b/x11-fm/gnome-commander2/Makefile
@@ -37,12 +37,14 @@ MAN1= gnome-commander.1
pre-configure:
cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTORECONF} -W none
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.else
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
.endif
.include <bsd.port.mk>