# $Id: Portfile,v 1.5 2005/12/23 13:02:00 mww Exp $

PortSystem 1.0

name			gnu-classpathx-comm
version			20050328
categories		java comms
platforms		darwin
maintainers		mww@opendarwin.org
description		implementation of the Java Communications API
long_description	The Java Communications API contains support for RS232 \
				serial ports and IEEE 1284 parallel ports.

homepage		http://www.gnu.org/software/classpathx/
fetch.type		cvs
cvs.root		:ext:anoncvs@savannah.gnu.org:/cvsroot/classpathx
cvs.module		comm
cvs.args		-D"${version}"
cvs.env			CVS_RSH=ssh

depends_lib		port:gnu-classpath

platform darwin 7 {
	depends_build	port:jikes
}

worksrcdir		comm

configure.env	JAVAC=${prefix}/bin/jikes \
				BOOTCLASSPATH=${prefix}/share/java/glibj.jar

build.env		${configure.env}

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