svn commit: r314779 - head/textproc/catdoc

Jason Helfman jgh at FreeBSD.org
Thu Mar 21 00:01:45 UTC 2013


Author: jgh
Date: Thu Mar 21 00:01:44 2013
New Revision: 314779
URL: http://svnweb.freebsd.org/changeset/ports/314779

Log:
  - adopt optionsNG
  - trim historical header
  
  Approved by:	portmgr (miwi)

Modified:
  head/textproc/catdoc/Makefile

Modified: head/textproc/catdoc/Makefile
==============================================================================
--- head/textproc/catdoc/Makefile	Wed Mar 20 23:56:59 2013	(r314778)
+++ head/textproc/catdoc/Makefile	Thu Mar 21 00:01:44 2013	(r314779)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	catdoc
-# Date created:				11 November 1997
-# Whom:					Brion Moss <brion at queeg.com>
-#
+# Created by: Brion Moss <brion at 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}


More information about the svn-ports-head mailing list