1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/devel/apache-rat/Makefile
Dmitry Marakasov a6647be0a9 - Add LICENSE_FILE
- Add NO_ARCH
- Simplify installation
2017-04-10 11:34:48 +00:00

41 lines
895 B
Makefile

# Created by: Pedro Giffuni
# $FreeBSD$
PORTNAME= apache-rat
PORTVERSION= 0.12
CATEGORIES= devel java
MASTER_SITES= APACHE/creadur/${PORTNAME}-${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-bin
MAINTAINER= ports@FreeBSD.org
COMMENT= Release audit tool
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= tar:bzip2
USE_JAVA= yes
NO_BUILD= yes
NO_ARCH= yes
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
PORTDOCS= README-ANT.txt README-CLI.txt README.txt
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
SUB_FILES= apache-rat.sh
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar \
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
${INSTALL_SCRIPT} ${WRKDIR}/apache-rat.sh ${STAGEDIR}${PREFIX}/bin/apache-rat
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>