# $Id$ PortSystem 1.0 name pircbot version 1.4.4 categories java irc license GPL-2 platforms darwin supported_archs noarch maintainers nomaintainer description PircBot is a Java framework for writing IRC bots long_description "${description}" homepage http://www.jibble.org/pircbot.php master_sites http://www.jibble.org/files/ checksums md5 eb6894bb40c97cfde34a410dd76e77ab use_zip yes depends_lib port:gnu-classpath depends_build bin:jikes:jikes post-extract { file mkdir ${worksrcpath}/build system "cd ${worksrcpath} && unzip -d build pircbot.jar \*.java" } use_configure no build.dir ${worksrcpath}/build build.cmd jikes ./org/jibble/pircbot/*.java build.env CLASSPATH=${prefix}/share/java/glibj.jar build.target post-build { system "jar cvf ${workpath}/${name}.jar -C ${worksrcpath}/build ." } destroot { xinstall -m 755 -d ${destroot}${prefix}/share/java xinstall -m 644 ${workpath}/${name}.jar ${destroot}${prefix}/share/java }