Date: Mon, 10 Apr 2017 11:34:48 +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: r438146 - head/devel/apache-rat Message-ID: <201704101134.v3ABYmh9098292@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Mon Apr 10 11:34:48 2017 New Revision: 438146 URL: https://svnweb.freebsd.org/changeset/ports/438146 Log: - Add LICENSE_FILE - Add NO_ARCH - Simplify installation Modified: head/devel/apache-rat/Makefile Modified: head/devel/apache-rat/Makefile ============================================================================== --- head/devel/apache-rat/Makefile Mon Apr 10 11:20:38 2017 (r438145) +++ head/devel/apache-rat/Makefile Mon Apr 10 11:34:48 2017 (r438146) @@ -11,11 +11,13 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Release audit tool LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE USES= tar:bzip2 USE_JAVA= yes -NO_BUILD= YES +NO_BUILD= yes +NO_ARCH= yes DATADIR= ${JAVASHAREDIR}/${PORTNAME} PORTDOCS= README-ANT.txt README-CLI.txt README.txt @@ -24,22 +26,15 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVER SUB_FILES= apache-rat.sh -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS do-install: - @${ECHO_MSG} ">> Installing JAR..." ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar \ - ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar - @${ECHO_MSG} " [ DONE ]" - @${ECHO_MSG} ">> Installing script..." + ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar ${INSTALL_SCRIPT} ${WRKDIR}/apache-rat.sh ${STAGEDIR}${PREFIX}/bin/apache-rat - @${ECHO_MSG} " [ DONE ]" -.if ${PORT_OPTIONS:MDOCS} +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - @${ECHO_MSG} ">> Installing documentation..." ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${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?201704101134.v3ABYmh9098292>