svn commit: r340602 - head/deskutils/xchm
Ruslan Makhmatkhanov
rm at FreeBSD.org
Tue Jan 21 12:06:04 UTC 2014
Author: rm
Date: Tue Jan 21 12:06:04 2014
New Revision: 340602
URL: http://svnweb.freebsd.org/changeset/ports/340602
QAT: https://qat.redports.org/buildarchive/r340602/
Log:
- use options helpers, add NLS to available options list
- add stage support
Modified:
head/deskutils/xchm/Makefile
Modified: head/deskutils/xchm/Makefile
==============================================================================
--- head/deskutils/xchm/Makefile Tue Jan 21 11:52:07 2014 (r340601)
+++ head/deskutils/xchm/Makefile Tue Jan 21 12:06:04 2014 (r340602)
@@ -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>
More information about the svn-ports-all
mailing list