Date: Wed, 5 Oct 2016 09:01:50 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r423330 - head/databases/jakarta-commons-dbutils Message-ID: <201610050901.u9591oGS030239@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Oct 5 09:01:49 2016 New Revision: 423330 URL: https://svnweb.freebsd.org/changeset/ports/423330 Log: - Add NO_ARCH - Switch to options helpers - Simplify installation Modified: head/databases/jakarta-commons-dbutils/Makefile Modified: head/databases/jakarta-commons-dbutils/Makefile ============================================================================== --- head/databases/jakarta-commons-dbutils/Makefile Wed Oct 5 08:46:23 2016 (r423329) +++ head/databases/jakarta-commons-dbutils/Makefile Wed Oct 5 09:01:49 2016 (r423330) @@ -17,25 +17,21 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt USE_JAVA= yes JAVA_VERSION= 1.6+ NO_BUILD= yes +NO_ARCH= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar -OPTIONS_DEFINE= DOCS - PORTDOCS= * +OPTIONS_DEFINE= DOCS + do-install: - @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..." ${INSTALL_DATA} ${WRKSRC}/commons-dbutils-1.6.jar \ ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar - @${ECHO_MSG} " [DONE]" - @${ECHO_MSG} -n ">> Installing documentation..." + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - @cd ${WRKSRC}/apidocs && ${FIND} . \ - | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} > /dev/null 2>&1 - ${INSTALL_DATA} ${WRKSRC}/LICENSE.txt \ - ${STAGEDIR}${DOCSDIR}/ - @${ECHO_MSG} " [DONE]" + @cd ${WRKSRC}/apidocs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610050901.u9591oGS030239>