mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
f57bc4af66
If it is overwritten, many values will be clobbered, and pain will ensue. PR: 230864 Submitted by: mat exp-runs by: antoine
54 lines
1.1 KiB
Makefile
54 lines
1.1 KiB
Makefile
# Created by: Greg Larkin <glarkin@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= statcvs
|
|
PORTVERSION= 0.7.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel java
|
|
MASTER_SITES= SF/${PORTNAME}/Download%20StatCVS/${PORTVERSION}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= CVS repository activity report generator
|
|
|
|
LICENSE= LGPL21+
|
|
LICENSE_FILE= ${WRKSRC}/etc/LICENSE
|
|
|
|
BROKEN_armv6= fails to compile: build.xml: compilation failed
|
|
BROKEN_armv7= fails to compile: build.xml: compilation failed
|
|
|
|
USES= zip
|
|
USE_JAVA= yes
|
|
USE_ANT= yes
|
|
JAVA_VERSION= 1.6+
|
|
NO_ARCH= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
ALL_TARGET= jar
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PORTDOCS= *
|
|
PLIST_FILES= %%DATADIR%%/statcvs.jar
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
DOCS_ALL_TARGET=javadoc
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${JAVA_PORT_VERSION} == "1.6.0"
|
|
PLIST_SUB+= JDK6=""
|
|
.else
|
|
PLIST_SUB+= JDK6="@comment "
|
|
.endif
|
|
|
|
do-install:
|
|
(cd ${WRKSRC}/dist && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
|
|
|
|
do-install-DOCS-on:
|
|
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.post.mk>
|