# $Id: Portfile 34850 2008-03-09 01:10:12Z blair@macports.org $ PortSystem 1.0 name spyjar version 2.4 set hg_changeset 08c665e4ce60 categories java platforms darwin maintainers blair description Utility library for Dustin Sallings's projects long_description spy.jar provides a bunch of utility java classes, \ including the following: Object instance pooling, \ cron functionality, more simplified configuration\ class, abstracted, easy-to-use pooled database \ connection class, asynchronous logging, and general \ abstraction of logging, a cheap application server, \ an in-memory object cache manager, syslog client, \ a simple HTTP document fetcher, a self-refreshing \ web page cache, an SNPP client and an algorithm for \ determining the lowest cost route between two nodes \ in a graph. homepage http://bleu.west.spy.net/~dustin/projects/spyjar/ master_sites http://bleu.west.spy.net/~dustin/repo/spy/jars/:jars \ http://hg.west.spy.net/hg/java/spyjar/archive/:hg distfiles spy-${version}.jar:jars \ ${hg_changeset}.tar.gz:hg distname ${name}-${hg_changeset} extract.only ${hg_changeset}.tar.gz checksums spy-${version}.jar \ md5 a1e5fa434659fd5a57e9ec8aad14fb9d \ sha1 221cc80bb38cf75e662301f14b76c4d574a6a168 \ rmd160 0a16f6bdbbbfdaf92649d41956e5559d4a7e9828 \ ${hg_changeset}.tar.gz \ md5 a84ed25dbd3579c725bdcc10a10fa680 \ sha1 d18743972f3c3fdc0581e466ce35965e4cfc1694 \ rmd160 8d81e3b877827de9755e03f0d6118ff5450f4897 depends_lib bin:java:kaffe use_configure no build { system "cd ${worksrcpath}/src/java && javadoc -quiet -d ${workpath}/api `find -name \*.java`" } destroot { set javadir ${destroot}${prefix}/share/java set docdir ${destroot}${prefix}/share/doc/${name} xinstall -d -m 755 ${javadir} xinstall -d -m 755 ${docdir} file copy ${distpath}/spy-${version}.jar ${javadir}/spy.jar file copy ${workpath}/api ${docdir}/api }