# $Id: Portfile,v 1.3 2005/04/19 18:15:07 jberry Exp $

PortSystem 1.0

name			gnu-crypto
version			2.0.1
categories		java security
platforms		darwin
maintainers		mww@opendarwin.org
description		cryptographic primitives and tools for Java
long_description	GNU Crypto, part of the GNU project, released under the \
				aegis of GNU, aims at providing free, versatile, high-quality, \
				and provably correct implementations of cryptographic \
				primitives and tools in the Java programming language for use \
				by programmers and end-users.

homepage		http://www.gnu.org/software/gnu-crypto/
master_sites	gnu:gnu-crypto/releases
checksums		md5 39ac686b8f7ecfb95de7d58c85b8935b
use_bzip2		yes

depends_build	port:jikes
depends_lib		port:gnu-classpath

configure.env	JAVAC=${prefix}/bin/jikes \
				BOOTCLASSPATH=${prefix}/share/java/glibj.jar
configure.args	--infodir=${prefix}/share/info \
				--datadir=${prefix}/share/java \
				--with-jce=yes

build.env       ${configure.env}
