1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

- Add staging support

- Remove dependency on javavmwrapper, pulled in by java
- Define DOCS option
- Fix WWW line
This commit is contained in:
Pawel Pekala 2014-04-03 11:35:59 +00:00
parent 0e566caf5d
commit ef47c18ba3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350001
2 changed files with 12 additions and 14 deletions

View File

@ -10,8 +10,6 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-source
MAINTAINER= ports@FreeBSD.org
COMMENT= CVS repository activity report generator
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
@ -20,22 +18,22 @@ USE_JAVA= yes
USE_ANT= yes
JAVA_VERSION= 1.6+
.if !defined(NOPORTDOCS)
ALL_TARGET= jar javadoc
.else
ALL_TARGET= jar
.endif
SUB_FILES= pkg-message
NO_STAGE= yes
do-install:
@cd ${WRKSRC}/dist && ${COPYTREE_SHARE} . ${DATADIR}
.if !defined(NOPORTDOCS)
@cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
ALL_TARGET+= javadoc
.endif
post-install:
@${CAT} ${PKGMESSAGE}
do-install:
(cd ${WRKSRC}/dist && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
.if ${PORT_OPTIONS:MDOCS}
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.endif
.include <bsd.port.mk>

View File

@ -4,4 +4,4 @@ timeline for the lines of code, contribution of each developer etc.
The current version of StatCVS generates a static suite of HTML or
XDOC documents containing tables and chart images.
WWW: http://statcvs.sourceforge.net/
WWW: http://statcvs.sourceforge.net/