aboutsummaryrefslogtreecommitdiff
path: root/print/texinfo
diff options
context:
space:
mode:
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>