# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $

PortSystem 1.0

name			ccl-util
version			32.69
categories		java devel
platforms		darwin
maintainers		glowacki.org:dave
description		Chr. Clemens Lee's Java utility classes.
long_description	${description}

set realname		ccl

homepage		http://www.kclee.de/clemens/java/${realname}/
master_sites		${homepage}
distname		${realname}${version}
checksums		md5 0a88de7bde54566e544ecb4eb2d48784
use_zip			yes

depends_build		bin:ant:apache-ant \
			bin:javacc:javacc

worksrcdir		${realname}${version}

use_configure		no

patchfiles		patch-build.xml \
			patch-src-AssertTestCase \
			patch-src-MainTest \
			patch-src-Test \
			patch-src-TestCase \
			patch-src-Util

build.cmd		ant
build.target		jar
build.dir		${worksrcpath}
#build.args-append		-debug

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