Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 2014 23:11:34 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360680 - in head/www: anyremote2html bins cgihtml entrans flood formication goose grails jmeter jspacker mgstat mhonarc mod_auth_tkt myfaces netrik p5-Apache-Clean2 p5-Apache-Session-W...
Message-ID:  <201407042311.s64NBYfG043290@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Fri Jul  4 23:11:33 2014
New Revision: 360680
URL: http://svnweb.freebsd.org/changeset/ports/360680
QAT: https://qat.redports.org/buildarchive/r360680/

Log:
  Remove NOPORTDOCS and NOPORTEXAMPLES.

Modified:
  head/www/anyremote2html/Makefile
  head/www/bins/Makefile
  head/www/cgihtml/Makefile
  head/www/entrans/Makefile
  head/www/flood/Makefile
  head/www/formication/Makefile
  head/www/goose/Makefile
  head/www/goose/pkg-plist
  head/www/grails/Makefile
  head/www/jmeter/Makefile
  head/www/jspacker/Makefile
  head/www/mgstat/Makefile
  head/www/mhonarc/Makefile
  head/www/mod_auth_tkt/Makefile
  head/www/myfaces/Makefile
  head/www/netrik/Makefile
  head/www/p5-Apache-Clean2/Makefile
  head/www/p5-Apache-Session-Wrapper/Makefile
  head/www/p5-CGI-Ex/Makefile
  head/www/p5-CGI-Framework/Makefile
  head/www/p5-CGI-Minimal/Makefile
  head/www/p5-CGI-Untaint/Makefile
  head/www/p5-CGI-XMLApplication/Makefile
  head/www/p5-CGI-XMLApplication/pkg-plist
  head/www/p5-HTTP-Request-Params/Makefile
  head/www/p5-PHP-Session/Makefile
  head/www/p5-WWW-Mechanize/Makefile
  head/www/pebble/Makefile
  head/www/py-HTMLgen/Makefile
  head/www/py-albatross/Makefile
  head/www/py-pysearch/Makefile
  head/www/retawq/Makefile
  head/www/swish-e/Makefile
  head/www/tclwebtest/Makefile
  head/www/wsdlpull/Makefile

Modified: head/www/anyremote2html/Makefile
==============================================================================
--- head/www/anyremote2html/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/anyremote2html/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -16,10 +16,9 @@ USE_PYTHON_RUN=	yes
 
 PORTDOCS=	ChangeLog README COPYING AUTHORS
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' ${WRKSRC}/${PORTNAME}
-.if defined(NOPORTDOCS)
-	@${REINPLACE_CMD} -e '/doc\/${PORTNAME}/d' ${WRKSRC}/Makefile.in
-.endif
 
 .include <bsd.port.mk>

Modified: head/www/bins/Makefile
==============================================================================
--- head/www/bins/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/bins/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -37,6 +37,8 @@ DOC_EXTS=	html sgml xml
 
 MAN1=	bins-edit-gui.1 bins.1 bins_edit.1
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch::
 # perl PREFIX safeness
 	@${FIND} ${WRKSRC} -type f | \
@@ -52,14 +54,12 @@ do-install:
 
 post-install:
 .for file in ${BINS_SCRIPTS}
-	@${INSTALL_SCRIPT} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
 .endfor
