diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-08-21 16:00:10 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-08-21 16:00:10 +0000 |
commit | 467b62000c7f633d86c4770e354cbe4aa6049429 (patch) | |
tree | bf0fb1d3c60153b035325c341764623e34e79cd0 /textproc/catdoc | |
parent | 5ea3b828508c809777d544236978886812b463e4 (diff) |
Notes
Diffstat (limited to 'textproc/catdoc')
-rw-r--r-- | textproc/catdoc/Makefile | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/textproc/catdoc/Makefile b/textproc/catdoc/Makefile index 109ed41708d4..12a7116d2355 100644 --- a/textproc/catdoc/Makefile +++ b/textproc/catdoc/Makefile @@ -25,20 +25,15 @@ OPTIONS_SUB= yes WORDVIEW_DESC= Build Tcl/Tk document viewer +WORDVIEW_USES= tk +WORDVIEW_CONFIGURE_ON= --with-wish=${WISH} +WORDVIEW_CONFIGURE_OFF= --disable-wordview + .if !defined(LANG) || ${LANG} != ru_RU.KOI8-R # Remove the below line to get Cyrillic code page support instead CFLAGS+= -DLATIN1=1 .endif -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MWORDVIEW} -USES+= tk -CONFIGURE_ARGS+= --with-wish=${WISH} -.else -CONFIGURE_ARGS+= --disable-wordview -.endif - post-patch: @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/doc/catdoc.1.in |