svn commit: r350001 - head/devel/statcvs
Pawel Pekala
pawel at FreeBSD.org
Thu Apr 3 11:36:00 UTC 2014
Author: pawel
Date: Thu Apr 3 11:35:59 2014
New Revision: 350001
URL: http://svnweb.freebsd.org/changeset/ports/350001
QAT: https://qat.redports.org/buildarchive/r350001/
Log:
- Add staging support
- Remove dependency on javavmwrapper, pulled in by java
- Define DOCS option
- Fix WWW line
Modified:
head/devel/statcvs/Makefile
head/devel/statcvs/pkg-descr
Modified: head/devel/statcvs/Makefile
==============================================================================
--- head/devel/statcvs/Makefile Thu Apr 3 11:26:45 2014 (r350000)
+++ head/devel/statcvs/Makefile Thu Apr 3 11:35:59 2014 (r350001)
@@ -10,8 +10,6 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-sou
MAINTAINER= ports at 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>
Modified: head/devel/statcvs/pkg-descr
==============================================================================
--- head/devel/statcvs/pkg-descr Thu Apr 3 11:26:45 2014 (r350000)
+++ head/devel/statcvs/pkg-descr Thu Apr 3 11:35:59 2014 (r350001)
@@ -4,4 +4,4 @@ timeline for the lines of code, contribu
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/
More information about the svn-ports-head
mailing list