aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2005-09-01 01:15:12 +0800
committerhq <hq@FreeBSD.org>2005-09-01 01:15:12 +0800
commitf0e9eeda958dd7c1e83a60392243fe6837017e8f (patch)
tree19b77d7b59fa64bdcae847b499aa734711003973
parent2ddba891e3129e1fbc20a66c3f126608d33049b7 (diff)
downloadfreebsd-ports-gnome-f0e9eeda958dd7c1e83a60392243fe6837017e8f.tar.gz
freebsd-ports-gnome-f0e9eeda958dd7c1e83a60392243fe6837017e8f.tar.zst
freebsd-ports-gnome-f0e9eeda958dd7c1e83a60392243fe6837017e8f.zip
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>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/javasvn/Makefile53
-rw-r--r--devel/javasvn/distinfo2
-rw-r--r--devel/javasvn/files/javasvn.sh.in17
-rw-r--r--devel/javasvn/pkg-descr15
-rw-r--r--devel/svnkit/Makefile53
-rw-r--r--devel/svnkit/distinfo2
-rw-r--r--devel/svnkit/files/javasvn.sh.in17
-rw-r--r--devel/svnkit/pkg-descr15
9 files changed, 175 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index f4e7a79b4e3c..6beb8b7a9da6 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -389,6 +389,7 @@
SUBDIR += jakelib2
SUBDIR += jam
SUBDIR += java-util-concurrent
+ SUBDIR += javasvn
SUBDIR += jclassinfo
SUBDIR += jcmdline
SUBDIR += jep
diff --git a/devel/javasvn/Makefile b/devel/javasvn/Makefile
new file mode 100644
index 000000000000..80109726b501
--- /dev/null
+++ b/devel/javasvn/Makefile
@@ -0,0 +1,53 @@
+# 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>
diff --git a/devel/javasvn/distinfo b/devel/javasvn/distinfo
new file mode 100644
index 000000000000..3836e7528a72
--- /dev/null
+++ b/devel/javasvn/distinfo
@@ -0,0 +1,2 @@
+MD5 (org.tmatesoft.svn_0.9.2.standalone.zip) = 0f51c8a5daadccd0a7c301b265fda893
+SIZE (org.tmatesoft.svn_0.9.2.standalone.zip) = 1792136
diff --git a/devel/javasvn/files/javasvn.sh.in b/devel/javasvn/files/javasvn.sh.in
new file mode 100644
index 000000000000..86a0f7353cea
--- /dev/null
+++ b/devel/javasvn/files/javasvn.sh.in
@@ -0,0 +1,17 @@
+#!/bin/sh
+#
+# $FreeBSD$
+
+JAVASVN_HOME=${JAVASVN_HOME:-"%%DATADIR%%"}
+JAVASVN_CP=${JAVASVN_HOME}/javasvn.jar:${JAVASVN_HOME}/javasvn-cli.jar:${JAVASVN_HOME}/jsch.jar
+JAVASVN_LOGDIR=${JAVASVN_LOGDIR:-"${HOME}/.javasvn"}
+
+if [ ! -d ${JAVASVN_LOGDIR} ]; then
+ mkdir ${JAVASVN_LOGDIR}
+fi
+
+JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" \
+ ${JAVASVN_OPTS} \
+ -Djava.util.logging.config.file="${JAVASVN_HOME}/logging.properties" \
+ -cp "${JAVASVN_CP}" \
+ org.tmatesoft.svn.cli.SVN "$@"
diff --git a/devel/javasvn/pkg-descr b/devel/javasvn/pkg-descr
new file mode 100644
index 000000000000..a5a4f913ad31
--- /dev/null
+++ b/devel/javasvn/pkg-descr
@@ -0,0 +1,15 @@
+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/
diff --git a/devel/svnkit/Makefile b/devel/svnkit/Makefile
new file mode 100644
index 000000000000..80109726b501
--- /dev/null
+++ b/devel/svnkit/Makefile
@@ -0,0 +1,53 @@
+# 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>
diff --git a/devel/svnkit/distinfo b/devel/svnkit/distinfo
new file mode 100644
index 000000000000..3836e7528a72
--- /dev/null
+++ b/devel/svnkit/distinfo
@@ -0,0 +1,2 @@
+MD5 (org.tmatesoft.svn_0.9.2.standalone.zip) = 0f51c8a5daadccd0a7c301b265fda893
+SIZE (org.tmatesoft.svn_0.9.2.standalone.zip) = 1792136
diff --git a/devel/svnkit/files/javasvn.sh.in b/devel/svnkit/files/javasvn.sh.in
new file mode 100644
index 000000000000..86a0f7353cea
--- /dev/null
+++ b/devel/svnkit/files/javasvn.sh.in
@@ -0,0 +1,17 @@
+#!/bin/sh
+#
+# $FreeBSD$
+
+JAVASVN_HOME=${JAVASVN_HOME:-"%%DATADIR%%"}
+JAVASVN_CP=${JAVASVN_HOME}/javasvn.jar:${JAVASVN_HOME}/javasvn-cli.jar:${JAVASVN_HOME}/jsch.jar
+JAVASVN_LOGDIR=${JAVASVN_LOGDIR:-"${HOME}/.javasvn"}
+
+if [ ! -d ${JAVASVN_LOGDIR} ]; then
+ mkdir ${JAVASVN_LOGDIR}
+fi
+
+JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" \
+ ${JAVASVN_OPTS} \
+ -Djava.util.logging.config.file="${JAVASVN_HOME}/logging.properties" \
+ -cp "${JAVASVN_CP}" \
+ org.tmatesoft.svn.cli.SVN "$@"
diff --git a/devel/svnkit/pkg-descr b/devel/svnkit/pkg-descr
new file mode 100644
index 000000000000..a5a4f913ad31
--- /dev/null
+++ b/devel/svnkit/pkg-descr
@@ -0,0 +1,15 @@
+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/