Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2013 04:30:31 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r315192 - in head/misc: astrolog bb callid cmatrix crosspad dotfile dtach dvorakng explosions gctpc geekcode gnome-osd iselect kcd linm mtail pdfmap quotes rname salias tcb telbook term...
Message-ID:  <201303250430.r2P4UVcF062205@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Mon Mar 25 04:30:31 2013
New Revision: 315192
URL: http://svnweb.freebsd.org/changeset/ports/315192

Log:
  Cleanup unmaintained ports in the misc category:
  	- Trim Header
  	- Convert to OptionsNG
  	- Prefer DISTNAME to DISTFILES
  	- Reorder variables
  	- Fix comments (don't include leading article)
  	- @unexec rm must not cause failure
  	- Tabs, not spaces
  	- Single space for WWW
  	- Pet portlint
  	- etc.
  
  In a few cases the option DOCS was used to control installation into EXAMPLEDIR.
  I opted to keep the existing logic of the port in these cases.
  
  Reviewed by:	koobs, ashish

Modified:
  head/misc/astrolog/Makefile
  head/misc/bb/Makefile
  head/misc/callid/Makefile
  head/misc/cmatrix/Makefile
  head/misc/crosspad/Makefile
  head/misc/dotfile/Makefile
  head/misc/dtach/Makefile
  head/misc/dvorakng/Makefile
  head/misc/explosions/Makefile
  head/misc/gctpc/Makefile
  head/misc/geekcode/Makefile
  head/misc/gnome-osd/Makefile
  head/misc/iselect/Makefile
  head/misc/kcd/Makefile
  head/misc/linm/Makefile
  head/misc/mtail/Makefile
  head/misc/pdfmap/Makefile
  head/misc/quotes/Makefile
  head/misc/rname/Makefile
  head/misc/salias/Makefile
  head/misc/tcb/Makefile
  head/misc/telbook/Makefile
  head/misc/termatrix/Makefile
  head/misc/terraform/Makefile
  head/misc/tet/Makefile
  head/misc/tkman/Makefile
  head/misc/upclient/Makefile
  head/misc/wmScoreBoard/Makefile
  head/misc/wmpal/Makefile
  head/misc/xpns/Makefile

Modified: head/misc/astrolog/Makefile
==============================================================================
--- head/misc/astrolog/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/astrolog/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,10 +1,5 @@
-# New ports collection makefile for:    astrolog
-#
-# Date created:         31 July 1995
-# Whom:                 faulkner@cactus.org
-#
+# Created by: faulkner@cactus.org
 # $FreeBSD$
-#
 
 PORTNAME=	astrolog
 PORTVERSION=	5.41g
@@ -13,11 +8,11 @@ CATEGORIES=	misc astro
 MASTER_SITES=	ftp://ftp.astro.com/pub/swisseph/ephe/archive_gzip/:ephe \
 		ftp://ftp.astro.com/pub/swisseph/:libswe \
 		http://astrolog.offline.ee/astrolog/changed/:dist
-DISTFILES=      a541gsrc.tar.gz:dist ${EPHE} \
+DISTFILES=	a541gsrc.tar.gz:dist ${EPHE} \
 		swe_unix_src_1.78.00.tar.gz:libswe
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	An astrology program for X11 and alpha-numeric terminals
+COMMENT=	Astrology program for X11 and alpha-numeric terminals
 
 # Swiss Ephemeris GPLv2 licensed, see
 # http://www.astro.com/ftp/swisseph/LICENSE.TXT
@@ -44,6 +39,8 @@ NO_WRKSUBDIR=	yes
 
 DOCS=		helpfile.540 readme.541 changes.txt
 
+.include <bsd.port.options.mk>
+
 post-extract:
 	${RM} ${WRKDIR}/swe[a-z]*
 
@@ -57,7 +54,7 @@ do-install:
 			${INSTALL_DATA} astrolog.dat ${PREFIX}/lib/astrolog; \
 		fi
 	cd ${WRKSRC} && ${INSTALL_PROGRAM} astrolog ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for doc in ${DOCS}
 	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}

Modified: head/misc/bb/Makefile
==============================================================================
--- head/misc/bb/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/bb/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	bb
-# Date created:				22 June 1998
-# Whom:					Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
 # $FreeBSD$
-#
 
 PORTNAME=	bb
 PORTVERSION=	1.3.r1
