aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2012-06-08 06:44:21 +0800
committerpawel <pawel@FreeBSD.org>2012-06-08 06:44:21 +0800
commit2a1ebc56ba5020d2bf92961dbe81972f5a54841d (patch)
tree973987c82bdc40f9b4f7cd63831224e568aba682 /comms
parent10b52a170f1d404abc5699061d2a3cf931eeb1e5 (diff)
downloadfreebsd-ports-gnome-2a1ebc56ba5020d2bf92961dbe81972f5a54841d.tar.gz
freebsd-ports-gnome-2a1ebc56ba5020d2bf92961dbe81972f5a54841d.tar.zst
freebsd-ports-gnome-2a1ebc56ba5020d2bf92961dbe81972f5a54841d.zip
Convert my ports to optionsNG
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: