summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2012-06-07 22:44:21 +0000
committerPawel Pekala <pawel@FreeBSD.org>2012-06-07 22:44:21 +0000
commit2fa62596744270745d9d0540f5bbd839f6b78d23 (patch)
treeb7e5a1ec8ce92178c23aff878c9671b8c96b7b89 /comms
parent- Convert to new options framework. (diff)
Convert my ports to optionsNG
Notes
Notes: svn path=/head/; revision=298711
Diffstat (limited to 'comms')
-rw-r--r--comms/efax-gtk/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/comms/efax-gtk/Makefile b/comms/efax-gtk/Makefile
index 543d80d800e1..35921ca97a34 100644
--- a/comms/efax-gtk/Makefile
+++ b/comms/efax-gtk/Makefile
@@ -38,12 +38,14 @@ LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lintl
CONFIGURE_ARGS+=--with-gtk-version=gtk2
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.else
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
.endif
post-install: