# $Id$ PortSystem 1.0 name jfreechart version 1.0.0-pre2 categories java graphics license LGPL-2.1+ platforms darwin maintainers nomaintainer description JFreeChart is a free Java class library for generating charts. long_description ${description} homepage http://www.jfree.org/jfreechart/ master_sites sourceforge checksums md5 60c284085ffaa9c077215b8cfff91d52 depends_build bin:ant:apache-ant depends_lib bin:java:kaffe \ port:junit \ port:servlet24-api extract.post_args "| tar -xf - --exclude 'junit.jar' --exclude 'servlet.jar'" post-extract { ln -s ${prefix}/share/java/junit.jar ${worksrcpath}/lib/junit.jar ln -s ${prefix}/share/java/servlet24-api.jar \ ${worksrcpath}/lib/servlet.jar } use_configure no build.dir ${worksrcpath}/ant build.cmd ant build.target all destroot { xinstall -m 755 -d ${destroot}${prefix}/share/java/ \ ${destroot}${prefix}/share/doc/ xinstall -m 644 ${worksrcpath}/jfreechart-${version}.jar \ ${destroot}${prefix}/share/java/jfreechart.jar file copy ${worksrcpath}/javadoc ${destroot}${prefix}/share/doc/${name} }