Date: Fri, 4 Jul 2014 22:50:40 +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: r360676 - in head/textproc: ibus-el jakarta-commons-digester jaxup libxml2-reference modlogan openfts p5-CAM-PDF p5-PerlPoint-Package p5-RDF-Core p5-Spreadsheet-ParseExcel p5-Syntax-Hig... Message-ID: <201407042250.s64MoeKH030318@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adamw Date: Fri Jul 4 22:50:40 2014 New Revision: 360676 URL: http://svnweb.freebsd.org/changeset/ports/360676 QAT: https://qat.redports.org/buildarchive/r360676/ Log: Remove NOPORTDOCS and NOPORTEXAMPLES. Modified: head/textproc/ibus-el/Makefile head/textproc/jakarta-commons-digester/Makefile head/textproc/jaxup/Makefile head/textproc/libxml2-reference/Makefile head/textproc/modlogan/Makefile head/textproc/openfts/Makefile head/textproc/p5-CAM-PDF/Makefile head/textproc/p5-PerlPoint-Package/Makefile head/textproc/p5-PerlPoint-Package/pkg-plist head/textproc/p5-RDF-Core/Makefile head/textproc/p5-Spreadsheet-ParseExcel/Makefile head/textproc/p5-Syntax-Highlight-Engine-Kate/Makefile head/textproc/p5-Syntax-Highlight-Engine-Kate/pkg-plist head/textproc/p5-Text-ParagraphDiff/Makefile head/textproc/p5-Text-ParagraphDiff/pkg-plist head/textproc/p5-WDDX/Makefile head/textproc/p5-XML-DTDParser/Makefile head/textproc/p5-XML-SAX-Machines/Makefile head/textproc/p5-XML-STX/Makefile head/textproc/p5-XML-STX/pkg-plist head/textproc/p5-XML-Validator-Schema/Makefile head/textproc/p5-xmltv/Makefile head/textproc/re_graph/Makefile head/textproc/saxon-devel/Makefile head/textproc/saxon/Makefile head/textproc/sdf/Makefile head/textproc/sgmls/Makefile head/textproc/uim-el/Makefile head/textproc/uim/Makefile head/textproc/uml2svg/Makefile head/textproc/xincluder/Makefile head/textproc/xmlenc/Makefile head/textproc/xom/Makefile head/textproc/xt/Makefile Modified: head/textproc/ibus-el/Makefile ============================================================================== --- head/textproc/ibus-el/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/ibus-el/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -25,6 +25,8 @@ PLIST_FILES= ${EMACS_VERSION_SITE_LISPDI libexec/ibus-el-agent PORTDOCS= README +OPTIONS_DEFINE= DOCS + do-build: @cd ${WRKSRC} && ${EMACS_CMD} -batch -q -no-site-file -no-init-file \ -f batch-byte-compile ibus.el @@ -37,10 +39,8 @@ do-install: ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} @${INSTALL_SCRIPT} ${WRKSRC}/ibus-el-agent \ ${STAGEDIR}${PREFIX}/libexec -.if !defined(NOPORTDOCS) @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC} && \ ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} -.endif .include <bsd.port.mk> Modified: head/textproc/jakarta-commons-digester/Makefile ============================================================================== --- head/textproc/jakarta-commons-digester/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/jakarta-commons-digester/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -31,10 +31,11 @@ ALL_TARGET= dist JARFILE= ${PORTNAME}.jar PLIST_FILES= %%JAVAJARDIR%%/${JARFILE} -.if !defined(NOPORTDOCS) + +OPTIONS_DEFINE= DOCS + OTHERDOCS= LICENSE.txt NOTICE.txt RELEASE-NOTES.txt PORTDOCS= api ${OTHERDOCS} -.endif COMMONS_BEANUTILS_API= ${LOCALBASE}/share/doc/commons-beanutils COMMONS_COLLECTIONS_API=${LOCALBASE}/share/doc/commons-collections/apidocs @@ -67,7 +68,7 @@ do-install: @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..." @${INSTALL_DATA} ${WRKSRC}/dist/${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${JARFILE} @${ECHO_MSG} " [ DONE ]" -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." @cd ${WRKSRC}/dist/docs \ && ${FIND} api -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \ Modified: head/textproc/jaxup/Makefile ============================================================================== --- head/textproc/jaxup/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/jaxup/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -27,26 +27,24 @@ JAVA_VERSION= 1.6+ DATADIR= ${JAVASHAREDIR}/${PORTNAME} +OPTIONS_DEFINE= DOCS + USE_ANT= yes ALL_TARGET= jar -.if !defined(NOPORTDOCS) -ALL_TARGET+= docs -.endif +DOCS_ALL_TARGET=${ALL_TARGET} docs PLIST_FILES+= %%DATADIR%%/jaxup-xupdater.jar bin/jaxup-xupdater \ %%JAVAJARDIR%%/${PORTNAME}.jar PLIST_DIRS= %%DATADIR%% -.if !defined(NOPORTDOCS) PORTDOCS= LICENSE.txt api index.html jaxup_files xupdate-wd.html xupdate-wd_files -.endif .include <bsd.port.pre.mk> UTIL_CLASSPATH_JARS= jaxen-full saxpath xercesImpl UTIL_CLASSPATH!= ${ECHO_CMD} ${UTIL_CLASSPATH_JARS:S,^,${JAVALIBDIR}/,:S,$,.jar,} | ${TR} " " ":" -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} JDK_API!= (${FIND} -s ${LOCALBASE}/share/doc/jdk1.[4-5] -maxdepth 1 -name api -type d 2>/dev/null || ${ECHO_CMD}) | ${TAIL} -n 1 .if ${JDK_API} != "" MAKE_ARGS+= -Dj2se.apidocs="${JDK_API}" @@ -58,9 +56,9 @@ MAKE_ARGS+= -Djaxen.apidocs="${JAXEN_API .endif post-extract: - @${CP} ${FILESDIR}/build.xml ${WRKSRC}/ - @${CP} ${FILESDIR}/DOMXUpdater.java ${WRKDIR}/ - @${SED} -e 's,%%LOCALBASE%%,${LOCALBASE},g ; s,%%DATADIR%%,${DATADIR},g' \ + ${CP} ${FILESDIR}/build.xml ${WRKSRC}/ + ${CP} ${FILESDIR}/DOMXUpdater.java ${WRKDIR}/ + ${SED} -e 's,%%LOCALBASE%%,${LOCALBASE},g ; s,%%DATADIR%%,${DATADIR},g' \ ${FILESDIR}/jaxup-xupdater.sh >${WRKDIR}/jaxup-xupdater post-build: @@ -72,20 +70,20 @@ post-build: do-install: @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..." @${MKDIR} ${STAGEDIR}${JAVAJARDIR} - @${INSTALL_DATA} ${WRKSRC}/build/lib/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/ + ${INSTALL_DATA} ${WRKSRC}/build/lib/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/ @${ECHO_MSG} " [ DONE ]" @${ECHO_MSG} ">> Installing utility scripts and classes..." ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKDIR}/jaxup-xupdater.jar ${STAGEDIR}${DATADIR}/ ${INSTALL_SCRIPT} ${WRKDIR}/jaxup-xupdater ${STAGEDIR}${PREFIX}/bin/ @${ECHO_MSG} " [ DONE ]" -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." @${MKDIR} ${STAGEDIR}${DOCSDIR} - @cd ${WRKSRC}/build/docs \ + cd ${WRKSRC}/build/docs \ && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \ && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \; - @${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${STAGEDIR}${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${STAGEDIR}${DOCSDIR}/ @${ECHO_MSG} " [ DONE ]" .endif Modified: head/textproc/libxml2-reference/Makefile ============================================================================== --- head/textproc/libxml2-reference/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/libxml2-reference/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -10,7 +10,11 @@ EXTRACT_ONLY= USES= gmake MAKE_ARGS= DOC_MODULE=libxml2 EXAMPLES_DIR=${EXAMPLESDIR} -.if !defined(NOPORTEXAMPLES) +OPTIONS_DEFINE= EXAMPLES + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MEXAMPLES} EXAMPLES= testHTML.c testSAX.c testXPath.c xmllint.c PLIST_FILES= ${EXAMPLES:S|^|%%EXAMPLESDIR%%/|} PLIST_DIRS= %%EXAMPLESDIR%% Modified: head/textproc/modlogan/Makefile ============================================================================== --- head/textproc/modlogan/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/modlogan/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -17,6 +17,8 @@ LIB_DEPENDS= libadns.so:${PORTSDIR}/dns/ USES= gettext libtool +OPTIONS_DEFINE= DOCS MYSQL + # Please don't remove the comments, as soon as autoconf/libtool get's # updated in the ports collection the comments may be removed. # They serve as a reminder. @@ -24,9 +26,7 @@ USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+=--enable-ltdl-install=no --with-gd=${LOCALBASE}/include \ --program-transform-name=\'\' -.if defined(WITH_MYSQL) -CONFIGURE_ARGS+=--with-mysql -.endif +MYSQL_CONFIGURE_ON= --with-mysql CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib @@ -40,12 +40,10 @@ post-patch: # ${TOUCH} ${WRKSRC}/libltdl/config.status post-install: -.if !defined(NOPORTDOCS) ${MKDIR} ${STAGEDIR}/${PREFIX}/share/doc/modlogan .for i in ${DOC1} @${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}/${PREFIX}/share/doc/modlogan/${i} .endfor -.endif ${MKDIR} ${STAGEDIR}/${PREFIX}/share/examples/modlogan .for i in footer.ihtml header.ihtml output.tmpl convert_history_to_07x.pl convert_to_055.pl convert_to_060.pl @${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}/${PREFIX}/share/examples/modlogan/${i} Modified: head/textproc/openfts/Makefile ============================================================================== --- head/textproc/openfts/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/openfts/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -17,23 +17,19 @@ USE_PGSQL= yes USES= perl5 USE_PERL5= configure -.include <bsd.port.pre.mk> +OPTIONS_DEFINE= DOCS EXAMPLES PORTDOCS= Changes INSTALL README primer.html post-install: -.if !defined(NOPORTEXAMPLES) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @${CP} -R ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} @${ECHO_MSG} "===> Examples installed in ${STAGEDIR}${EXAMPLESDIR}." -.endif -.if !defined(NOPORTDOCS) @${CP} -p ${WRKSRC}/doc/primer.html ${WRKSRC} @${MKDIR} ${STAGEDIR}${DOCSDIR} @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} @${ECHO_MSG} "===> Documentation installed in ${STAGEDIR}${DOCSDIR}." -.endif # Sample DB initialization. DBNAME?= openfts @@ -43,4 +39,4 @@ create-database: psql ${DBNAME} < tsearch2.sql && \ psql ${DBNAME} < openfts.sql -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/textproc/p5-CAM-PDF/Makefile ============================================================================== --- head/textproc/p5-CAM-PDF/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/p5-CAM-PDF/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -23,13 +23,13 @@ TEST_DEPENDS= p5-Test-Memory-Cycle>=1.02 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/textproc/p5-PerlPoint-Package/Makefile ============================================================================== --- head/textproc/p5-PerlPoint-Package/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/p5-PerlPoint-Package/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -18,7 +18,8 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure -.if !defined(NOPORTDOCS) +OPTIONS_DEFINE= DOCS EXAMPLES + PORTDOCS= # suck all DOCSDIR post-install: @@ -27,6 +28,5 @@ post-install: (cd ${WRKSRC} && ${COPYTREE_SHARE} utilities ${STAGEDIR}${DOCSDIR}) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/demo && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) -.endif .include <bsd.port.mk> Modified: head/textproc/p5-PerlPoint-Package/pkg-plist ============================================================================== --- head/textproc/p5-PerlPoint-Package/pkg-plist Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/p5-PerlPoint-Package/pkg-plist Fri Jul 4 22:50:40 2014 (r360676) @@ -27,15 +27,15 @@ bin/pp2sdf %%SITE_PERL%%/%%PERL_ARCH%%/auto/PerlPoint/Package/.packlist man/man1/perlpoint.1.gz man/man1/pp2sdf.1.gz -%%PORTDOCS%%%%EXAMPLESDIR%%/.pp2sdf -%%PORTDOCS%%%%EXAMPLESDIR%%/perlpods.pp -%%PORTDOCS%%%%EXAMPLESDIR%%/perlpoint -%%PORTDOCS%%%%EXAMPLESDIR%%/pp2pod -%%PORTDOCS%%%%EXAMPLESDIR%%/pp2pp -%%PORTDOCS%%%%EXAMPLESDIR%%/pp2ppresenter -%%PORTDOCS%%%%EXAMPLESDIR%%/pp2sdf -%%PORTDOCS%%%%EXAMPLESDIR%%/pp2tree -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/.pp2sdf +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/perlpods.pp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/perlpoint +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pp2pod +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pp2pp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pp2ppresenter +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pp2sdf +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pp2tree +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/PerlPoint/Package @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/PerlPoint @dirrmtry %%SITE_PERL%%/PerlPoint/Tags Modified: head/textproc/p5-RDF-Core/Makefile ============================================================================== --- head/textproc/p5-RDF-Core/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/p5-RDF-Core/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -21,13 +21,13 @@ USE_PERL5= configure DOCSUBDIR= / RDF RDF/Core RDF/Core/Enumerator RDF/Core/Model \ RDF/Core/Storage +OPTIONS_DEFINE= DOCS + post-install: -.ifndef(NOPORTDOCS) @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}" .for DOCDIR in ${DOCSUBDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}/${DOCDIR} ${INSTALL_DATA} ${WRKSRC}/doc/${DOCDIR}/*.html ${STAGEDIR}${DOCSDIR}/${DOCDIR} .endfor -.endif .include <bsd.port.mk> Modified: head/textproc/p5-Spreadsheet-ParseExcel/Makefile ============================================================================== --- head/textproc/p5-Spreadsheet-ParseExcel/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/p5-Spreadsheet-ParseExcel/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -19,13 +19,13 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure +OPTIONS_DEFINE= EXAMPLES + post-install: -.ifndef(NOPORTEXAMPLES) @${ECHO_MSG} "===> Installing examples for ${PKGNAME}" @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/Excel ${INSTALL_DATA} ${WRKSRC}/sample/README ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/sample/*.pl ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/sample/Excel/* ${STAGEDIR}${EXAMPLESDIR}/Excel -.endif .include <bsd.port.mk> Modified: head/textproc/p5-Syntax-Highlight-Engine-Kate/Makefile ============================================================================== --- head/textproc/p5-Syntax-Highlight-Engine-Kate/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/p5-Syntax-Highlight-Engine-Kate/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -18,10 +18,10 @@ TEST_DEPENDS= p5-Test-Differences>0:${PO USES= perl5 USE_PERL5= configure +OPTIONS_DEFINE= EXAMPLES + post-install: -.if !defined(NOPORTDOCS) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/bin/*.pl ${STAGEDIR}${EXAMPLESDIR} -.endif .include <bsd.port.mk> Modified: head/textproc/p5-Syntax-Highlight-Engine-Kate/pkg-plist ============================================================================== --- head/textproc/p5-Syntax-Highlight-Engine-Kate/pkg-plist Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/p5-Syntax-Highlight-Engine-Kate/pkg-plist Fri Jul 4 22:50:40 2014 (r360676) @@ -273,10 +273,10 @@ %%SITE_PERL%%/Syntax/Highlight/Engine/Kate/Yacas.pm %%SITE_PERL%%/Syntax/Highlight/Engine/Kate/Yacc_Bison.pm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Syntax/Highlight/Engine/Kate/.packlist -%%PORTDOCS%%%%EXAMPLESDIR%%/hlansi.pl -%%PORTDOCS%%%%EXAMPLESDIR%%/hlhtml.pl -%%PORTDOCS%%%%EXAMPLESDIR%%/regen.pl -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hlansi.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hlhtml.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/regen.pl +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Syntax/Highlight/Engine/Kate @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Syntax/Highlight/Engine @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Syntax/Highlight Modified: head/textproc/p5-Text-ParagraphDiff/Makefile ============================================================================== --- head/textproc/p5-Text-ParagraphDiff/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/p5-Text-ParagraphDiff/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -23,13 +23,13 @@ SCRIPTS= tdiff EXAMPLES= diff.html new.txt old.txt EXAMPLESDIR= ${PREFIX}/share/examples/p5-Text-ParagraphDiff +OPTIONS_DEFINE= EXAMPLES + post-install: -.if !defined(NOPORTDOCS) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/bin && \ ${INSTALL_SCRIPT} ${SCRIPTS} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && \ ${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR} -.endif .include <bsd.port.mk> Modified: head/textproc/p5-Text-ParagraphDiff/pkg-plist ============================================================================== --- head/textproc/p5-Text-ParagraphDiff/pkg-plist Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/p5-Text-ParagraphDiff/pkg-plist Fri Jul 4 22:50:40 2014 (r360676) @@ -1,11 +1,11 @@ %%PERL5_MAN3%%/Text::ParagraphDiff.3.gz %%SITE_PERL%%/Text/ParagraphDiff.pm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/ParagraphDiff/.packlist -%%PORTDOCS%%%%EXAMPLESDIR%%/diff.html -%%PORTDOCS%%%%EXAMPLESDIR%%/new.txt -%%PORTDOCS%%%%EXAMPLESDIR%%/old.txt -%%PORTDOCS%%%%EXAMPLESDIR%%/tdiff -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/diff.html +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/new.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/old.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tdiff +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/ParagraphDiff @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text @dirrmtry %%SITE_PERL%%/Text Modified: head/textproc/p5-WDDX/Makefile ============================================================================== --- head/textproc/p5-WDDX/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/p5-WDDX/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -18,10 +18,10 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure +OPTIONS_DEFINE= DOCS + post-install: -.if !defined(NOPORTDOCS) @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Changes ${STAGEDIR}${DOCSDIR} -.endif .include <bsd.port.mk> Modified: head/textproc/p5-XML-DTDParser/Makefile ============================================================================== --- head/textproc/p5-XML-DTDParser/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/p5-XML-DTDParser/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -13,13 +13,13 @@ COMMENT= Perl module for parsing XML DTD 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/textproc/p5-XML-SAX-Machines/Makefile ============================================================================== --- head/textproc/p5-XML-SAX-Machines/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/p5-XML-SAX-Machines/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -19,14 +19,14 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure +OPTIONS_DEFINE= EXAMPLES + regression-test: build ${MAKE} -C ${WRKSRC} test post-install: -.ifndef(NOPORTEXAMPLES) @${ECHO_MSG} "===> Installing examples for ${PKGNAME}" @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} -.endif .include <bsd.port.mk> Modified: head/textproc/p5-XML-STX/Makefile ============================================================================== --- head/textproc/p5-XML-STX/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/p5-XML-STX/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -18,6 +18,8 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure patch +OPTIONS_DEFINE= DOCS EXAMPLES + post-extract: @${MKDIR} ${WRKSRC}/scripts @${MV} ${WRKSRC}/stx*.pl ${WRKSRC}/scripts @@ -29,13 +31,11 @@ post-configure: @${PERL} -pi -e 's/^(POD2MAN_EXE.*)$$/\1 --lax/;' ${WRKSRC}/Makefile post-install: -.ifndef(NOPORTDOCS) @${ECHO_MSG} "===> Installing additional documentation for ${PKGNAME}" @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} @${ECHO_MSG} "===> Installing examples for ${PKGNAME}" @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} -.endif .include <bsd.port.mk> Modified: head/textproc/p5-XML-STX/pkg-plist ============================================================================== --- head/textproc/p5-XML-STX/pkg-plist Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/p5-XML-STX/pkg-plist Fri Jul 4 22:50:40 2014 (r360676) @@ -24,9 +24,9 @@ bin/stxview.pl %%PORTDOCS%%%%DOCSDIR%%/STX.html %%PORTDOCS%%%%DOCSDIR%%/TrAXref.html %%PORTDOCS%%%%DOCSDIR%%/TrAXref.pod -%%PORTDOCS%%%%EXAMPLESDIR%%/stx-filter.pl -%%PORTDOCS%%%%EXAMPLESDIR%%/tester.pl -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stx-filter.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tester.pl +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% %%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/STX @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML Modified: head/textproc/p5-XML-Validator-Schema/Makefile ============================================================================== --- head/textproc/p5-XML-Validator-Schema/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/p5-XML-Validator-Schema/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -19,13 +19,13 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure -.if !defined(NOPORTDOCS) +OPTIONS_DEFINE= DOCS + PORTDOCS= ANNOUNCE 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/textproc/p5-xmltv/Makefile ============================================================================== --- head/textproc/p5-xmltv/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/p5-xmltv/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -49,9 +49,10 @@ USE_PERL5= configure DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} -.ifdef(NOPORTDOCS) -EXTRA_PATCHES+= ${FILESDIR}/extra-noportdocs-patch-Makefile.PL -.else +OPTIONS_DEFINE= DOCS + +DOCS_EXTRA_PATCHES= ${FILESDIR}/extra-noportdocs-patch-Makefile.PL + PORTDOCS= COPYING \ QuickStart \ README \ @@ -59,7 +60,6 @@ PORTDOCS= COPYING \ README.win32 \ tv_check_doc.html \ tv_check_doc.jpg -.endif # idea taken from devel/cvsweb port # Specify these directories in relative paths to ${PREFIX}. Modified: head/textproc/re_graph/Makefile ============================================================================== --- head/textproc/re_graph/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/re_graph/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -22,16 +22,14 @@ USE_PERL5= run PLIST_FILES= bin/re_graph -.if !defined(NOPORTDOCS) +OPTIONS_DEFINE= DOCS + PORTDOCS= * -.endif do-install: ${INSTALL_SCRIPT} ${WRKSRC}/re_graph.pl ${STAGEDIR}${PREFIX}/bin/re_graph -.if !defined(NOPORTDOCS) @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/re_graph.html ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/tut* ${STAGEDIR}${DOCSDIR} -.endif .include <bsd.port.mk> Modified: head/textproc/saxon-devel/Makefile ============================================================================== --- head/textproc/saxon-devel/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/saxon-devel/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -29,12 +29,12 @@ NO_BUILD= yes CONFLICTS= saxon-6.* +OPTIONS_DEFINE= DOCS + JARFILES= saxon9-sql.jar saxon9.jar saxon9-xpath.jar saxon9-dom.jar \ saxon9-xqj.jar saxon9-s9api.jar PLIST_FILES+= ${JARFILES:S,^,%%JAVAJARDIR%%/,} bin/saxon bin/saxon-xquery -.if !defined(NOPORTDOCS) PORTDOCS= * -.endif .include <bsd.port.options.mk> @@ -61,17 +61,17 @@ do-install: @${MKDIR} ${STAGEDIR}${JAVAJARDIR} .for file in ${JARFILES} @${ECHO_MSG} -n " ${file}" - @${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${JAVAJARDIR}/ + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${JAVAJARDIR}/ .endfor @${ECHO_MSG} " [ DONE ]" .if ${PORT_OPTIONS:MDOCS} @${ECHO_MSG} -n ">> Installing samples in ${EXAMPLESDIR}/..." - @cd ${WRKSRC}/samples/ \ + cd ${WRKSRC}/samples/ \ && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/{} \; \ && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${EXAMPLESDIR}/{} \; @${ECHO_MSG} " [ DONE ]" @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}/..." - @cd ${WRKSRC}/doc/ \ + cd ${WRKSRC}/doc/ \ && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \ && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \; @${ECHO_MSG} " [ DONE ]" @@ -79,15 +79,15 @@ do-install: @${ECHO_MSG} -n ">> Installing scripts in ${PREFIX}/bin..." .for scriptfile in saxon saxon-xquery @${ECHO_MSG} -n " ${scriptfile}" - @${INSTALL_SCRIPT} ${WRKSRC}/saxon.sh ${STAGEDIR}${PREFIX}/bin/${scriptfile} + ${INSTALL_SCRIPT} ${WRKSRC}/saxon.sh ${STAGEDIR}${PREFIX}/bin/${scriptfile} .endfor @${ECHO_MSG} " [ DONE ]" .if ${PORT_OPTIONS:MDOCS} post-install: - @${FIND} -s ${WRKSRC}/samples -not -type d | \ + ${FIND} -s ${WRKSRC}/samples -not -type d | \ ${SED} -ne 's,^${WRKSRC}/samples,${EXAMPLESDIR:S,${PREFIX}/,,},p' >> ${TMPPLIST} - @${FIND} -s -d ${WRKSRC}/samples -type d | \ + ${FIND} -s -d ${WRKSRC}/samples -type d | \ ${SED} -ne 's,^${WRKSRC}/samples,@dirrm ${EXAMPLESDIR:S,${PREFIX}/,,},p' >> ${TMPPLIST} .endif Modified: head/textproc/saxon/Makefile ============================================================================== --- head/textproc/saxon/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/saxon/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -22,15 +22,15 @@ NO_BUILD= yes CONFLICTS= saxon-devel-8.* +OPTIONS_DEFINE= DOCS + JARFILES= saxon-jdom.jar saxon.jar PLIST_FILES+= ${JARFILES:S,^,%%JAVAJARDIR%%/,} bin/saxon -.if !defined(NOPORTDOCS) PORTDOCS= api api-guide.html changes.html conditions.html \ conformance.html dtdgen.html expressions.html \ extensibility.html extensions.html index.html \ instant.html limitations.html patterns.html samples.html \ saxon-style.css using-xsl.html xsl-elements.html -.endif SUB_LIST= SAXON_JARS="${JARFILES:S,^,${JAVAJARDIR}/,}" SUB_FILES= saxon.sh @@ -39,23 +39,21 @@ do-install: @${ECHO_MSG} -n ">> Installing JARs in ${JAVAJARDIR}..." .for JARFILE in ${JARFILES} @${ECHO_MSG} -n " ${JARFILE}" - @${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}/ + ${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}/ .endfor @${ECHO_MSG} " [ DONE ]" @${ECHO_MSG} -n ">> Installing samples in ${EXAMPLESDIR}..." - @cd ${WRKSRC}/samples/ && \ + cd ${WRKSRC}/samples/ && \ ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/{} \; && \ ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${EXAMPLESDIR}/{} \; @${ECHO_MSG} " [ DONE ]" -.if !defined(NOPORTDOCS) @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." - @cd ${WRKSRC}/doc/ && \ + cd ${WRKSRC}/doc/ && \ ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; && \ ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \; @${ECHO_MSG} " [ DONE ]" -.endif @${ECHO_MSG} -n ">> Installing script in ${PREFIX}/bin..." - @${INSTALL_SCRIPT} ${WRKDIR}/saxon.sh ${STAGEDIR}${PREFIX}/bin/saxon + ${INSTALL_SCRIPT} ${WRKDIR}/saxon.sh ${STAGEDIR}${PREFIX}/bin/saxon @${ECHO_MSG} " [ DONE ]" .include <bsd.port.mk> Modified: head/textproc/sdf/Makefile ============================================================================== --- head/textproc/sdf/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/sdf/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -15,10 +15,10 @@ COMMENT= Simple Document Format - "autho USES= perl5 USE_PERL5= configure +OPTIONS_DEFINE= DOCS + post-install: -.if !defined(NOPORTDOCS) @${MKDIR} ${STAGEDIR}${DOCSDIR} - @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) -.endif + (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include <bsd.port.mk> Modified: head/textproc/sgmls/Makefile ============================================================================== --- head/textproc/sgmls/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/sgmls/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -18,22 +18,22 @@ INSTALL_TARGET= install install.man PROGS= sgmls sgmlsasp rast PKGDOCS= ChangeLog INSTALL LICENSE NEWS README TODO +OPTIONS_DEFINE= DOCS + post-patch: - @${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/Makefile + ${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/Makefile post-build: .for file in ${PROGS} - @${STRIP_CMD} ${WRKSRC}/${file} + ${STRIP_CMD} ${WRKSRC}/${file} .endfor - @cd ${WRKSRC} && ${MAKE} test + cd ${WRKSRC} && ${MAKE} test post-install: -.if !defined(NOPORTDOCS) @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}" @-${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PKGDOCS} - @${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include <bsd.port.mk> Modified: head/textproc/uim-el/Makefile ============================================================================== --- head/textproc/uim-el/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/uim-el/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -18,6 +18,8 @@ CONFLICTS?= uim-el-xemacs21-mule-[0-9]* RUN_DEPENDS= uim-el-agent:${PORTSDIR}/textproc/uim +OPTIONS_DEFINE= DOCS + USE_BZIP2= yes USE_PERL5= build USE_GNOME= intltool @@ -36,12 +38,10 @@ LIBS+= -L${LOCALBASE}/lib DOCSDIR_JA= ${PREFIX}/share/doc/ja/uim-el PLIST_SUB+= DOCSDIR_JA="${DOCSDIR_JA:S,^${PREFIX}/,,}" -.if !defined(NOPORTDOCS) post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR_JA} ${INSTALL_DATA} ${WRKSRC}/emacs/README ${STAGEDIR}${DOCSDIR}/README ${INSTALL_DATA} ${WRKSRC}/emacs/README.ja ${STAGEDIR}${DOCSDIR_JA}/README.ja -.endif .include <bsd.port.mk> Modified: head/textproc/uim/Makefile ============================================================================== --- head/textproc/uim/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/uim/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -21,13 +21,17 @@ USES= gettext gmake iconv pkgconfig per USE_PERL5= build GNU_CONFIGURE= yes -.if !defined(WITHOUT_X11) +OPTIONS_DEFINE= DOCS X11 + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MX11} LIB_DEPENDS+= libXft.so:${PORTSDIR}/x11-fonts/libXft CONFIGURE_ARGS+= --with-x --with-xft .endif .if !defined(UIM_SLAVE) -.if !defined(WITHOUT_X11) +.if ${PORT_OPTIONS:MX11} USE_GNOME+= gtk20 CONFIGURE_ARGS+= --with-gtk2 .endif @@ -45,7 +49,7 @@ PLIST_SUB= DOCSDIR_JA="${DOCSDIR_JA:S,^$ DOCSDIR_SIGSCHEME="${DOCSDIR_SIGSCHEME:S,^${PREFIX}/,,}" .endif -.if defined(WITHOUT_X11) +.if empty(PORT_OPTIONS:MX11) PLIST_SUB+= X11="@comment " .else PLIST_SUB+= X11="" @@ -80,7 +84,7 @@ do-build: .for d in replace sigscheme uim scm xim po fep emacs pixmaps tables cd ${WRKSRC}/${d} && ${MAKE_CMD} .endfor -.if !defined(WITHOUT_X11) +.if ${PORT_OPTIONS:MX11} cd ${WRKSRC}/gtk2/candwin && ${MAKE_CMD} .endif .endif @@ -91,7 +95,7 @@ do-install: .for d in sigscheme uim scm xim po fep emacs pixmaps tables cd ${WRKSRC}/${d} && ${MAKE_CMD} DESTDIR=${STAGEDIR} install .endfor -.if !defined(WITHOUT_X11) +.if ${PORT_OPTIONS:MX11} cd ${WRKSRC}/gtk2/candwin && ${MAKE_CMD} DESTDIR=${STAGEDIR} install .endif .endif @@ -99,7 +103,6 @@ do-install: .if !defined(UIM_SLAVE) post-install: ${MKDIR} ${STAGEDIR}${DATADIR}/helperdata -.if !defined(NOPORTDOCS) ${MKDIR} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR_JA} ${INSTALL_DATA} ${WRKSRC}/doc/KEY ${STAGEDIR}${DOCSDIR}/KEY @@ -108,6 +111,5 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/fep/README.ja ${STAGEDIR}${DOCSDIR_JA}/README.fep ${INSTALL_DATA} ${WRKSRC}/xim/README ${STAGEDIR}${DOCSDIR}/README.xim .endif -.endif .include <bsd.port.post.mk> Modified: head/textproc/uml2svg/Makefile ============================================================================== --- head/textproc/uml2svg/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/uml2svg/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -13,14 +13,12 @@ NO_BUILD= yes INSTDIR= share/xsl/uml2svg -.include <bsd.port.pre.mk> +OPTIONS_DEFINE= DOCS do-install: -.if !defined(NOPORTDOCS) ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc && ${TAR} -cf - . |\ ${TAR} -xf - -C ${STAGEDIR}${DOCSDIR}) -.endif ${MKDIR} ${STAGEDIR}${PREFIX}/${INSTDIR}/xsl dirs=$$(${FIND} ${WRKSRC}/src/xsl -type d | ${SED} 's|^${WRKSRC}/src/xsl||g'); \ for d in $${dirs}; do \ @@ -36,4 +34,4 @@ do-install: done ${INSTALL_DATA} ${WRKSRC}/src/uml2svg.xsl ${STAGEDIR}${PREFIX}/${INSTDIR}/ -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/textproc/xincluder/Makefile ============================================================================== --- head/textproc/xincluder/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/xincluder/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -21,32 +21,30 @@ NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME} +OPTIONS_DEFINE= DOCS + SUFFIXES= -sax -dom -jdom PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar bin/xincluder ${SUFFIXES:S,^,bin/xincluder,} -.if !defined(NOPORTDOCS) PORTDOCS= apidoc index.html -.endif SUB_FILES= xincluder.sh do-install: @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..." @${MKDIR} ${STAGEDIR}${JAVAJARDIR} - @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/ + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/ @${ECHO_MSG} " [ DONE ]" @${ECHO_MSG} -n ">> Installing scripts in ${PREFIX}/bin..." @${ECHO_MSG} -n " xincluder" - @${INSTALL_SCRIPT} ${WRKDIR}/xincluder.sh ${STAGEDIR}${PREFIX}/bin/xincluder + ${INSTALL_SCRIPT} ${WRKDIR}/xincluder.sh ${STAGEDIR}${PREFIX}/bin/xincluder .for suffix in ${SUFFIXES} @${ECHO_MSG} -n " xincluder${suffix}" - @${LN} -s xincluder ${STAGEDIR}${PREFIX}/bin/xincluder${suffix} + ${LN} -s xincluder ${STAGEDIR}${PREFIX}/bin/xincluder${suffix} .endfor @${ECHO_MSG} " [ DONE ]" -.if !defined(NOPORTDOCS) @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." - @cd ${WRKSRC} \ + cd ${WRKSRC} \ && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \ && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \; @${ECHO_MSG} " [ DONE ]" -.endif .include <bsd.port.mk> Modified: head/textproc/xmlenc/Makefile ============================================================================== --- head/textproc/xmlenc/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/xmlenc/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -14,12 +14,11 @@ COMMENT= Light-weight XML encoding libra USE_JAVA= yes USE_ANT= yes -.if defined(NOPORTDOCS) +OPTIONS_DEFINE= DOCS + ALL_TARGET= jar -.else -ALL_TARGET= jar javadoc +DOCS_ALL_TARGET=${ALL_TARGET} javadoc PORTDOCS= * -.endif JARFILE= ${PORTNAME}.jar PLIST_FILES= %%JAVAJARDIR%%/${JARFILE} @@ -38,7 +37,7 @@ do-install: @${INSTALL_DATA} ${WRKSRC}/build/${JARFILE} ${STAGEDIR}${JAVAJARDIR}/ @${ECHO_MSG} " [ DONE ]" -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}/..." @cd ${WRKSRC}/build/javadoc/ \ && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \ Modified: head/textproc/xom/Makefile ============================================================================== --- head/textproc/xom/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/xom/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -20,27 +20,22 @@ NO_BUILD= yes WRKSRC= ${WRKDIR}/XOM PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar -.if !defined(NOPORTDOCS) PORTDOCS= overview.html apidocs -PLIST_FILES+= %%EXAMPLESDIR%%/xom-samples.jar -PLIST_DIRS= %%EXAMPLESDIR%% -.endif +PORTEXAMPLES= xom-samples.jar do-install: @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..." @${MKDIR} ${STAGEDIR}${JAVAJARDIR} - @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar @${ECHO_MSG} " [ DONE ]" -.if !defined(NOPORTDOCS) @${ECHO_MSG} -n ">> Installing samples in ${EXAMPLESDIR}..." @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @${INSTALL_DATA} ${WRKSRC}/xom-samples.jar ${STAGEDIR}${EXAMPLESDIR}/ @${ECHO_MSG} " [ DONE ]" @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." @${MKDIR} ${STAGEDIR}${DOCSDIR}/apidocs - @cd ${WRKSRC}/ && ${FIND} ${PORTDOCS} \ + cd ${WRKSRC}/ && ${FIND} ${PORTDOCS} \ | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} > /dev/null 2>&1 @${ECHO_MSG} " [ DONE ]" -.endif .include <bsd.port.mk> Modified: head/textproc/xt/Makefile ============================================================================== --- head/textproc/xt/Makefile Fri Jul 4 22:35:40 2014 (r360675) +++ head/textproc/xt/Makefile Fri Jul 4 22:50:40 2014 (r360676) @@ -19,10 +19,10 @@ USE_JAVA= YES JAVA_VERSION= 1.6+ NO_BUILD= YES -.if !defined(NOPORTDOCS) +OPTIONS_DEFINE= DOCS + OTHERDOCS= copying.txt copyingjc.txt index.html PORTDOCS= ${OTHERDOCS} api -.endif SAMPLES= date.xsl nxml.xsl slides.xml slides.xsl sort-uniq.xml \ sort-uniq.xsl split.xml split.xsl textfile.xml textfile.xsl @@ -43,13 +43,11 @@ do-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/demo && ${INSTALL_DATA} ${SAMPLES} ${STAGEDIR}${EXAMPLESDIR}/ @${ECHO_MSG} " [ DONE ]" -.if !defined(NOPORTDOCS) @${ECHO_MSG} ">> Installing documentation in ${DOCSDIR}..." ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${FIND} api \ | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} > /dev/null 2>&1 cd ${WRKSRC} && ${INSTALL_DATA} ${OTHERDOCS} ${STAGEDIR}${DOCSDIR}/ @${ECHO_MSG} " [ DONE ]" -.endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407042250.s64MoeKH030318>