freebsd-ports/devel/statsvn/Makefile
Tobias Kortkamp 6f6e32e806 devel/statsvn: Fix runtime after the update of devel/subversion to 1.10.0
It tries to check that SVN >= 1.3.0 but the check is broken with
version numbers like 1.10.0.  We will never have SVN < 1.3.0 again
so add a patch to skip the version check altogether.

"Subversion binary is incorrect version. Found: 1.10.0, required: 1.3.0"

PR:		229325
Reported by:	kensaku.masuda@gmail.com
2018-06-26 05:54:15 +00:00

47 lines
906 B
Makefile

# Created by: glarkin
# $FreeBSD$
PORTNAME= statsvn
PORTVERSION= 0.7.0
PORTREVISION= 5
CATEGORIES= devel java
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
MAINTAINER= ports@FreeBSD.org
COMMENT= Subversion repository activity report generator
LICENSE= LGPL21+
RUN_DEPENDS= subversion>=1.3:devel/subversion
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
USES= zip
USE_JAVA= yes
USE_ANT= yes
JAVA_VERSION= 1.6+
NO_ARCH= yes
ALL_TARGET= dist
SUB_FILES= statsvn
SUB_LIST= JAVA=${JAVA}
PORTDOCS= *
PLIST_FILES= bin/statsvn \
%%DATADIR%%/statsvn.jar
OPTIONS_DEFINE= DOCS
DOCS_ALL_TARGET= javadoc
do-install:
(cd ${WRKSRC}/dist && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
${INSTALL_SCRIPT} ${WRKDIR}/statsvn ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>