From owner-svn-ports-all@FreeBSD.ORG Fri Jul 4 00:09:51 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 131AC515; Fri, 4 Jul 2014 00:09:51 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F154D2428; Fri, 4 Jul 2014 00:09:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6409oPl072225; Fri, 4 Jul 2014 00:09:50 GMT (envelope-from adamw@svn.freebsd.org) Received: (from adamw@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6409l70072200; Fri, 4 Jul 2014 00:09:47 GMT (envelope-from adamw@svn.freebsd.org) Message-Id: <201407040009.s6409l70072200@svn.freebsd.org> From: Adam Weinberger Date: Fri, 4 Jul 2014 00:09:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360491 - in head/graphics: SciPlot cairomm cfdg cimg epstool gimpfx-foundry glexcess gqview nip2 p5-Image-IPTCInfo p5-Image-Imlib2 p5-PGPLOT pngnq py-graphy ruby-tgif wmicons xd3d X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jul 2014 00:09:51 -0000 Author: adamw Date: Fri Jul 4 00:09:47 2014 New Revision: 360491 URL: http://svnweb.freebsd.org/changeset/ports/360491 QAT: https://qat.redports.org/buildarchive/r360491/ Log: Remove NOPORTDOCS and NOPORTEXAMPLES. Modified: head/graphics/SciPlot/Makefile head/graphics/cairomm/Makefile head/graphics/cfdg/Makefile head/graphics/cimg/Makefile head/graphics/epstool/Makefile head/graphics/gimpfx-foundry/Makefile head/graphics/glexcess/Makefile head/graphics/gqview/Makefile head/graphics/nip2/Makefile head/graphics/p5-Image-IPTCInfo/Makefile head/graphics/p5-Image-Imlib2/Makefile head/graphics/p5-PGPLOT/Makefile head/graphics/pngnq/Makefile head/graphics/py-graphy/Makefile head/graphics/ruby-tgif/Makefile head/graphics/wmicons/Makefile head/graphics/xd3d/Makefile Modified: head/graphics/SciPlot/Makefile ============================================================================== --- head/graphics/SciPlot/Makefile Thu Jul 3 23:59:50 2014 (r360490) +++ head/graphics/SciPlot/Makefile Fri Jul 4 00:09:47 2014 (r360491) @@ -26,6 +26,8 @@ PORTDOCS= README SciPlot.html SciPlotDem EXDATA= data.txt EXBINS= realtime sciplot +OPTIONS_DEFINE= DOCS EXAMPLES + do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME} ${INSTALL_DATA} ${INCLUDES:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/include/${PORTNAME} @@ -34,14 +36,10 @@ do-install: ${LN} -sf ${LIBNAME}.so.0 ${STAGEDIR}${PREFIX}/lib/${LIBNAME}.so post-install: -.if !defined(NOPORTDOCS) ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} -.endif -.if !defined(NOPORTEXAMPLES) ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${EXDATA:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_PROGRAM} ${EXBINS:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR} -.endif .include Modified: head/graphics/cairomm/Makefile ============================================================================== --- head/graphics/cairomm/Makefile Thu Jul 3 23:59:50 2014 (r360490) +++ head/graphics/cairomm/Makefile Fri Jul 4 00:09:47 2014 (r360491) @@ -22,10 +22,13 @@ CONFIGURE_ENV= AUTOMAKE="${TRUE}" AUTOCO CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -.if defined(NOPORTDOCS) -CONFIGURE_ARGS+= --disable-documentation +OPTIONS_DEFINE= DOCS -.else +DOCS_CONFIGURE_ARGS_OFF= --disable-documentation + +.include + +.if empty(PORT_OPTIONS:MDOCS) post-configure: @${TOUCH} -f ${WRKSRC}/docs/reference/html/index.html .endif Modified: head/graphics/cfdg/Makefile ============================================================================== --- head/graphics/cfdg/Makefile Thu Jul 3 23:59:50 2014 (r360490) +++ head/graphics/cfdg/Makefile Fri Jul 4 00:09:47 2014 (r360491) @@ -24,15 +24,13 @@ USES= gmake NO_INSTALL_MANPAGES= yes PLIST_FILES= bin/cfdg -.if !defined(NOPORTEXAMPLES) PORTEXAMPLES= * -.endif + +OPTIONS_DEFINE= EXAMPLES do-install: ${INSTALL_PROGRAM} ${WRKSRC}/cfdg ${STAGEDIR}${PREFIX}/bin -.if !defined(NOPORTEXAMPLES) ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/input/* ${STAGEDIR}${EXAMPLESDIR} -.endif .include Modified: head/graphics/cimg/Makefile ============================================================================== --- head/graphics/cimg/Makefile Thu Jul 3 23:59:50 2014 (r360490) +++ head/graphics/cimg/Makefile Fri Jul 4 00:09:47 2014 (r360491) @@ -33,7 +33,11 @@ MAKE_ENV= X11PATH=${LOCALBASE} LOCALBASE CPPFLAGS+= ${CFLAGS} ${PTHREAD_CFLAGS} LDFLAGS+= ${PTHREAD_LIBS} -.if !defined(NOPORTDOCS) +OPTIONS_DEFINE= DOCS EXAMPLES + +.include + +.if ${PORT_OPTIONS:MDOCS} USES+= gmake REINPLACE_ARGS= -i "" LIB_DEPENDS+= libboard.so:${PORTSDIR}/graphics/libboard @@ -83,7 +87,7 @@ NO_BUILD= yes .include -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} . if !defined(WITHOUT_LAPACK) . if exists(${LOCALBASE}/lib/libatlas.so) && !defined(WITH_BLAS) WITH_ATLAS= yes @@ -100,7 +104,7 @@ LAPACK_LIB= -L${LOCALBASE}/lib -llapack .endif pre-configure: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e 's|make|${MAKE_CMD}|' ${BUILD_WRKSRC}/Makefile .else ${REINPLACE_CMD} -e 's|^OPTFLAGS|#OPTFLAGS|' ${BUILD_WRKSRC}/Makefile @@ -121,13 +125,13 @@ pre-configure: do-install: ${INSTALL_DATA} ${WRKSRC}/CImg.h ${STAGEDIR}${PREFIX}/include -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${INSTALL_PROGRAM} ${PROGS:C|^|${BUILD_WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCBASE:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/html && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR} .endif -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} -R ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} @(cd ${STAGEDIR}${EXAMPLESDIR} && ${MAKE_CMD} clean) Modified: head/graphics/epstool/Makefile ============================================================================== --- head/graphics/epstool/Makefile Thu Jul 3 23:59:50 2014 (r360490) +++ head/graphics/epstool/Makefile Fri Jul 4 00:09:47 2014 (r360491) @@ -24,17 +24,15 @@ MAKE_JOBS_UNSAFE= yes PLIST_FILES= bin/epstool man/man1/epstool.1.gz -.if !defined(NOPORTDOCS) +OPTIONS_DEFINE= DOCS + PORTDOCS= epstool.htm gsview.css -.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/epstool ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/epstool.1 ${STAGEDIR}${MANPREFIX}/man/man1 -.if !defined(NOPORTDOCS) @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/epstool.htm ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/gsview.css ${STAGEDIR}${DOCSDIR} -.endif .include Modified: head/graphics/gimpfx-foundry/Makefile ============================================================================== --- head/graphics/gimpfx-foundry/Makefile Thu Jul 3 23:59:50 2014 (r360490) +++ head/graphics/gimpfx-foundry/Makefile Fri Jul 4 00:09:47 2014 (r360491) @@ -20,14 +20,14 @@ NO_WRKSUBDIR= yes PORTDOCS= release-notes.txt +OPTIONS_DEFINE= DOCS + do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/gimp/scripts/ ${INSTALL_DATA} ${WRKSRC}/*.scm ${STAGEDIR}${PREFIX}/share/gimp/scripts/ post-install: -.if !defined(NOPORTDOCS) ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/release-notes.txt ${STAGEDIR}${DOCSDIR} -.endif .include Modified: head/graphics/glexcess/Makefile ============================================================================== --- head/graphics/glexcess/Makefile Thu Jul 3 23:59:50 2014 (r360490) +++ head/graphics/glexcess/Makefile Fri Jul 4 00:09:47 2014 (r360491) @@ -16,6 +16,8 @@ USE_GL= glut MAKE_ARGS= 'CXXFLAGS=${CXXFLAGS} -I${LOCALBASE}/include -pipe -s -O2' \ 'LDFLAGS=-L${LOCALBASE}/lib -lGL -lGLU -lglut' +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/scene*.cpp @${REINPLACE_CMD} -e 's|k_InitGL(GLvoid)|k_InitGL(void)|' ${WRKSRC}/scene12.cpp @@ -26,9 +28,7 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/glxs ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/data/*.raw ${STAGEDIR}${DATADIR} -.if !defined(NOPORTDOCS) ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/ReadMe.txt ${STAGEDIR}${DOCSDIR} -.endif .include Modified: head/graphics/gqview/Makefile ============================================================================== --- head/graphics/gqview/Makefile Thu Jul 3 23:59:50 2014 (r360490) +++ head/graphics/gqview/Makefile Fri Jul 4 00:09:47 2014 (r360491) @@ -41,15 +41,13 @@ post-patch: ${WRKSRC}/doc/Makefile.in @${REINPLACE_CMD} -e 's| -r %F||' \ ${WRKSRC}/gqview.desktop -.if defined(NOPORTDOCS) +.if empty(PORT_OPTIONS:MDOCS) @${REINPLACE_CMD} -e 's|doc$$||' ${WRKSRC}/Makefile.in .endif post-install: ${INSTALL_DATA} ${WRKSRC}/gqview.png ${STAGEDIR}${PREFIX}/share/pixmaps -.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} -.endif .include Modified: head/graphics/nip2/Makefile ============================================================================== --- head/graphics/nip2/Makefile Thu Jul 3 23:59:50 2014 (r360490) +++ head/graphics/nip2/Makefile Fri Jul 4 00:09:47 2014 (r360491) @@ -28,7 +28,7 @@ DOS2UNIX_GLOB= *.def SUB_FILES= run-nip2.sh # This port has no man-pages. It installs a number of HTML files, # which are available through the GUI's Help. For this reason, they -# are always installed, regardless of the NOPORTDOCS setting. +# are always installed, regardless of the DOCS setting. # Somehow vendor's configure misses these: MAKE_ENV+= UPDATE_MIME_DATABASE=update-mime-database \ UPDATE_DESKTOP_DATABASE=update-desktop-database @@ -51,10 +51,10 @@ test check: build # ${GMAKE} -C ${WRKSRC} check -.include +.include -.if ! ${PORT_OPTIONS:MDOCS} +.if empty(PORT_OPTIONS:MDOCS) EXTRACT_AFTER_ARGS+= --exclude nipguide.pdf --exclude pdf .endif -.include +.include Modified: head/graphics/p5-Image-IPTCInfo/Makefile ============================================================================== --- head/graphics/p5-Image-IPTCInfo/Makefile Thu Jul 3 23:59:50 2014 (r360490) +++ head/graphics/p5-Image-IPTCInfo/Makefile Fri Jul 4 00:09:47 2014 (r360491) @@ -14,13 +14,13 @@ USES= perl5 shebangfix USE_PERL5= configure SHEBANG_FILES= demo.pl +OPTIONS_DEFINE= DOCS + post-patch: @${RM} -f ${WRKSRC}/._* -.if !defined(NOPORTDOCS) post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/demo_images/* ${STAGEDIR}${EXAMPLESDIR} -.endif .include Modified: head/graphics/p5-Image-Imlib2/Makefile ============================================================================== --- head/graphics/p5-Image-Imlib2/Makefile Thu Jul 3 23:59:50 2014 (r360490) +++ head/graphics/p5-Image-Imlib2/Makefile Fri Jul 4 00:09:47 2014 (r360491) @@ -17,7 +17,8 @@ USES= perl5 USE_PERL5= modbuild USE_EFL= imlib2 -.if !defined(NOPORTDOCS) +OPTIONS_DEFINE= DOCS EXAMPLES + PORTDOCS= CHANGES EXAMPLES= examples/benchmark.pl examples/benchmark.txt examples/maeda.pl @@ -28,6 +29,5 @@ post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR} @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}." -.endif .include Modified: head/graphics/p5-PGPLOT/Makefile ============================================================================== --- head/graphics/p5-PGPLOT/Makefile Thu Jul 3 23:59:50 2014 (r360490) +++ head/graphics/p5-PGPLOT/Makefile Fri Jul 4 00:09:47 2014 (r360491) @@ -19,11 +19,11 @@ INSTALL_TARGET= pure_install SCRIPTS_ENV= PERL=${PERL} USES= fortran perl5 -.if !defined(NOPORTEXAMPLES) +OPTIONS_DEFINE= EXAMPLES + post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC} && ${INSTALL_DATA} LICENSE test* ${STAGEDIR}${EXAMPLESDIR}) -.endif .if defined(MAINTAINER_MODE) && !defined(BATCH) check regression-test test: build Modified: head/graphics/pngnq/Makefile ============================================================================== --- head/graphics/pngnq/Makefile Thu Jul 3 23:59:50 2014 (r360490) +++ head/graphics/pngnq/Makefile Fri Jul 4 00:09:47 2014 (r360491) @@ -24,12 +24,12 @@ USES= pkgconfig PORTDOCS= README COPYING PLIST_FILES= bin/pngcomp bin/pngnq man/man1/pngnq.1.gz +OPTIONS_DEFINE= DOCS + post-install: -.if !defined(NOPORTDOCS) @${MKDIR} ${STAGEDIR}/${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}/${DOCSDIR} .endfor -.endif .include Modified: head/graphics/py-graphy/Makefile ============================================================================== --- head/graphics/py-graphy/Makefile Thu Jul 3 23:59:50 2014 (r360490) +++ head/graphics/py-graphy/Makefile Fri Jul 4 00:09:47 2014 (r360491) @@ -20,7 +20,7 @@ PORTEXAMPLES= * NO_BUILD= yes NO_INSTALL_MANPAGES= yes -.include +OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @${REINPLACE_CMD} -e 's|python2.4|${PYTHON_VERSION}|' \ @@ -33,13 +33,9 @@ do-install: @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME} @(cd ${WRKSRC}/${PORTNAME}/ && \ ${COPYTREE_SHARE} \* ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}) -.if !defined(NOPORTDOCS) @${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m 555 -d ${STAGEDIR}${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} -.endif -.if !defined(NOPORTEXAMPLES) @${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m 555 -d ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}) -.endif -.include +.include Modified: head/graphics/ruby-tgif/Makefile ============================================================================== --- head/graphics/ruby-tgif/Makefile Thu Jul 3 23:59:50 2014 (r360490) +++ head/graphics/ruby-tgif/Makefile Fri Jul 4 00:09:47 2014 (r360491) @@ -35,6 +35,8 @@ INSTALL_TARGET= site-install DOCS_EN= README DOCS_JA= ChangeLog.ja README.ja +OPTIONS_DEFINE= DOCS + .include .if ${ARCH} == "amd64" || ${ARCH} == "ia64" @@ -48,7 +50,6 @@ post-patch: ${RUBY} -i -pe 'gsub %r|\.\./|, "tgif/"' ${WRKSRC}/extconf.rb ${WRKSRC}/*.c post-install: -.if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODEXAMPLESDIR}/ja ${INSTALL_DATA} ${WRKSRC}/examples/test??.rb ${RUBY_MODEXAMPLESDIR}/ ${INSTALL_DATA} ${WRKSRC}/examples/test??_ja.rb ${RUBY_MODEXAMPLESDIR}/ja/ @@ -59,6 +60,5 @@ post-install: .for f in ${DOCS_JA} ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/ .endfor -.endif .include Modified: head/graphics/wmicons/Makefile ============================================================================== --- head/graphics/wmicons/Makefile Thu Jul 3 23:59:50 2014 (r360490) +++ head/graphics/wmicons/Makefile Fri Jul 4 00:09:47 2014 (r360491) @@ -26,6 +26,8 @@ PORTDOCS= * WRKSRC= ${WRKDIR}/WindowMaker-extra-0.1 WMICONDIR= ${STAGEDIR}${PREFIX}/share/WindowMaker/Pixmaps +OPTIONS_DEFINE= DOCS + post-extract: ${MKDIR} ${WRKDIR}/isiconpack4 ${TAR} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/isiconpack4.tgz \ @@ -52,7 +54,6 @@ post-install: cd ${WRKDIR}/vf_tif; \ ${INSTALL_DATA} *.tif ${WMICONDIR} -.if !defined(NOPORTDOCS) ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/IconFest-1.2/README \ ${STAGEDIR}${DOCSDIR}/README.IconFest @@ -70,6 +71,5 @@ post-install: ${STAGEDIR}${DOCSDIR}/README.vf_png ${INSTALL_DATA} ${WRKDIR}/vf_tif/README \ ${STAGEDIR}${DOCSDIR}/README.vf_tif -.endif .include Modified: head/graphics/xd3d/Makefile ============================================================================== --- head/graphics/xd3d/Makefile Thu Jul 3 23:59:50 2014 (r360490) +++ head/graphics/xd3d/Makefile Fri Jul 4 00:09:47 2014 (r360491) @@ -26,6 +26,8 @@ LICENSE= GPLv2 # - FFLAGS : fortran compiler's flags (-O by default). #-------------------------------------------------------------------------- +OPTIONS_DEFINE= DOCS EXAMPLES + .if !defined(WITHOUT_IMAGEMAGICK) RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick .endif @@ -76,15 +78,11 @@ pre-configure: ${WRKSRC}/RULES post-install: -.if !defined(NOPORTDOCS) ${MKDIR} ${STAGEDIR}${DOCSDIR} . for FILE in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} . endfor -.endif -.if !defined(NOPORTEXAMPLES) ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} -Rp ${WRKSRC}/Examples/* ${STAGEDIR}${EXAMPLESDIR} -.endif .include