# $Id: Portfile 60534 2009-11-14 23:10:00Z ryandesign@macports.org $

PortSystem 1.0

name			gnu-classpath-inetlib
version			20050328
categories		java net
platforms		darwin
maintainers		nomaintainer
description		Java extended net API
long_description	The Java extended net API which provides certain \
				extensions to java.net

homepage		http://www.gnu.org/software/classpathx/

fetch.type		cvs
cvs.root		:ext:anoncvs@savannah.gnu.org:/cvsroot/classpath
cvs.module		inetlib
cvs.args		-D"${version}"
cvs.env			CVS_RSH=ssh

depends_lib		port:gnu-classpath \
				port:gnu-crypto

worksrcdir		inetlib

configure.env	JAVAC=${prefix}/bin/jikes \
				BOOTCLASSPATH=${prefix}/share/java/glibj.jar
configure.args	--with-sasl=${prefix}/share/java/javax-security.jar

build.env       ${configure.env}

destroot {
	xinstall -m 755 -d ${destroot}${prefix}/share/java
	xinstall -m 644 ${worksrcpath}/inetlib.jar ${destroot}${prefix}/share/java
}
