aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-03-21 00:01:44 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-03-21 00:01:44 +0000
commit537caf4c778909034691c08421336c67cc017edd (patch)
tree8667b7104918d54ade66a5a3dfb5e927d22961a2 /textproc
parent6fa84802bb5d2568890462320dacad1eb089b4a2 (diff)
downloadports-537caf4c778909034691c08421336c67cc017edd.tar.gz
ports-537caf4c778909034691c08421336c67cc017edd.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/catdoc/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/textproc/catdoc/Makefile b/textproc/catdoc/Makefile
index 0adcb45c6a0f..22ca7e571f3f 100644
--- a/textproc/catdoc/Makefile
+++ b/textproc/catdoc/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: catdoc
-# Date created: 11 November 1997
-# Whom: Brion Moss <brion@queeg.com>
-#
+# Created by: Brion Moss <brion@queeg.com>
# $FreeBSD$
-#
PORTNAME= catdoc
PORTVERSION= 0.94.2
@@ -21,7 +17,9 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
MAN1= catdoc.1 xls2csv.1 catppt.1
-OPTIONS= WORDVIEW "Build Tcl/Tk document viewer" On
+OPTIONS_DEFINE= WORDVIEW
+WORDVIEW_DESC= Build Tcl/Tk document viewer
+OPTIONS_DEFAULT= WORDVIEW
.if !defined(LANG) || ${LANG} != ru_RU.KOI8-R
# Remove the below line to get Cyrillic code page support instead
@@ -32,8 +30,9 @@ post-patch:
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/doc/catdoc.1.in
.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_WORDVIEW)
+.if ${PORT_OPTIONS:MWORDVIEW}
USE_TK= 83+
.include "${PORTSDIR}/Mk/bsd.tcl.mk"
CONFIGURE_ARGS+= --with-wish=${WISH}