-.ifndef(NOPORTDOCS)
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for ext in ${DOC_EXTS}
-	@${INSTALL_DATA} ${WRKSRC}/doc/*.${ext} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/*.${ext} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.pre.mk>
 
@@ -70,7 +70,7 @@ post-install:
 WITH_I18N=	yes
 
 post-patch::
-	@${REINPLACE_CMD} -e 's,read dummy,,' ${WRKSRC}/install.sh
+	${REINPLACE_CMD} -e 's,read dummy,,' ${WRKSRC}/install.sh
 .endif
 
 EXTRA_PATCHES+=	${FILESDIR}/extra-patch-install.sh

Modified: head/www/cgihtml/Makefile
==============================================================================
--- head/www/cgihtml/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/cgihtml/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -14,17 +14,17 @@ COMMENT=	Library that simplifies the tas
 
 USE_LDCONFIG=	yes
 
+OPTIONS_DEFINE=	DOCS
+
 post-extract:
-	@${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.dist
-	@${CP} ${FILESDIR}/Makefile ${WRKSRC}
+	${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.dist
+	${CP} ${FILESDIR}/Makefile ${WRKSRC}
 
 post-install:
-.if !defined(NOPORTDOCS)
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
 .for file in CHANGES CREDITS
 	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
 	${INSTALL_DATA} ${WRKSRC}/docs/*.html ${STAGEDIR}${DOCSDIR}/html
-.endif
 
 .include <bsd.port.mk>

Modified: head/www/entrans/Makefile
==============================================================================
--- head/www/entrans/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/entrans/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -20,6 +20,8 @@ PLIST=		${WRKDIR}/pkg-plist
 
 PORTDOCS=	README INSTALL COPYING AUTHORS HACKING THANKS
 
+OPTIONS_DEFINE=	DOCS
+
 pre-install:
 	cd ${WRKSRC} && ${FIND} -s * -type f | \
 		${SED} -e 's|^|${ENTRANS}/|' > ${PLIST} \
@@ -34,12 +36,10 @@ do-install:
 	@${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${ENTRANS}
 	@${CHMOD} 755 ${STAGEDIR}${PREFIX}/${ENTRANS}
 	${CP} -R ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${ENTRANS}
-.if !defined(NOPORTDOCS)
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/${i}
 .endfor
-.endif
 
 post-install:
 	@${CAT} ${PKGMESSAGE}

Modified: head/www/flood/Makefile
==============================================================================
--- head/www/flood/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/flood/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -27,6 +27,8 @@ EX_DATA=	flood.dtd relative-averages-tim
 		round-robin-relative-reports.xml round-robin-ssl.xml \
 		round-robin-timed.xml round-robin.xml
 
+OPTIONS_DEFINE=	DOCS
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/flood ${STAGEDIR}${PREFIX}/bin/flood
 
@@ -38,11 +40,9 @@ post-install:
 .for f in ${EX_DATA}
 	@${INSTALL_DATA} ${WRKSRC}/examples/$f ${STAGEDIR}${EXAMPLESDIR}
 .endfor
-.if !defined(NOPORTDOCS)
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}/docbook
 	@${INSTALL_DATA} ${WRKSRC}/docs/README ${STAGEDIR}${DOCSDIR}
 	@${INSTALL_DATA} ${WRKSRC}/docs/docbook/[Mf]* ${STAGEDIR}${DOCSDIR}/docbook
-.endif
 
 ANONCVS=	cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic
 

Modified: head/www/formication/Makefile
==============================================================================
--- head/www/formication/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/formication/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -21,6 +21,8 @@ PORTDOCS=	BLURB COPYING feedback.fcn fee
 PLIST_FILES=	www/cgi-bin/formication.pl
 SUB_FILES+=	pkg-message
 
+OPTIONS_DEFINE=	DOCS
+
 .include <bsd.port.pre.mk>
 
 PLIST_DIRSTRY=	www/cgi-bin
@@ -33,12 +35,10 @@ post-patch:
 do-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/www/cgi-bin
 	@${INSTALL_DATA} ${WRKSRC}/formication.pl ${STAGEDIR}${PREFIX}/www/cgi-bin
-.if !defined(NOPORTDOCS)
 	${MKDIR} ${STAGEDIR}${DOCSDIR}/
 .	for i in ${PORTDOCS}
 	  @${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
 .	endfor
-.endif
 
 post-install:
 	@${CAT} ${PKGMESSAGE}

Modified: head/www/goose/Makefile
==============================================================================
--- head/www/goose/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/goose/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -22,24 +22,24 @@ USES=		perl5
 WRKSRC=		${WRKDIR}/${PORTNAME}
 POD2MAN?=	pod2man
 
+OPTIONS_DEFINE=	EXAMPLES
+
 post-patch:
-	@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
+	${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
 		-e "s|%%DATADIR%%|${DATADIR}|g" \
 		-e "s|%%EXAMPLESDIR%%|${EXAMPLESDIR}|g" \
 		-e "s|/usr/local/bin/url_handler.sh|${LOCALBASE}/urlview|" \
 		${WRKSRC}/goose
 
 do-build:
-	@cd ${WRKSRC} && ${POD2MAN} goose > goose.1
+	cd ${WRKSRC} && ${POD2MAN} goose > goose.1
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/goose ${STAGEDIR}${PREFIX}/bin
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/GoogleSearch.wsdl ${STAGEDIR}${DATADIR}
 	${INSTALL_MAN} ${WRKSRC}/goose.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/goose.conf.example ${STAGEDIR}${EXAMPLESDIR}
-.endif
 
 .include <bsd.port.mk>

Modified: head/www/goose/pkg-plist
==============================================================================
--- head/www/goose/pkg-plist	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/goose/pkg-plist	Fri Jul  4 23:11:33 2014	(r360680)
@@ -1,6 +1,6 @@
 bin/goose
 man/man1/goose.1.gz
 %%DATADIR%%/GoogleSearch.wsdl
-%%PORTDOCS%%%%EXAMPLESDIR%%/goose.conf.example
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/goose.conf.example
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
 @dirrm %%DATADIR%%

Modified: head/www/grails/Makefile
==============================================================================
--- head/www/grails/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/grails/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -21,9 +21,9 @@ DATAFILES=	LICENSE README build.gradle b
 		gradlew conf dist gradle lib media plugins scripts src
 SCRIPTFILES=	grails grails-debug startGrails
 
-.if !defined(NOPORTDOCS)
+OPTIONS_DEFINE=	DOCS
+
 PORTDOCS=	api guide index.html css img ref
-.endif
 PLIST_FILES=	${SCRIPTFILES:S,^,bin/,} \
 		${SCRIPTFILES:S,^,${DATADIR:S,${PREFIX}/,,}/bin/,}
 PLIST_DIRS=	${DATADIR:S,${PREFIX}/,,}/bin
@@ -44,13 +44,11 @@ do-install:
 	@${LN} -fs ${DATADIR}/bin/${file} ${STAGEDIR}${PREFIX}/bin/${file}
 .endfor
 	@${ECHO_MSG} " [ DONE ]"
-.if !defined(NOPORTDOCS)
 	@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
 	@cd ${WRKSRC}/doc \
 	  && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \
 	  && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
 	@${ECHO_MSG} " [ DONE ]"
-.endif
 
 post-install:
 	@${FIND} -s ${DATAFILES:S,^,${WRKSRC}/,} -not -type d 2>/dev/null | \

Modified: head/www/jmeter/Makefile
==============================================================================
--- head/www/jmeter/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/jmeter/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -54,9 +54,9 @@ EXTRACT_AFTER_ARGS=	--exclude '*.bat' --
 	${RUN_DEPENDS:M*.jar*:C|.*/(.+).jar:.*|--exclude '\1-*.jar'|}	\
 	--exclude 'oro-*.jar'
 
