1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/devel/javasvn/Makefile
Herve Quiroz f0e2ba1853 JavaSVN is a pure Java Subversion client library.
You would like to use JavaSVN when you need to access or modify Subversion
repository from your Java application, be it a standalone program, plugin or
web application. Being a pure Java program, JavaSVN doesn't need any
additional configuration or native binaries to work on any OS that runs Java.

JavaSVN Features:

* No external binaries or libraries are needed.
* JavaSVN supports http, https, svn and svn+ssh connection protocols.
* Low level API allows effective direct Subversion repository access.
* Compatible with applications that already use native javahl bindings.

WWW: http://tmate.org/svn/

PR:		84613
Submitted by:	Gerrit Beine <tux@pinguru.net>
2005-08-31 17:15:12 +00:00

54 lines
1.3 KiB
Makefile

# New ports collection makefile for: JavaSVN
# Date created: 6 Aug 2005
# Whom: tux@pinguru.net
#
# $FreeBSD$
#
PORTNAME= javasvn
PORTVERSION= 0.9.2
CATEGORIES= devel java
MASTER_SITES= http://tmate.org/svn/
DISTNAME= org.tmatesoft.svn_${PORTVERSION}.standalone
MAINTAINER= tux@pinguru.net
COMMENT= The only pure Java Subversion client library in the world
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
NO_BUILD= yes
USE_ZIP= yes
USE_REINPLACE= yes
USE_JAVA= yes
JAVA_VERSION= 1.3+
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
DATA_FILES= COPYING JAVAHL-LICENSE JSCH-LICENSE SEQUENCE-LICENSE \
changelog.txt logging.properties.disabled javasvnsrc.zip \
javasvn-cli.jar javasvn-javahl.jar javasvn.jar jsch.jar
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>