aboutsummaryrefslogtreecommitdiff
path: root/deskutils/xchm
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2014-01-21 12:06:04 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2014-01-21 12:06:04 +0000
commit06ea3ad7523c74d1d94b4dbe255595c3fd347d3c (patch)
tree1232f657ba1cae420795ed6f632488505d6e9946 /deskutils/xchm
parent323117a18d6c477908bca93e46dbc36c7962c320 (diff)
downloadports-06ea3ad7523c74d1d94b4dbe255595c3fd347d3c.tar.gz
ports-06ea3ad7523c74d1d94b4dbe255595c3fd347d3c.zip
Notes
Diffstat (limited to 'deskutils/xchm')
-rw-r--r--deskutils/xchm/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/deskutils/xchm/Makefile b/deskutils/xchm/Makefile
index c5c3912a0465..5e335bcd6af1 100644
--- a/deskutils/xchm/Makefile
+++ b/deskutils/xchm/Makefile
@@ -13,6 +13,10 @@ LICENSE= GPLv2
LIB_DEPENDS= libchm.so:${PORTSDIR}/misc/chmlib
+OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
+NLS_USES= gettext
+
GNU_CONFIGURE= yes
USE_WX= 2.6+
WX_UNICODE= yes
@@ -20,15 +24,4 @@ WX_CONF_ARGS= absolute
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CPPFLAGS+= -I${LOCALBASE}/include
-NO_STAGE= yes
-.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>