-.if !defined(NOPORTDOCS)
+OPTIONS_DEFINE=	DOCS
+
 PORTDOCS=	docs printable_docs README LICENSE
-.endif
 
 .include <bsd.port.pre.mk>
 
@@ -72,12 +72,10 @@ do-install:
 	  && ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${STAGEDIR}/${DATADIR}/{} \;
 	cd ${WRKSRC} \
 	  && ${FIND} ${DATAFILES} -type f -not -name '*.orig' -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} \;
-.if !defined(NOPORTDOCS)
 	cd ${WRKSRC} \
 	  && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \;
 	cd ${WRKSRC} \
 	  && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
-.endif
 	${INSTALL_SCRIPT} ${WRKDIR}/jmeter.sh ${STAGEDIR}${PREFIX}/bin/jmeter
 
 # For some reason, it is not enough for these three to simply be listed in

Modified: head/www/jspacker/Makefile
==============================================================================
--- head/www/jspacker/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/jspacker/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -23,16 +23,16 @@ SUB_FILES=	${PORTNAME}
 SUB_LIST=	JSPACKER=${JSPACKER} \
 		PERL5=${PERL5}
 
+OPTIONS_DEFINE=	EXAMPLES
+
 do-install:
 	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 	${MKDIR} ${STAGEDIR}${DATADIR} && \
 	cd ${WRKSRC} && \
 	${INSTALL_DATA} *.pm ${STAGEDIR}${DATADIR} && \
 	${INSTALL_SCRIPT} ${JSPACKER} ${STAGEDIR}${DATADIR}
-.if !defined(NOPORTEXAMPLES)
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR} && \
 	cd ${WRKSRC} && \
 	${INSTALL_DATA} *.htm ${STAGEDIR}${EXAMPLESDIR}
-.endif
 
 .include <bsd.port.mk>

