source: trunk/dports/java/spyjar/Portfile

Last change on this file was 34850, checked in by blair@…, 9 years ago

New port for spy.jar.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 34850 2008-03-09 01:10:12Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    spyjar
6version                 2.4
7set hg_changeset        08c665e4ce60
8categories              java
9platforms               darwin
10maintainers             blair
11
12description             Utility library for Dustin Sallings's projects
13
14long_description        spy.jar provides a bunch of utility java classes, \
15                        including the following: Object instance pooling, \
16                        cron functionality, more simplified configuration\
17                        class, abstracted, easy-to-use pooled database \
18                        connection class, asynchronous logging, and general \
19                        abstraction of logging, a cheap application server, \
20                        an in-memory object cache manager, syslog client, \
21                        a simple HTTP document fetcher, a self-refreshing \
22                        web page cache, an SNPP client and an algorithm for \
23                        determining the lowest cost route between two nodes \
24                        in a graph.
25
26homepage                http://bleu.west.spy.net/~dustin/projects/spyjar/
27
28master_sites            http://bleu.west.spy.net/~dustin/repo/spy/jars/:jars \
29                        http://hg.west.spy.net/hg/java/spyjar/archive/:hg
30
31distfiles               spy-${version}.jar:jars \
32                        ${hg_changeset}.tar.gz:hg
33distname                ${name}-${hg_changeset}
34extract.only            ${hg_changeset}.tar.gz
35checksums               spy-${version}.jar \
36                                md5 a1e5fa434659fd5a57e9ec8aad14fb9d \
37                                sha1 221cc80bb38cf75e662301f14b76c4d574a6a168 \
38                                rmd160 0a16f6bdbbbfdaf92649d41956e5559d4a7e9828 \
39                        ${hg_changeset}.tar.gz \
40                                md5 a84ed25dbd3579c725bdcc10a10fa680 \
41                                sha1 d18743972f3c3fdc0581e466ce35965e4cfc1694 \
42                                rmd160 8d81e3b877827de9755e03f0d6118ff5450f4897
43
44depends_lib             bin:java:kaffe
45
46use_configure           no
47
48build {
49        system "cd ${worksrcpath}/src/java && javadoc -quiet -d ${workpath}/api `find -name \*.java`"
50}
51
52destroot {
53        set javadir ${destroot}${prefix}/share/java
54        set docdir ${destroot}${prefix}/share/doc/${name}
55
56        xinstall -d -m 755 ${javadir}
57        xinstall -d -m 755 ${docdir}
58
59        file copy ${distpath}/spy-${version}.jar ${javadir}/spy.jar
60        file copy ${workpath}/api ${docdir}/api
61}
Note: See TracBrowser for help on using the repository browser.