- Add LICENSE
- Add NO_ARCH - Switch to options helpers
This commit is contained in:
parent
bd16747241
commit
dfd4aee282
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=401824
1 changed files with 8 additions and 17 deletions
|
@ -11,6 +11,8 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-source
|
|||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Subversion repository activity report generator
|
||||
|
||||
LICENSE= LGPL21 # or later
|
||||
|
||||
RUN_DEPENDS= subversion>=1.3:${PORTSDIR}/devel/subversion
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
@ -20,6 +22,7 @@ USES= zip
|
|||
USE_JAVA= yes
|
||||
USE_ANT= yes
|
||||
JAVA_VERSION= 1.6+
|
||||
NO_ARCH= yes
|
||||
|
||||
ALL_TARGET= dist
|
||||
|
||||
|
@ -30,24 +33,12 @@ PLIST_FILES= %%DATADIR%%/statsvn.jar
|
|||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
ALL_TARGET+= javadoc
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${JAVA_PORT_VERSION} == "1.6.0"
|
||||
PLIST_SUB= JDK6=""
|
||||
.else
|
||||
PLIST_SUB= JDK6="@comment "
|
||||
.endif
|
||||
DOCS_ALL_TARGET= javadoc
|
||||
|
||||
do-install:
|
||||
(cd ${WRKSRC}/dist && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
do-install-DOCS-on:
|
||||
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue