[34850] trunk/dports/java

blair at macports.org blair at macports.org
Sat Mar 8 17:10:13 PST 2008


Revision: 34850
          http://trac.macosforge.org/projects/macports/changeset/34850
Author:   blair at macports.org
Date:     2008-03-08 17:10:12 -0800 (Sat, 08 Mar 2008)

Log Message:
-----------
New port for spy.jar.

Added Paths:
-----------
    trunk/dports/java/spyjar/
    trunk/dports/java/spyjar/Portfile

Added: trunk/dports/java/spyjar/Portfile
===================================================================
--- trunk/dports/java/spyjar/Portfile	                        (rev 0)
+++ trunk/dports/java/spyjar/Portfile	2008-03-09 01:10:12 UTC (rev 34850)
@@ -0,0 +1,61 @@
+# $Id$
+
+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
+}


Property changes on: trunk/dports/java/spyjar/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080308/1a607ee5/attachment.html 


More information about the macports-changes mailing list