Modified: head/www/mgstat/Makefile
==============================================================================
--- head/www/mgstat/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/mgstat/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -17,10 +17,10 @@ GNU_CONFIGURE=	yes
 PORTDOCS=	Copyright README USAGE
 PLIST_FILES=	bin/mgstat
 
+OPTIONS_DEFINE=	DOCS
+
 post-install:
-.if !defined(NOPORTDOCS)
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-.endif
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/www/mhonarc/Makefile
==============================================================================
--- head/www/mhonarc/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/mhonarc/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -20,7 +20,11 @@ INSTALL_ARGS=	-prefix ${STAGEDIR} -binpa
 		-manpath ${STAGEDIR}${PREFIX}/man \
 		-batch
 
-.if !defined(NOPORTDOCS)
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
 THEDOCSDIR=	${STAGEDIR}${PREFIX}/share/doc/MHonArc
 DOCSDIR=${PREFIX}/share/doc/MHonArc
 INSTALL_ARGS+=	-docpath ${THEDOCSDIR}

Modified: head/www/mod_auth_tkt/Makefile
==============================================================================
--- head/www/mod_auth_tkt/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/mod_auth_tkt/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -19,7 +19,7 @@ AP_FAST_BUILD=	yes
 SRC_FILE=	${PORTNAME}.c sha2.c
 AP_EXTRAS=	-DAPACHE22
 
-OPTIONS_DEFINE=	QUERY_SEP
+OPTIONS_DEFINE=	QUERY_SEP DOCS EXAMPLES
 QUERY_SEP_DESC=	Experimental TKTAuthQuerySeparator directive
 OPTIONS_DEFAULT=QUERY_SEP
 
