# $Id: Portfile,v 1.4 2005/07/04 11:03:25 mww Exp $

PortSystem 1.0

name			gnu-classpath-inetlib
version			20050328
categories		java net
platforms		darwin
maintainers		mww@opendarwin.org
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

platform darwin 7 {
	depends_build	port:jikes
}

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
}
