aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2012-06-28 03:52:13 +0800
committerjohans <johans@FreeBSD.org>2012-06-28 03:52:13 +0800
commit65aec6f1482cdbbcff15593ddd76dbc8010a8525 (patch)
tree00379e637907602d3fa097ccab787fbd98953ef4 /print
parent07eda3852bc78d11f86e85e0ee88cefbc606f615 (diff)
downloadfreebsd-ports-graphics-65aec6f1482cdbbcff15593ddd76dbc8010a8525.tar.gz
freebsd-ports-graphics-65aec6f1482cdbbcff15593ddd76dbc8010a8525.tar.zst
freebsd-ports-graphics-65aec6f1482cdbbcff15593ddd76dbc8010a8525.zip
Convert to new options framework
Diffstat (limited to 'print')
-rw-r--r--print/texinfo/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/print/texinfo/Makefile b/print/texinfo/Makefile
index f9703dffad2..4f0cb94ca14 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>