@@ -25,12 +21,14 @@ PORTDOCS=	README
 PLIST_FILES=	bin/bb share/bb/bb.s3m share/bb/bb2.s3m share/bb/bb3.s3m
 PLIST_DIRS=	share/bb
 
+.include <bsd.port.options.mk>
+
 pre-patch:
 	@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -E -e "s@#include +<malloc.h>@#include <stdlib.h>@g" \
 		-e 's, REGISTERS \(3\),,g'
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	@${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
 .endif

Modified: head/misc/callid/Makefile
==============================================================================
--- head/misc/callid/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/callid/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:   callid
-# Date created:        19 February 2004
-# Whom:                M. Possamai
-#
+# Created by: M. Possamai
 # $FreeBSD$
-#
 
 PORTNAME=	callid
 PORTVERSION=	1.2
@@ -25,6 +21,8 @@ PORTDOCS=	CHANGES README TODO make-db.my
 
 RUN_DEPENDS+=	p5-DBI>=0:${PORTSDIR}/databases/p5-DBI
 
+.include <bsd.port.options.mk>
+
 pre-everything::
 	@${ECHO} ""
 	@${ECHO} "You have to configure PHP with MYSQL support."
@@ -40,7 +38,7 @@ do-install:
 	@${MKDIR} ${PREFIX}/www/callid/images
 	@${INSTALL_DATA} ${WRKSRC}/src/images/*.jpg ${PREFIX}/www/callid/images
 	@${INSTALL_DATA} -m 550 ${WRKSRC}/sbin/call-logd ${PREFIX}/sbin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for f in ${PORTDOCS}
 	@${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}

Modified: head/misc/cmatrix/Makefile
==============================================================================
--- head/misc/cmatrix/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/cmatrix/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	cmatrix
-# Date created:				1 May 1999
-# Whom:					Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
 # $FreeBSD$
-#
 
 PORTNAME=	cmatrix
 PORTVERSION=	1.2a
@@ -21,10 +17,12 @@ GNU_CONFIGURE=	yes
 PORTDOCS=	ChangeLog README TODO
 PLIST_FILES=	bin/cmatrix
 
+.include <bsd.port.options.mk>
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/cmatrix ${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/cmatrix.1 ${PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for f in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}

Modified: head/misc/crosspad/Makefile
==============================================================================
--- head/misc/crosspad/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/crosspad/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	crosspad
-# Date created:		23 September 1998
-# Whom:			itojun@itojun.org
-#
+# Created by: itojun@itojun.org
 # $FreeBSD$
-#
 
 PORTNAME=	crosspad
 PORTVERSION=	19991202
@@ -21,8 +17,10 @@ MAN1=	crosspad2ps.1 crosspad2eps.1 cross
 
 DOCS=	PROTOCOL README.english README.japanese
 
+.include <bsd.port.options.mk>
+
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${PREFIX}/share/doc/crosspad
 	for i in $(DOCS); do \
 		${INSTALL_DATA} ${WRKSRC}/../$$i ${PREFIX}/share/doc/crosspad; \

Modified: head/misc/dotfile/Makefile
==============================================================================
--- head/misc/dotfile/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/dotfile/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: dotfile
-# Date created:      11/12/96
-# Whom:              oly@world.std.com
-#
+# Created by: oly@world.std.com
 # $FreeBSD$
-#
 
 PORTNAME=	dotfile
 PORTVERSION=	2.4.1
@@ -12,7 +8,7 @@ CATEGORIES=	misc tk
 MASTER_SITES=	http://www.blackie.dk/dotfile/download/
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A GUI dotfile generator program to create .config files
+COMMENT=	GUI dotfile generator program to create .config files
 
 BUILD_DEPENDS=	formail:${PORTSDIR}/mail/procmail
 
@@ -49,7 +45,7 @@ do-install:
 	cd ${WRKSRC} && ${SETENV} LC_ALL=C ${MAKE} install
 
 post-install:
-.ifndef(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}/dotfile
 	@${MKDIR} ${DOCSDIR}/procmail
 	@${MKDIR} ${DOCSDIR}/tcsh

Modified: head/misc/dtach/Makefile
==============================================================================
--- head/misc/dtach/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/dtach/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	dtach
-# Date created:		21 Jun 2004
-# Whom:			Bjorn Lindstrom <bkhl@elektrubadur.se>
-#
+# Created by: Bjorn Lindstrom <bkhl@elektrubadur.se>
 # $FreeBSD$
-#
 
 PORTNAME=		dtach
 PORTVERSION=		0.8
@@ -21,11 +17,13 @@ MAN1=		dtach.1
 PORTDOCS=	README
 PLIST_FILES=	bin/${PORTNAME}
 
+.include <bsd.port.options.mk>
+
 do-install:
 	@${INSTALL_PROGRAM} ${WRKSRC}/dtach ${PREFIX}/bin/
 	@${INSTALL_MAN} ${WRKSRC}/dtach.1 ${MAN1PREFIX}/man/man1/
 
-.ifndef NOPORTDOCS
+.if ${PORT_OPTIONS:MDOCS}
 	@${INSTALL} -d ${DOCSDIR}/
 	@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
 .endif

Modified: head/misc/dvorakng/Makefile
==============================================================================
--- head/misc/dvorakng/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/dvorakng/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,10 +1,5 @@
-# ex:ts=8
-# Ports collection makefile for:	dvorakNG
-# Date created:			Mar 26, 2003
-# Whom:				ijliao
-#
+# Created by: ijliao
 # $FreeBSD$
-#
 
 PORTNAME=	dvorakng
 PORTVERSION=	0.5.0
@@ -13,7 +8,7 @@ CATEGORIES=	misc
 MASTER_SITES=	http://www.free.of.pl/n/nopik/
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A Dvorak typing tutor
+COMMENT=	Dvorak typing tutor
 
 USE_BZIP2=	yes
 
@@ -21,14 +16,16 @@ WRKSRC=		${WRKDIR}/${PORTNAME}
 MAKE_ARGS=	CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS} ${CPPFLAGS}" \
 		CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 
+.include <bsd.port.options.mk>
+
 PLIST_FILES=	bin/dvorakng
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 PORTDOCS=	README TODO
 .endif
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/dvorakng ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
 .endif

Modified: head/misc/explosions/Makefile
==============================================================================
--- head/misc/explosions/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/explosions/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	explosions
-# Date created:				8 August 2001
-# Whom:					Pete Fritchman <petef@databits.net>
-#
+# Created by: Pete Fritchman <petef@databits.net>
 # $FreeBSD$
-#
 
 PORTNAME=	explosions
 PORTVERSION=	0.2005.07.31
@@ -19,6 +15,8 @@ USE_SDL=	sdl image
 USE_GMAKE=	yes
 USE_PERL5_BUILD=yes
 
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${PERL} -pi -e 's!CFLAGS=-Wall -O2!CFLAGS+=-Wall!; \
 		s!sdl-config!${SDL_CONFIG}!' \
@@ -30,7 +28,8 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/explosions ${PREFIX}/bin
 	@${MKDIR} ${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/spark?.png ${DATADIR}
-.if !defined(NOPORTDOCS)
+
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for file in BUGS.txt CHANGES.txt README.txt
 	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}

Modified: head/misc/gctpc/Makefile
==============================================================================
--- head/misc/gctpc/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/gctpc/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	gctpc
-# Date created:				26 Apr 2001
-# Whom:					Randall Hopper <aa8vb@nc.rr.com>
-#
+# Created by: Randall Hopper <aa8vb@nc.rr.com>
 # $FreeBSD$
-#
 
 PORTNAME=	gctpc
 PORTVERSION=	1.3
@@ -14,10 +10,12 @@ DISTNAME=	gctpc
 EXTRACT_SUFX=	.tar.Z
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	An USGS General Cartographic Transformation Package (GCTP)
+COMMENT=	USGS General Cartographic Transformation Package (GCTP)
 
 WRKSRC=		${WRKDIR}/${PORTNAME}/source
 
+.include <bsd.port.options.mk>
+
 USE_GMAKE=	yes
 ALL_TARGET=	libgctpc.so.1
 
@@ -30,7 +28,7 @@ do-install:
 	${MKDIR} ${PREFIX}/include/gctpc
 	${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/gctpc
 	${INSTALL_DATA} ${FILESDIR}/*.h ${PREFIX}/include/gctpc
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_MAN} ${WRKSRC}/../doc/* ${DOCSDIR}
 	${INSTALL_MAN} ${WRKSRC}/../README ${DOCSDIR}/README.main

Modified: head/misc/geekcode/Makefile
==============================================================================
--- head/misc/geekcode/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/geekcode/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	geekcode generator
-# Date created:		30 Aug 1999
-# Whom:			Chris Piazza <cpiazza@FreeBSD.org>
-#
+# Created by: Chris Piazza <cpiazza@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	geekcode
 PORTVERSION=	1.7.3
@@ -11,16 +7,18 @@ CATEGORIES=	misc
 MASTER_SITES=	SF
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A Geek Code Generator
+COMMENT=	Geek Code Generator
 
 MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"
 
 PLIST_FILES=	bin/geekcode
 PORTDOCS=	geekcode.txt
 
+.include <bsd.port.options.mk>
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/geekcode ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/geekcode.txt ${DOCSDIR}
 .endif

Modified: head/misc/gnome-osd/Makefile
==============================================================================
--- head/misc/gnome-osd/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/gnome-osd/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	gnome-osd
-# Date created:			21 Aug 2004
-# Whom:				Jean-Yves Lefort <jylefort@brutele.be>
-#
+# Created by: Jean-Yves Lefort <jylefort@brutele.be>
 # $FreeBSD$
-#
 
 PORTNAME=	gnome-osd
 PORTVERSION=	0.20.0
@@ -13,7 +9,7 @@ MASTER_SITES=	http://launchpadlibrarian.
 DISTNAME=	${PORTNAME}_${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	An On-Screen-Display infrastructure using Pango text rendering
+COMMENT=	On-Screen-Display infrastructure using Pango text rendering
 
 USE_GNOME=	gnomehack gnomeprefix intlhack pygnome2
 USE_PYTHON=	yes
@@ -27,8 +23,10 @@ MAN1=		gnome-osd-client.1
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
+.include <bsd.port.options.mk>
+
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for file in AUTHORS NEWS README
 	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}

Modified: head/misc/iselect/Makefile
==============================================================================
--- head/misc/iselect/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/iselect/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	iselect
-# Date created:		03-Jan-1998
-# Whom:			Ralf S. Engelschall <rse@engelschall.com>
-#
+# Created by: Ralf S. Engelschall <rse@engelschall.com>
 # $FreeBSD$
-#
 
 PORTNAME=	iselect
 PORTVERSION=	1.4.0
@@ -14,11 +10,16 @@ MASTER_SITE_SUBDIR=	tool/iselect
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Interactive Selection Tool
 
+OPTIONS_DEFINE=	SLANG
+SLANG_DESC=	Link with slang
+
 GNU_CONFIGURE=	yes
 
 MAN1=		iselect.1
 
-.if defined(WITH_SLANG)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MSLANG}
 LIB_DEPENDS+=	slang.2:${PORTSDIR}/devel/libslang2
 CONFIGURE_ARGS+=	--with-incdir=${LOCALBASE}/include \
 			--with-libdir=${LOCALBASE}/lib
@@ -30,7 +31,7 @@ post-patch:
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/iselect ${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/iselect.1 ${MANPREFIX}/man/man1
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${EXAMPLESDIR}
 	cd ${WRKSRC}/example && ${FIND} . | \
 		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}

Modified: head/misc/kcd/Makefile
==============================================================================
--- head/misc/kcd/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/kcd/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	kcd
-# Date created:				5 May 1999
-# Whom:					Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
 # $FreeBSD$
-#
 
 PORTNAME=	kcd
 PORTVERSION=	7.15.0
@@ -25,6 +21,8 @@ LDFLAGS+=	-L${LOCALBASE}/lib -lintl
 
 MAN1=		kcd.1
 
+.include <bsd.port.options.mk>
+
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/kcd-inst ${PREFIX}/bin
 	${INSTALL_SCRIPT} ${WRKSRC}/kcdscr ${PREFIX}/bin
@@ -35,7 +33,7 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/po/${i}.gmo \
 		${PREFIX}/share/locale/${i}/LC_MESSAGES/kcd.mo
 .endfor
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
 	@${MKDIR} ${EXAMPLESDIR}

Modified: head/misc/linm/Makefile
==============================================================================
--- head/misc/linm/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/linm/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	linm
-# Date created:		24 Jan 2005
-# Whom:			cjh@FreeBSD.org
-#
+# Created by: cjh@FreeBSD.org
 # $FreeBSD$
-#
 
 PORTNAME=	linm
 PORTVERSION=	${LINM_VER}.1
@@ -34,17 +30,19 @@ USE_GETTEXT=	yes
 PLIST_SUB+=	NLS=""
 #.endif
 
-CONFIGURE_ARGS+= --enable-cfgpath="${PREFIX}/etc/linm" --enable-kolocalepath="${PREFIX}/share/locale/ko/LC_MESSAGES"
+CONFIGURE_ARGS+=	--enable-cfgpath="${PREFIX}/etc/linm" --enable-kolocalepath="${PREFIX}/share/locale/ko/LC_MESSAGES"
 
 LINM_VER=	0.7.7
 WRKSRC=		${WRKDIR}/linm-${LINM_VER}
 
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|Panel::SetCur|SetCur|' ${WRKSRC}/panel/common/panel.h
 	@${REINPLACE_CMD} -e 's|Position::Show|Show|' ${WRKSRC}/src/ncurses/dialog.h
 
 post-install:
-.if !defined (NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${PREFIX}/share/doc/linm
 .for file in AUTHORS COPYING ChangeLog README README.ko_euckr README.ko_utf8
 	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}

Modified: head/misc/mtail/Makefile
==============================================================================
--- head/misc/mtail/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/mtail/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	mtail
-# Date created:		9 August 2007
-# Whom:			Andrew Pantyukhin <infofarmer@FreeBSD.org>
-#
+# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	mtail
 PORTVERSION=	1.1.1
@@ -20,16 +16,18 @@ PLIST_FILES=	bin/${PORTNAME}
 PORTDOCS=	CHANGES LICENSE README
 PORTEXAMPLES=	mtailrc
 
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${REINPLACE_CMD} -e '1s|/.*|${PYTHON_CMD}|' ${WRKSRC}/${PORTNAME}
 
 do-install:
 	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
-.ifndef NOPORTDOCS
+.if ${PORT_OPTIONS:MDOCS}
 	@${INSTALL} -d ${DOCSDIR}/
 	@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
 .endif
-.ifndef NOPORTEXAMPLES
+.if ${PORT_OPTIONS:MEXAMPLES}
 	@${INSTALL} -d ${EXAMPLESDIR}/
 	@${INSTALL_DATA} ${WRKSRC}/mtailrc.sample ${EXAMPLESDIR}/mtailrc
 .endif

Modified: head/misc/pdfmap/Makefile
==============================================================================
--- head/misc/pdfmap/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/pdfmap/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,10 +1,5 @@
-# ex:ts=8
-# Ports collection makefile for:	pdfmap
-# Date created:			Mar 24, 2002
-# Whom:				ijliao
-#
+# Created by: ijliao
 # $FreeBSD$
-#
 
 PORTNAME=	pdfmap
 PORTVERSION=	2.00
@@ -25,11 +20,13 @@ USE_PYDISTUTILS=	yes
 
 DOCS=		CREDITS NEWS README TODO doc/*.html
 
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
 PORTDOCS=	*
 .endif
 
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 post-install:
 	@${MKDIR} ${DOCSDIR}
 	@cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}

Modified: head/misc/quotes/Makefile
==============================================================================
--- head/misc/quotes/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/quotes/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	quotes
-# Date created:         9 February 1999
-# Whom:                 Dima Sivachenko
-#
+# Created by: Dima Sivachenko
 # $FreeBSD$
-#
 
 PORTNAME=	quotes
 DISTVERSION=	1.7-2
@@ -19,6 +15,8 @@ COMMENT=	Quote, currency, and Slashdot h
 NO_BUILD=	yes
 USE_PERL5=	yes
 
+.include <bsd.port.options.mk>
+
 post-patch:
 	@ ${PERL} -pi -e "s:/usr/bin/perl:${PERL}:g" ${WRKSRC}/quotes
 	@ ${PERL} -pi -e "s:/usr/local/lib/Quotes:${PREFIX}/etc:g" ${WRKSRC}/quotes
@@ -30,11 +28,11 @@ do-install:
 	@ ${INSTALL_SCRIPT} ${WRKSRC}/quotes ${PREFIX}/bin
 	@ ${INSTALL_SCRIPT} ${WRKSRC}/quotesmailer ${PREFIX}/bin
 	@ ${INSTALL_DATA} ${WRKSRC}/sample.quotesrc ${PREFIX}/etc/quotesrc.sample
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@ ${MKDIR} ${DOCSDIR}
 	@ ${INSTALL_DATA} ${WRKSRC}/quotes.txt ${DOCSDIR}
 .endif
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
 	@ ${MKDIR} ${EXAMPLESDIR}
 	@ ${INSTALL_DATA} ${WRKSRC}/QuExample.pm ${EXAMPLESDIR}
 .endif

Modified: head/misc/rname/Makefile
==============================================================================
--- head/misc/rname/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/rname/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	rname
-# Date created:		26 October 2000
-# Whom:			roam@FreeBSD.org
-#
+# Created by: roam@FreeBSD.org
 # $FreeBSD$
-#
 
 PORTNAME=	rname
 PORTVERSION=	1.0
@@ -17,7 +13,9 @@ COMMENT=	Execute a program with a fake n
 WRKSRC=		${WRKDIR}/${PORTNAME}
 USE_GMAKE=	yes
 
-.if 		!defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
 INSTALL_TARGET=	install install-doc
 .endif
 

Modified: head/misc/salias/Makefile
==============================================================================
--- head/misc/salias/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/salias/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,10 +1,5 @@
-# ex:ts=8
-# New ports collection makefile for:	salias
-# Date created:			May 16, 2001
-# Whom:				ijliao
-#
+# Created by: ijliao
 # $FreeBSD$
-#
 
 PORTNAME=	salias
 PORTVERSION=	0.3.1
@@ -13,7 +8,7 @@ CATEGORIES=	misc
 MASTER_SITES=	SF/${PORTNAME}/C%20${PORTNAME}/${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A command-line tool to alias arguments of other programs
+COMMENT=	CLI tool to alias arguments of other programs
 
 USE_BZIP2=	yes
 USE_GNOME=	glib20
@@ -23,7 +18,9 @@ GNU_CONFIGURE=	yes
 MAN1=		salias.1
 DOCS=		NEWS README
 
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
 post-install:
 	@${MKDIR} ${DOCSDIR}
 	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}

Modified: head/misc/tcb/Makefile
==============================================================================
--- head/misc/tcb/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/tcb/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	tcb
-# Date created:				1 December 1998
-# Whom:					Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
 # $FreeBSD$
-#
 
 PORTNAME=		tcb
 PORTVERSION=		1.4a
@@ -19,13 +15,15 @@ USE_GMAKE=		yes
 
 MAN1=			tcb.1
 
+.include <bsd.port.options.mk>
+
 do-install:
 	@ ${INSTALL_PROGRAM} ${WRKSRC}/src/tcb ${PREFIX}/bin
 	@ ${MKDIR} ${PREFIX}/share/tcb
 	@ ${INSTALL_DATA} ${WRKSRC}/tcbrc ${PREFIX}/share/tcb
 	@ ${INSTALL_DATA} ${WRKSRC}/doc/HELP ${PREFIX}/share/tcb
 	@ ${INSTALL_MAN} ${WRKSRC}/doc/tcb.1 ${PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@ ${MKDIR} ${PREFIX}/share/doc/tcb
 	@ ${INSTALL_DATA} ${WRKSRC}/doc/CHANGES ${PREFIX}/share/doc/tcb
 	@ ${INSTALL_DATA} ${WRKSRC}/doc/COPYING ${PREFIX}/share/doc/tcb

Modified: head/misc/telbook/Makefile
==============================================================================
--- head/misc/telbook/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/telbook/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,7 +1,4 @@
-# New ports collection makefile for:	telbook
-# Date created:				19 May 2003
-# Whom:					Kirill Ponomarew <ponomarew@oberon.net>
-#
+# Created by: Kirill Ponomarew <ponomarew@oberon.net>
 # $FreeBSD$
 
 PORTNAME=	telbook
@@ -21,9 +18,11 @@ USE_BZIP2=	yes
 PORTDOCS=	README
 PLIST_FILES=	bin/telbook
 
+.include <bsd.port.options.mk>
+
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/telbook ${PREFIX}/bin
-.ifndef (NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
 .endif

Modified: head/misc/termatrix/Makefile
==============================================================================
--- head/misc/termatrix/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/termatrix/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,9 +1,5 @@
-# Ports collection makefile for:  termatrix
-# Date created:                   2007/07/30
-# Whom:                           chinsan
-#
+# Created by: chinsan
 # $FreeBSD$
-#
 
 PORTNAME=	termatrix
 PORTVERSION=	0.2
@@ -17,13 +13,15 @@ COMMENT=	Emulates Matrix terminal's "gre
 PLIST_FILES=	bin/termatrix
 PORTDOCS=	README
 
+.include <bsd.port.options.mk>
+
 do-build:
 	${CC} ${CFLAGS} ${CPPFLAGS} -o ${WRKSRC}/termatrix \
 		${WRKSRC}/termatrix.c ${LDFLAGS}
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/termatrix ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif

Modified: head/misc/terraform/Makefile
==============================================================================
--- head/misc/terraform/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/terraform/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,15 +1,10 @@
-# ex:ts=8
-# Ports collection makefile for:	terraform
-# Date created:			Feb 8, 2003
-# Whom:				ijliao
-#
+# Created by: ijliao
 # $FreeBSD$
-#
 
 PORTNAME=	terraform
 PORTVERSION=	0.9.5
-PORTREVISION=	1
 DISTVERSIONPREFIX=	src-
+PORTREVISION=	1
 CATEGORIES=	misc gnome
 MASTER_SITES=	GOOGLE_CODE
 EXTRACT_SUFX=	.tgz
@@ -34,6 +29,8 @@ MAKE_JOBS_SAFE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${REINPLACE_CMD} -e '/^SUBDIRS/s| desktop-links docs | |' \
 		 ${WRKSRC}/Makefile.in
@@ -48,7 +45,7 @@ post-install:
 	@${MKDIR} ${PREFIX}/share/pixmaps
 	${INSTALL_DATA} ${WRKSRC}/desktop-links/terraform.png \
 		${PREFIX}/share/pixmaps
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for file in FAQ.sgml README.sgml UsersGuide.sgml i18n.txt
 	${INSTALL_DATA} ${WRKSRC}/docs/${file} ${DOCSDIR}

Modified: head/misc/tet/Makefile
==============================================================================
--- head/misc/tet/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/tet/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: tet
-# Date created:		02 Oct 1998
-# Whom:			jkoshy
-#
+# Created by: jkoshy
 # $FreeBSD$
-#
 
 PORTNAME=		tet
 PORTVERSION=		3.7
@@ -18,7 +14,7 @@ DIST_SUBDIR=		tet/${PORTVERSION}
 EXTRACT_ONLY=		${PORTNAME}${PORTVERSION}-unsup.src.tgz
 
 MAINTAINER=		ports@FreeBSD.org
-COMMENT=		An test execution framework from the Open Group
+COMMENT=		Test execution framework from the Open Group
 
 NO_PACKAGE=		$${TET_ROOT} needs to be set at compile time.
 HAS_CONFIGURE=		yes
@@ -27,7 +23,9 @@ PLIST=			${WRKDIR}/PLIST
 
 TET_CONFIG_TARGET?=	inet	# options are `lite', `xti' and `inet'
 
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
 TET_DOCS=		37_all_pdf.zip
 DISTFILES+=		${TET_DOCS}:docs
 BUILD_DEPENDS+=		unzip:${PORTSDIR}/archivers/unzip
@@ -66,7 +64,7 @@ do-build:
 .endif
 	cd ${TET_ROOT}/src && ${MAKE} ${ALL_TARGET}
 	cd ${TET_ROOT}/src && ${MAKE} ${INSTALL_TARGET}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${TET_ROOT}/doc
 	${UNZIP_CMD} -d ${TET_ROOT}/doc ${DISTDIR}/${DIST_SUBDIR}/${TET_DOCS}
 .endif

Modified: head/misc/tkman/Makefile
==============================================================================
--- head/misc/tkman/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/tkman/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	tkman
-# Date created:         27 Dec 1994
-# Whom:                 Thomas Gellekum <tg@FreeBSD.org>
-#
+# Created by: Thomas Gellekum <tg@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	tkman
 PORTVERSION=	2.2
@@ -12,7 +8,7 @@ CATEGORIES=	misc tk
 MASTER_SITES=	SF
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A Tcl/Tk based manual browser
+COMMENT=	Tcl/Tk based manual browser
 
 RUN_DEPENDS=	glimpse:${PORTSDIR}/textproc/glimpse \
 		rman:${PORTSDIR}/textproc/rman
@@ -28,6 +24,8 @@ MAKE_ARGS=	WISH="${WISH}" \
 		manformat="{groff -Tlatin1 -te -mandoc}" \
 		manprint="{groff -mandoc -Tps -te -l}"
 
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/local/bin/wish|${WISH}|' \
 		${WRKSRC}/contrib/tkmanclient
@@ -37,7 +35,7 @@ do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/retkman ${PREFIX}/bin
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/manual.html ${DOCSDIR}
 .endif

Modified: head/misc/upclient/Makefile
==============================================================================
--- head/misc/upclient/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/upclient/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	upclient
-# Date created:		20 Aug 1999
-# Whom:			Kelly Yancey <kbyanc@posi.net>
-#
+# Created by: Kelly Yancey <kbyanc@posi.net>
 # $FreeBSD$
-#
 
 PORTNAME=	upclient
 PORTVERSION=	5.0.b8
@@ -76,7 +72,7 @@ install-conf:
 .endif
 
 install-doc:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for file in ${DOC_FILES}
 	@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}

Modified: head/misc/wmScoreBoard/Makefile
==============================================================================
--- head/misc/wmScoreBoard/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/wmScoreBoard/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	wmScoreBoard
-# Date created:				Sun Jun 24 17:08:15 EDT 2001
-# Whom:					Patrick Li <pat@databits.net>
-#
+# Created by: Patrick Li <pat@databits.net>
 # $FreeBSD$
-#
 
 PORTNAME=	wmScoreBoard
 PORTVERSION=	0.30
@@ -21,8 +17,10 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVER
 USE_GMAKE=	yes
 USE_XORG=	xpm
 
+.include <bsd.port.options.mk>
+
 post-install:
-.ifndef(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for docs in BUGS CHANGES HINTS README
 	@${INSTALL_DATA} ${WRKSRC}/../${docs} ${DOCSDIR}

Modified: head/misc/wmpal/Makefile
==============================================================================
--- head/misc/wmpal/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/wmpal/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	wmpal
-# Date created:				20 April 2001
-# Whom:					Maxim Sobolev <sobomax@FreeBSD.org>
-#
+# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	wmpal
 PORTVERSION=	0.6.1
@@ -11,7 +7,7 @@ CATEGORIES=	misc windowmaker
 MASTER_SITES=	SF
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A one of the most useless dockapps in the world
+COMMENT=	One of the most useless dockapps in the world
 
 USE_XORG=	xpm
 GNU_CONFIGURE=	yes
@@ -21,11 +17,13 @@ LDFLAGS+=	-L${LOCALBASE}/lib
 PORTDOCS=	README
 PLIST_FILES=	bin/wmpal
 
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|"dino"|"daemon"|g' ${WRKSRC}/wmpal.c
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
 .endif

Modified: head/misc/xpns/Makefile
==============================================================================
--- head/misc/xpns/Makefile	Mon Mar 25 03:18:19 2013	(r315191)
+++ head/misc/xpns/Makefile	Mon Mar 25 04:30:31 2013	(r315192)
@@ -1,16 +1,13 @@
-# New ports collection makefile for:	xpns
-# Date created:         6 Apr 97
-# Whom:                 Pedro Giffuni
-#
+# Created by: Pedro Giffuni
 # $FreeBSD$
-#
 
 PORTNAME=	xpns
 PORTVERSION=	1.0
 PORTREVISION=	3
 CATEGORIES=	misc cad
 MASTER_SITES=	http://robotics.ee.uwa.edu.au/pns/ftp/
-DISTFILES=	pns_source.tar.Z
+DISTNAME=	pns_source.tar
+EXTRACT_SUFX=	.Z
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Petri-Net Simulator for Xwindows
@@ -20,6 +17,8 @@ USE_XORG=	x11 xaw
 MAKEFILE=	makefile
 ALL_TARGET=	pns
 
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xpns
 
@@ -30,7 +29,7 @@ do-install:
 	${MKDIR} ${PREFIX}/share/xpns
 	${INSTALL_DATA} ${WRKSRC}/pns.hlp ${PREFIX}/share/xpns
 	${INSTALL_DATA} ${WRKSRC}/pns.shell ${PREFIX}/share/xpns
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${PREFIX}/share/doc/xpns
 	${INSTALL_DATA} ${WRKSRC}/*.net ${PREFIX}/share/doc/xpns
 .endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303250430.r2P4UVcF062205>