diff options
author | johans <johans@FreeBSD.org> | 2012-06-28 03:52:13 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2012-06-28 03:52:13 +0800 |
commit | 65aec6f1482cdbbcff15593ddd76dbc8010a8525 (patch) | |
tree | 00379e637907602d3fa097ccab787fbd98953ef4 /print | |
parent | 07eda3852bc78d11f86e85e0ee88cefbc606f615 (diff) | |
download | freebsd-ports-gnome-65aec6f1482cdbbcff15593ddd76dbc8010a8525.tar.gz freebsd-ports-gnome-65aec6f1482cdbbcff15593ddd76dbc8010a8525.tar.zst freebsd-ports-gnome-65aec6f1482cdbbcff15593ddd76dbc8010a8525.zip |
Convert to new options framework
Diffstat (limited to 'print')
-rw-r--r-- | print/texinfo/Makefile | 12 |
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> |