Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2005 13:19:26 +0200
From:      Gerrit Beine <tux@pinguru.net>
To:        Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>,  freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/84613: New port: java/javasvn
Message-ID:  <4315923E.2020204@pinguru.net>
In-Reply-To: <20050829162002.GA58037@arabica.esil.univ-mrs.fr>
References:  <20050809155827.GA56831@arabica.esil.univ-mrs.fr> <42F8E1D2.7010206@pinguru.net> <20050829162002.GA58037@arabica.esil.univ-mrs.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------020801050309050003070106
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Herve Quiroz wrote:
> Hi Gerrit,
> 
> On Tue, Aug 09, 2005 at 07:03:14PM +0200, Gerrit Beine wrote:
> 
>>Maybe, there should be an default JAVASVN_LOGDIR like this:
>>
>>JAVASVN_LOGDIR="${JAVASVN_LOGDIR:-"${HOME}/.javasvn"}"
>>
>>The logging.properties use this directory as the default one,
>>I think.
> 
> 
> I applied your suggested changes. However, now that the ports tree is
> unfrozen, I have some trouble fethcing the distfile:
> 
> => Attempting to fetch from http://tmate.org/svn/.
> fetch: http://tmate.org/svn/org.tmatesoft.svn_0.9.1.standalone.zip: Moved Temporarily
> 
> Could you handle this and report to me please? I have so much commmits
> pending the unfreeze...
> 
> Herve
> 
Hi Herve,

I've made an update to the new version and include all the fixes we've
talked about.

So long

Gerrit
- --
mail tux@pinguru.net
icq  123851585
web  http://arme-und-beine.de

öffentlicher Schlüssel unter http://blackhole.pca.dfn.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDFZI91jolmaUcnKARAmEYAJ0WpOTTKsptzWkZEz9/QQEAE40O3QCbBtaY
ZnPSY4V4N9qlJkz5ZdzutZg=
=FoNA
-----END PGP SIGNATURE-----

--------------020801050309050003070106
Content-Type: text/plain;
 name="javasvn.shar"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="javasvn.shar"

# 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.sh.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.2
XCATEGORIES=	devel java
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
XRUN_DEPENDS=	java:${PORTSDIR}/java/javavmwrapper
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 ${DATA_FILES:S,^,%%DATADIR%%/,}
XPLIST_DIRS=	%%DATADIR%%
X
XSUB_FILES=	javasvn.sh
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.sh ${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
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.2.standalone.zip) = 0f51c8a5daadccd0a7c301b265fda893
XSIZE (org.tmatesoft.svn_0.9.2.standalone.zip) = 1792136
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.
X
XYou would like to use JavaSVN when you need to access or modify Subversion
Xrepository from your Java application, be it a standalone program, plugin or
Xweb application. Being a pure Java program, JavaSVN doesn't need any
Xadditional configuration or 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.sh.in
sed 's/^X//' >javasvn/files/javasvn.sh.in << 'END-of-javasvn/files/javasvn.sh.in'
X#!/bin/sh
X#
X# $FreeBSD$
X
XJAVASVN_HOME=${JAVASVN_HOME:-"%%DATADIR%%"}
XJAVASVN_CP=${JAVASVN_HOME}/javasvn.jar:${JAVASVN_HOME}/javasvn-cli.jar:${JAVASVN_HOME}/jsch.jar
XJAVASVN_LOGDIR=${JAVASVN_LOGDIR:-"${HOME}/.javasvn"}
X
Xif [ ! -d ${JAVASVN_LOGDIR} ]; then
X	mkdir ${JAVASVN_LOGDIR}
Xfi
X
XJAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" \
X	${JAVASVN_OPTS} \
X	-Djava.util.logging.config.file="${JAVASVN_HOME}/logging.properties" \
X	-cp "${JAVASVN_CP}" \
X	org.tmatesoft.svn.cli.SVN "$@"
END-of-javasvn/files/javasvn.sh.in
exit


--------------020801050309050003070106--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4315923E.2020204>