Date: Tue, 13 May 2014 12:06:34 +0000 (UTC) From: Alex Dupre <ale@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353935 - head/print/pdf-renderer Message-ID: <201405131206.s4DC6YGo051787@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ale Date: Tue May 13 12:06:33 2014 New Revision: 353935 URL: http://svnweb.freebsd.org/changeset/ports/353935 QAT: https://qat.redports.org/buildarchive/r353935/ Log: Stagify. Modified: head/print/pdf-renderer/Makefile Modified: head/print/pdf-renderer/Makefile ============================================================================== --- head/print/pdf-renderer/Makefile Tue May 13 11:54:53 2014 (r353934) +++ head/print/pdf-renderer/Makefile Tue May 13 12:06:33 2014 (r353935) @@ -20,24 +20,27 @@ JAVA_VERSION= 1.6+ USE_ANT= yes ALL_TARGET= jar -.if !defined(NOPORTDOCS) -ALL_TARGET+= javadoc -.endif PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar PORTDOCS= * -NO_STAGE= yes +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MDOCS} +ALL_TARGET+= javadoc +.endif + do-install: @${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}.jar..." - @${INSTALL_DATA} ${WRKSRC}/dist/PDFRenderer.jar ${JAVAJARDIR}/${PORTNAME}.jar + @${INSTALL_DATA} ${WRKSRC}/dist/PDFRenderer.jar \ + ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar @${ECHO_MSG} " [DONE]" -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${ECHO_MSG} -n ">> Installing documentation..." - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC}/dist && ${FIND} javadoc \ - | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1 + | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} > /dev/null 2>&1 @${ECHO_MSG} " [DONE]" .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405131206.s4DC6YGo051787>