aboutsummaryrefslogtreecommitdiff
path: root/comms/efax-gtk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/efax-gtk/Makefile')
-rw-r--r--comms/efax-gtk/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/comms/efax-gtk/Makefile b/comms/efax-gtk/Makefile
index c129e3258b78..03ce0e2ff9b8 100644
--- a/comms/efax-gtk/Makefile
+++ b/comms/efax-gtk/Makefile
@@ -32,15 +32,13 @@ LDFLAGS+= -L${LOCALBASE}/lib -pthread -lintl
CONFIGURE_ARGS+=--with-gtk-version=gtk2
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
+
+NLS_CONFIGURE_OFF= --disable-nls
+NLS_USES= gettext
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
+.include <bsd.port.options.mk>
post-install:
@${ECHO}