aboutsummaryrefslogtreecommitdiff
path: root/print/texinfo
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2012-06-27 19:52:13 +0000
committerJohan van Selst <johans@FreeBSD.org>2012-06-27 19:52:13 +0000
commita61925225764f1ab64e31639eae169eb529c7758 (patch)
tree75a63eed7f902250d8003350b2b37ac8f92bb384 /print/texinfo
parent35a670c59f3774b34f29abb0e1be9a8ef51a3994 (diff)
downloadports-a61925225764f1ab64e31639eae169eb529c7758.tar.gz
ports-a61925225764f1ab64e31639eae169eb529c7758.zip
Convert to new options framework
Notes
Notes: svn path=/head/; revision=300111
Diffstat (limited to 'print/texinfo')
-rw-r--r--print/texinfo/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/print/texinfo/Makefile b/print/texinfo/Makefile
index f9703dffad23..4f0cb94ca145 100644
--- a/print/texinfo/Makefile
+++ b/print/texinfo/Makefile
@@ -40,14 +40,14 @@ MAN5= info.5 texinfo.5
TEXMF= share/texmf
PLIST_SUB= TEXMF=${TEXMF}
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= NLS="@comment "
-.else
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
.endif
post-patch:
@@ -59,4 +59,4 @@ post-install:
@${SETENV} PKG_PREFIX=${PREFIX} LOCALBASE=${LOCALBASE} ${SH} \
${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>