2005-08-31 17:15:12 +00:00
|
|
|
# New ports collection makefile for: JavaSVN
|
|
|
|
# Date created: 6 Aug 2005
|
|
|
|
# Whom: tux@pinguru.net
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= javasvn
|
2006-06-02 01:36:45 +00:00
|
|
|
PORTVERSION= 1.0.6
|
2005-08-31 17:15:12 +00:00
|
|
|
CATEGORIES= devel java
|
|
|
|
MASTER_SITES= http://tmate.org/svn/
|
|
|
|
DISTNAME= org.tmatesoft.svn_${PORTVERSION}.standalone
|
|
|
|
|
2006-01-22 16:03:19 +00:00
|
|
|
MAINTAINER= gerrit.beine@gmx.de
|
2005-08-31 17:15:12 +00:00
|
|
|
COMMENT= The only pure Java Subversion client library in the world
|
|
|
|
|
|
|
|
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_ZIP= yes
|
|
|
|
USE_JAVA= yes
|
|
|
|
JAVA_VERSION= 1.3+
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2005-10-27 16:36:34 +00:00
|
|
|
DATA_FILES= COPYING GANYMED-LICENSE JAVAHL-LICENSE SEQUENCE-LICENSE \
|
2005-08-31 17:15:12 +00:00
|
|
|
changelog.txt logging.properties.disabled javasvnsrc.zip \
|
2005-11-03 15:58:45 +00:00
|
|
|
javasvn-cli.jar javasvn-javahl.jar javasvn.jar ganymed.jar \
|
|
|
|
README.txt
|
2005-08-31 17:15:12 +00:00
|
|
|
|
|
|
|
PLIST_FILES= bin/javasvn ${DATA_FILES:S,^,%%DATADIR%%/,}
|
|
|
|
PLIST_DIRS= %%DATADIR%%
|
|
|
|
|
|
|
|
SUB_FILES= javasvn.sh
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= *
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${DATADIR}
|
|
|
|
.for file in ${DATA_FILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR}
|
|
|
|
.endfor
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/javasvn.sh ${PREFIX}/bin/javasvn
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
cd ${WRKSRC}/doc/javadoc && \
|
|
|
|
${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
|
|
|
|
cd ${WRKSRC}/doc/javadoc && \
|
|
|
|
${FIND} . -not -type d -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|