Date: Sat, 6 Aug 2005 13:56:06 GMT From: Gerrit Beine <tux@pinguru.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/84613: New port: java/javasvn Message-ID: <200508061356.j76Du6iV008169@www.freebsd.org> Resent-Message-ID: <200508061400.j76E0XYZ038700@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 84613 >Category: ports >Synopsis: New port: java/javasvn >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Aug 06 14:00:33 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Gerrit Beine >Release: FreeBSD 5.4-RELEASE-p1 >Organization: pitcom GmbH >Environment: FreeBSD asus 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #0: Sun May 15 16:37:58 CEST 2005 root@asus:/usr/src/sys/i386/compile/ASUS i386 >Description: 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/ >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # javasvn # javasvn/Makefile # javasvn/distinfo # javasvn/pkg-descr # javasvn/files # javasvn/files/javasvn.in # echo c - javasvn mkdir -p javasvn > /dev/null 2>&1 echo x - javasvn/Makefile sed 's/^X//' >javasvn/Makefile << 'END-of-javasvn/Makefile' X# New ports collection makefile for: JavaSVN X# Date created: 6 Aug 2005 X# Whom: tux@pinguru.net X# X# $FreeBSD$ X# X XPORTNAME= javasvn XPORTVERSION= 0.9.1 XCATEGORIES= java devel XMASTER_SITES= http://tmate.org/svn/ XDISTNAME= org.tmatesoft.svn_${PORTVERSION}.standalone X XMAINTAINER= tux@pinguru.net XCOMMENT= The only pure Java Subversion client library in the world X XNO_BUILD= yes XUSE_ZIP= yes XUSE_REINPLACE= yes XUSE_JAVA= yes XJAVA_VERSION= 1.3+ XDATADIR= ${JAVASHAREDIR}/${PORTNAME} XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} X XDATA_FILES= COPYING JAVAHL-LICENSE JSCH-LICENSE SEQUENCE-LICENSE \ X changelog.txt logging.properties.disabled javasvnsrc.zip \ X javasvn-cli.jar javasvn-javahl.jar javasvn.jar jsch.jar X XPLIST_FILES= bin/javasvn X XSUB_FILES= javasvn XSUB_LIST= JAVA_HOME="${JAVA_HOME}" JAVASVN_HOME="${DATADIR}" X X.if !defined(NOPORTDOCS) XPORTDOCS= * X.endif X Xdo-install: X @${MKDIR} ${DATADIR} X.for file in ${DATA_FILES} X @${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR} X.endfor X @${INSTALL_SCRIPT} ${WRKDIR}/javasvn ${PREFIX}/bin X.if !defined(NOPORTDOCS) X @cd ${WRKSRC}/doc/javadoc && \ X ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; X @cd ${WRKSRC}/doc/javadoc && \ X ${FIND} . -not -type d -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \; X.endif X Xpost-install: X @${FIND} ${DATADIR} -not -type d | \ X ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} X @${FIND} ${DATADIR} -type d | ${SORT} -r | \ X ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} X X.include <bsd.port.mk> END-of-javasvn/Makefile echo x - javasvn/distinfo sed 's/^X//' >javasvn/distinfo << 'END-of-javasvn/distinfo' XMD5 (org.tmatesoft.svn_0.9.1.standalone.zip) = fbb1c8cda988bfbcfdbf0002e0a2de12 XSIZE (org.tmatesoft.svn_0.9.1.standalone.zip) = 1709183 END-of-javasvn/distinfo echo x - javasvn/pkg-descr sed 's/^X//' >javasvn/pkg-descr << 'END-of-javasvn/pkg-descr' XJavaSVN is a pure Java Subversion client library. XYou would like to use JavaSVN when you need to access or modify XSubversion repository from your Java application, Xbe it a standalone program, plugin or web application. XBeing a pure Java program, JavaSVN doesn't need any additional configuration Xor native binaries to work on any OS that runs Java. X XJavaSVN Features: X X* No external binaries or libraries are needed. X* JavaSVN supports http, https, svn and svn+ssh connection protocols. X* Low level API allows effective direct Subversion repository access. X* Compatible with applications that already use native javahl bindings. X XWWW: http://tmate.org/svn/ END-of-javasvn/pkg-descr echo c - javasvn/files mkdir -p javasvn/files > /dev/null 2>&1 echo x - javasvn/files/javasvn.in sed 's/^X//' >javasvn/files/javasvn.in << 'END-of-javasvn/files/javasvn.in' X#!/bin/sh X XJAVA_HOME=${JAVA_HOME:-"%%JAVA_HOME%%"} XJAVASVN_HOME=${JAVASVN_HOME:-"%%JAVASVN_HOME%%"} X XJAVASVN_CP=$JAVASVN_HOME/javasvn.jar:$JAVASVN_HOME/javasvn-cli.jar:$JAVASVN_HOME/jsch.jar X Xif [ ! -d $JAVASVN_LOGDIR ]; then X mkdir $JAVASVN_LOGDIR Xfi X XJAVASVN_VM_OPTIONS=-Djava.util.logging.config.file=$JAVASVN_HOME/logging.properties XJAVASVN_MAINCLASS=org.tmatesoft.svn.cli.SVN X X$JAVA_HOME/bin/java $JAVASVN_VM_OPTIONS -cp $JAVASVN_CP $JAVASVN_MAINCLASS "$@" END-of-javasvn/files/javasvn.in exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508061356.j76Du6iV008169>