@@ -37,7 +37,6 @@ post-build:
 
 post-install:
 	cd ${WRKSRC}/../doc; ${MAKE} ${.TARGET:S/post-//}
-.if !defined(NOPORTEXAMPLES)
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/cgi/Apache ${STAGEDIR}${EXAMPLESDIR}/conf
 .for i in cgi/AuthTktConfig.pm cgi/Apache/AuthTkt.pm cgi/tkt.css \
 	conf/02_auth_tkt.conf conf/auth_tkt_cgi.conf
@@ -46,10 +45,7 @@ post-install:
 .for i in logout.cgi login.cgi
 	${INSTALL_SCRIPT} ${WRKSRC}/../cgi/${i} ${STAGEDIR}${EXAMPLESDIR}/cgi/${i}
 .endfor
-.endif
-.if !defined(NOPORTDOCS)
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/../README ${STAGEDIR}${DOCSDIR}/
-.endif
 
 .include <bsd.port.mk>

Modified: head/www/myfaces/Makefile
==============================================================================
--- head/www/myfaces/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/myfaces/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -15,10 +15,10 @@ USE_JAVA=	yes
 JAVA_VERSION=	1.6+
 NO_BUILD=	yes
 
+OPTIONS_DEFINE=	DOCS
+
 DATADIR=	${JAVASHAREDIR}/${PORTNAME}
-.if !defined(NOPORTDOCS)
 PORTDOCS=	javadoc tlddoc LICENSE.txt NOTICE.txt
-.endif
 JAR_FILES=	myfaces-all.jar myfaces-api.jar myfaces-impl.jar tomahawk.jar
 PLIST_FILES=	%%JAVAJARDIR%%/${PORTNAME}.jar \
 		${JAR_FILES:S|^|%%DATADIR%%/|}
@@ -33,9 +33,7 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/${jarfile} ${STAGEDIR}${DATADIR}/${jarfile}
 .endfor
 
-.if !defined(NOPORTDOCS)
 	cd ${WRKSRC} && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \;
 	cd ${WRKSRC} && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
-.endif
 
 .include <bsd.port.post.mk>

Modified: head/www/netrik/Makefile
==============================================================================
--- head/www/netrik/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/netrik/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -20,14 +20,14 @@ PLIST_FILES=	bin/netrik \
 
 PORTDOCS=	*
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} "s/#include <ncursesw\//#include </" \
 		${WRKSRC}/*.c
-.if defined(NOPORTDOCS)
 	@${REINPLACE_CMD} "s/install-data-am: install-docDATA/install-data-am:/" \
 		${WRKSRC}/Makefile.in
 	@${REINPLACE_CMD} "s/install-docDATA install-man/install-man/" \
 		${WRKSRC}/doc/Makefile.in
-.endif
 
 .include <bsd.port.mk>

Modified: head/www/p5-Apache-Clean2/Makefile
==============================================================================
--- head/www/p5-Apache-Clean2/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/p5-Apache-Clean2/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -25,10 +25,10 @@ USE_APACHE=	22+
 
 DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
 
+OPTIONS_DEFINE=	DOCS
+
 post-install:
-.if !defined(NOPORTDOCS)
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-.endif
 
 .include <bsd.port.mk>

Modified: head/www/p5-Apache-Session-Wrapper/Makefile
==============================================================================
--- head/www/p5-Apache-Session-Wrapper/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/p5-Apache-Session-Wrapper/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -19,13 +19,13 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 USES=		perl5
 USE_PERL5=	modbuild
 
-.if !defined(NOPORTDOCS)
+OPTIONS_DEFINE=	DOCS
+
 PORTDOCS=	Changes
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
-.endif
 
 .include <bsd.port.mk>

Modified: head/www/p5-CGI-Ex/Makefile
==============================================================================
--- head/www/p5-CGI-Ex/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/p5-CGI-Ex/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -18,10 +18,10 @@ USE_PERL5=	configure
 
 PORTEXAMPLES=	*
 
+OPTIONS_DEFINE=	EXAMPLES
+
 post-install:
-.if !defined(NOPORTEXAMPLES)
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
 	${CP} -R ${WRKSRC}/samples/* ${STAGEDIR}${EXAMPLESDIR}/
-.endif
 
 .include <bsd.port.mk>

Modified: head/www/p5-CGI-Framework/Makefile
==============================================================================
--- head/www/p5-CGI-Framework/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/p5-CGI-Framework/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -18,13 +18,13 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 USES=		perl5
 USE_PERL5=	configure
 
-.if !defined(NOPORTDOCS)
+OPTIONS_DEFINE=	DOCS
+
 PORTDOCS=	Changes README
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
-.endif
 
 .include <bsd.port.mk>

Modified: head/www/p5-CGI-Minimal/Makefile
==============================================================================
--- head/www/p5-CGI-Minimal/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/p5-CGI-Minimal/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -13,13 +13,13 @@ COMMENT=	Extremely lightweight CGI proce
 USES=		perl5
 USE_PERL5=	configure
 
-.if !defined(NOPORTDOCS)
+OPTIONS_DEFINE=	DOCS
+
 PORTDOCS=	Changes README TODO
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
-.endif
 
 .include <bsd.port.mk>

Modified: head/www/p5-CGI-Untaint/Makefile
==============================================================================
--- head/www/p5-CGI-Untaint/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/p5-CGI-Untaint/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -17,13 +17,13 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 USES=		perl5
 USE_PERL5=	configure
 
-.if !defined(NOPORTDOCS)
+OPTIONS_DEFINE=	DOCS
+
 PORTDOCS=	Changes
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
-.endif
 
 .include <bsd.port.mk>

Modified: head/www/p5-CGI-XMLApplication/Makefile
==============================================================================
--- head/www/p5-CGI-XMLApplication/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/p5-CGI-XMLApplication/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -17,13 +17,13 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 USES=		perl5
 USE_PERL5=	configure
 
+OPTIONS_DEFINE=	EXAMPLES
+
 post-install:
-.ifndef(NOPORTDOCS)
 	@${ECHO_MSG} "===>   Installing examples for ${PKGNAME}"
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/examples/*.pm ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/examples/*.xsl ${STAGEDIR}${EXAMPLESDIR}
-.endif
 
 .include <bsd.port.mk>

Modified: head/www/p5-CGI-XMLApplication/pkg-plist
==============================================================================
--- head/www/p5-CGI-XMLApplication/pkg-plist	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/p5-CGI-XMLApplication/pkg-plist	Fri Jul  4 23:11:33 2014	(r360680)
@@ -1,20 +1,20 @@
 %%PERL5_MAN3%%/CGI::XMLApplication.3.gz
 %%SITE_PERL%%/CGI/XMLApplication.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/XMLApplication/.packlist
-%%PORTDOCS%%%%EXAMPLESDIR%%/ex2_finish.xsl
-%%PORTDOCS%%%%EXAMPLESDIR%%/ex2_form.xsl
-%%PORTDOCS%%%%EXAMPLESDIR%%/example1.pl
-%%PORTDOCS%%%%EXAMPLESDIR%%/example1.pm
-%%PORTDOCS%%%%EXAMPLESDIR%%/example2.pl
-%%PORTDOCS%%%%EXAMPLESDIR%%/example2.pm
-%%PORTDOCS%%%%EXAMPLESDIR%%/example3.pl
-%%PORTDOCS%%%%EXAMPLESDIR%%/example3.pm
-%%PORTDOCS%%%%EXAMPLESDIR%%/example4.pl
-%%PORTDOCS%%%%EXAMPLESDIR%%/example4.pm
-%%PORTDOCS%%%%EXAMPLESDIR%%/minimal.pl
-%%PORTDOCS%%%%EXAMPLESDIR%%/minimal.xsl
-%%PORTDOCS%%%%EXAMPLESDIR%%/minimalapp.pm
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex2_finish.xsl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex2_form.xsl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example1.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example1.pm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example2.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example2.pm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example3.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example3.pm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example4.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example4.pm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/minimal.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/minimal.xsl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/minimalapp.pm
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/XMLApplication
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI
 @dirrmtry %%SITE_PERL%%/CGI

Modified: head/www/p5-HTTP-Request-Params/Makefile
==============================================================================
--- head/www/p5-HTTP-Request-Params/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/p5-HTTP-Request-Params/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -19,13 +19,13 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 USES=		perl5
 USE_PERL5=	configure
 
-.if !defined(NOPORTDOCS)
+OPTIONS_DEFINE=	DOCS
+
 PORTDOCS=	Changes README
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
-.endif
 
 .include <bsd.port.mk>

Modified: head/www/p5-PHP-Session/Makefile
==============================================================================
--- head/www/p5-PHP-Session/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/p5-PHP-Session/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -16,13 +16,13 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 USES=		perl5
 USE_PERL5=	configure
 
-.if !defined(NOPORTDOCS)
+OPTIONS_DEFINE=	DOCS
+
 PORTDOCS=	Changes README
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
-.endif
 
 .include <bsd.port.mk>

Modified: head/www/p5-WWW-Mechanize/Makefile
==============================================================================
--- head/www/p5-WWW-Mechanize/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/p5-WWW-Mechanize/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -31,11 +31,11 @@ USE_PERL5=	configure
 DOCS=		Changes etc/www-mechanize-logo.png
 PORTDOCS=	${DOCS:T}
 
+OPTIONS_DEFINE=	DOCS
+
 post-install:
-.if !defined(NOPORTDOCS)
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	(cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR})
 	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
-.endif
 
 .include <bsd.port.mk>

Modified: head/www/pebble/Makefile
==============================================================================
--- head/www/pebble/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/pebble/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -28,12 +28,12 @@ SUB_FILES=	pebble.properties pkg-message
 
 PKGMESSAGE=	${WRKSRC}/pkg-message
 
-.if !defined(NOPORTDOCS)
+OPTIONS_DEFINE=	DOCS
+
 PORTDOCS=	configuration.html credits.html images index.html \
 		installation.html license.txt multiblog.html screen.css \
 		screenshots.html security.html upgrading1x.html \
 		upgrading2x.html
-.endif
 PLIST_FILES=	${WEBAPP_SUBDIR}/${PORTNAME}.war
 PEBBLE_CONTEXT=	WEB-INF/applicationContext-pebble.xml
 
@@ -43,17 +43,12 @@ do-patch:
 	cd ${WRKSRC} && ${LOCALBASE}/bin/zip -u pebble.war ${PEBBLE_CONTEXT}
 
 do-install:
-	${MKDIR} "${STAGEDIR}${PEBBLE_HOME}"
+	@${MKDIR} "${STAGEDIR}${PEBBLE_HOME}"
 	${CHOWN} "www:www" "${STAGEDIR}${PEBBLE_HOME}"
 	${INSTALL_DATA} ${WRKDIR}/pebble.properties ${STAGEDIR}${PEBBLE_PROPERTIES}.sample
-	${MKDIR} ${STAGEDIR}${WEBAPP_DIR}
+	@${MKDIR} ${STAGEDIR}${WEBAPP_DIR}
 	${INSTALL_DATA} ${WRKSRC}/pebble.war ${STAGEDIR}${WEBAPP_DIR}/${PORTNAME}.war
-.if !defined(NOPORTDOCS)
 	cd ${WRKSRC}/docs && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \;
 	cd ${WRKSRC}/docs && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
-.endif
-
-post-install:
-	${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>

Modified: head/www/py-HTMLgen/Makefile
==============================================================================
--- head/www/py-HTMLgen/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/py-HTMLgen/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -17,14 +17,13 @@ COMMENT=	A Python library for the genera
 USE_PYTHON=	2
 NO_BUILD=	yes
 
-.if !defined(NOPORTDOCS)
+OPTIONS_DEFINE=	DOCS
+
 PORTDOCS=	*
-.endif
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|python |${PYTHON_CMD} |' ${WRKSRC}/Makefile
 
-.if !defined(NOPORTDOCS)
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	@${TAR} -C ${WRKSRC} -cf - README html image | \
@@ -32,6 +31,5 @@ post-install:
 	@${CHOWN} -R ${BINOWN}:${BINGRP} ${STAGEDIR}${DOCSDIR}
 	@${FIND} ${STAGEDIR}${DOCSDIR} -type d -exec ${CHMOD} 0555 {} \;
 	@${FIND} ${STAGEDIR}${DOCSDIR} -type f -exec ${CHMOD} 0444 {} \;
-.endif
 
 .include <bsd.port.mk>

Modified: head/www/py-albatross/Makefile
==============================================================================
--- head/www/py-albatross/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/py-albatross/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -17,12 +17,12 @@ LICENSE=	BSD3CLAUSE
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
 
+OPTIONS_DEFINE=	DOCS
+
 post-install:
-.if !defined(NOPORTDOCS)
 	@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DOCSDIR}/html
 	@${TAR} -cf - -C ${WRKSRC}/doc . | ${TAR} -xf - -C ${STAGEDIR}${DOCSDIR}
 	@${TAR} -cf - -C ${WRKDIR}/albatross-html-${PORTVERSION} . | ${TAR} -xf - -C ${STAGEDIR}${DOCSDIR}/html
 	@${TAR} -cf - -C ${WRKSRC}/samples . | ${TAR} -xf - -C ${STAGEDIR}${EXAMPLESDIR}
-.endif
 
 .include <bsd.port.mk>

Modified: head/www/py-pysearch/Makefile
==============================================================================
--- head/www/py-pysearch/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/py-pysearch/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -18,14 +18,12 @@ PYDISTUTILS_PKGNAME=	pYsearch
 DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
 EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
 
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 post-install:
-.if !defined(NOPORTDOCS)
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${CP} -R ${WRKSRC}/docs/ ${STAGEDIR}${DOCSDIR}
-.endif
-.if !defined(NOPORTEXAMPLES)
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${CP} -R ${WRKSRC}/examples/ ${STAGEDIR}${EXAMPLESDIR}
-.endif
 
 .include <bsd.port.mk>

Modified: head/www/retawq/Makefile
==============================================================================
--- head/www/retawq/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/retawq/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -26,30 +26,31 @@ PORTDOCS=	*
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib -pthread
 
-.if defined(WITH_GNUTLS)
-LIB_DEPENDS+=	libgnutls.so:${PORTSDIR}/security/gnutls
-CONFIGURE_ARGS+=	--set-tls=1
-.elif defined(WITH_OPENSSL)
-USE_OPENSSL=	yes
-CONFIGURE_ARGS+=	--set-tls=2
-LDFLAGS+=	-lssl -lcrypto
-.endif
+OPTIONS_DEFINE=	DOCS
+OPTIONS_RADIO=	BACKEND
+BACKEND_DESC=	SSL Backend
+OPTIONS_RADIO_BACKEND=	OPENSSL GNUTLS
+
+GNUTLS_LIB_DEPENDS=	libgnutls.so:${PORTSDIR}/security/gnutls
+GNUTLS_CONFIGURE_ON=	--set-tls=1
+
+OPENSSL_USE=		OPENSSL=yes
+OPENSSL_CONFIGURE_ON=	--set-tls=2
+OPENSSL_LDFLAGS=	-lssl -lcrypto
 
 post-configure:
-	@${REINPLACE_CMD} -e 's|_IN_H 0|_IN_H 1|g ; \
+	${REINPLACE_CMD} -e 's|_IN_H 0|_IN_H 1|g ; \
 		 s|_SOCKET_H 0|_SOCKET_H 1|g' ${WRKSRC}/.config
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/retawq ${STAGEDIR}${PREFIX}/bin
-	@${INSTALL_MAN} ${WRKSRC}/docu/retawq.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_PROGRAM} ${WRKSRC}/retawq ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/docu/retawq.1 ${STAGEDIR}${MANPREFIX}/man/man1
 .for lang in de es fr pt_BR
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES
-	@${INSTALL_DATA} ${WRKSRC}/i18n/${lang}.mo \
+	${INSTALL_DATA} ${WRKSRC}/i18n/${lang}.mo \
 		${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo
 .endfor
-.if !defined(NOPORTDOCS)
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/docu/*.html ${STAGEDIR}${DOCSDIR}
-.endif
+	${INSTALL_DATA} ${WRKSRC}/docu/*.html ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/www/swish-e/Makefile
==============================================================================
--- head/www/swish-e/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/swish-e/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -17,12 +17,14 @@ GNU_CONFIGURE=	yes
 MAKE_ARGS+=	pkgconfigdir="${PREFIX}/libdata/pkgconfig" \
                 pkgdatadir="${DATADIR}"
 
-.if !defined(NOPORTDOCS)
+OPTIONS_DEFINE=	DOCS
+
 PORTDOCS=	*
-.endif
+
+.include <bsd.port.options.mk>
 
 post-patch:
-.if defined(NOPORTDOCS)
+.if empty(PORT_OPTIONS:MDOCS)
 	@${REINPLACE_CMD} -E 's/^(install-data-am:) install-docDATA(.*)/\1\2/' \
 		${WRKSRC}/Makefile.in
 .for p in pod prog-bin conf filter-bin filters html

Modified: head/www/tclwebtest/Makefile
==============================================================================
--- head/www/tclwebtest/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/tclwebtest/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -19,7 +19,7 @@ NO_BUILD=	YES
 LIBDIR=		lib/tclwebtest${PORTVERSION}
 PLIST_SUB+=	LIBDIR="${LIBDIR}"
 
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE=	DOCS
 
 post-extract:
 	@${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -rf
@@ -36,11 +36,9 @@ do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/tclwebtest ${STAGEDIR}${PREFIX}/bin/tclwebtest
 
 post-install:
-.if !defined(NOPORTDOCS)
 	@${ECHO} "Installing docs"
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}/doc
-	@${TAR} -C ${WRKSRC} -c -f - ChangeLog README TODO index.html generate_docs.test | ${TAR} -C ${STAGEDIR}${DOCSDIR} -x -f -
-	@${TAR} -C ${WRKSRC}/doc -c -f - . | ${TAR} -C ${STAGEDIR}${DOCSDIR}/doc -x -f -
-.endif
+	${TAR} -C ${WRKSRC} -c -f - ChangeLog README TODO index.html generate_docs.test | ${TAR} -C ${STAGEDIR}${DOCSDIR} -x -f -
+	${TAR} -C ${WRKSRC}/doc -c -f - . | ${TAR} -C ${STAGEDIR}${DOCSDIR}/doc -x -f -
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/www/wsdlpull/Makefile
==============================================================================
--- head/www/wsdlpull/Makefile	Fri Jul  4 23:07:06 2014	(r360679)
+++ head/www/wsdlpull/Makefile	Fri Jul  4 23:11:33 2014	(r360680)
@@ -18,21 +18,21 @@ USES=		libtool
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
-	@${REINPLACE_CMD} -e '/-O2 -Wall/d' ${WRKSRC}/configure
-	@${REINPLACE_CMD} \
+	${REINPLACE_CMD} -e '/-O2 -Wall/d' ${WRKSRC}/configure
+	${REINPLACE_CMD} \
 		-e '/SUBDIRS = / s| docs||' \
 		-e '/^install-data-am:/ s| install-docsDATA||' \
 			${WRKSRC}/Makefile.in
 # Do not install wsdlpull-config.1 for the absence of wsdlpull-config
-	@${REINPLACE_CMD} \
+	${REINPLACE_CMD} \
 		-e '/^man_MANS = / s| wsdlpull-config.1||' \
 			${WRKSRC}/man/Makefile.in
 
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}/
-	cd ${WRKSRC}/ && ${INSTALL_DATA} README wsdlpull.html ${STAGEDIR}${DOCSDIR}/
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/ && ${INSTALL_DATA} README wsdlpull.html ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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