# $Id: Portfile,v 1.1 2005/05/24 21:01:12 mww Exp $

PortSystem 1.0

name			fast-md5
version			2.6
categories		java
platforms		darwin
maintainers		mww@opendarwin.org
description		Fast MD5 Implementation in Java
long_description	${description}

homepage		http://fast-md5.sourceforge.net/
master_sites	http://www.twmacinta.com/myjava/
checksums		md5 126cd1d77edc114e0412d2034fb1d190
use_zip			yes

depends_build	bin:ant:apache-ant

worksrcdir		${name}

post-extract {
	file mkdir ${worksrcpath}/docs
}

use_configure	no

build.cmd		ant
build.target	dist

destroot {
	xinstall -m 755 -d ${destroot}${prefix}/share/java/
	xinstall -m 644 ${worksrcpath}/dist/fast-md5.jar \
		${destroot}${prefix}/share/java/
}
