source: trunk/dports/java/spymemcached/Portfile @ 38007

Last change on this file since 38007 was 38007, checked in by blair@…, 11 years ago

New port for the spymemcached Java memcached client.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 38007 2008-07-02 19:44:25Z blair@macports.org $
2
3PortSystem 1.0
4
5name                    spymemcached
6version                 2.1
7categories              java
8platform                darwin
9maintainers             blair
10description             A high performance, distributed object caching system.
11
12long_description        Memcached is a high-performance, distributed \
13                        memory object caching system, generic in nature, \
14                        but intended for use in speeding up dynamic web \
15                        applications by alleviating database load.  This \
16                        Port provides a native Java client written by \
17                        Dustin Sallings.
18
19homepage                http://code.google.com/p/spymemcached/
20
21master_sites            googlecode
22distfiles               memcached-${version}.jar \
23                        memcached-${version}-javadoc.zip
24
25checksums               memcached-${version}.jar \
26                                md5 0a9eaa652d051c97c360cf99b7b2c129 \
27                                sha1 92aacb727aece0099deeb3ce95b7a7c988ef2c28 \
28                                rmd160 c9742c725de07dd2e539f2c70986c1e86c98cff4 \
29                        memcached-${version}-javadoc.zip \
30                                md5 f427d1c2cd7c58f6fb3ed129fe35a455 \
31                                sha1 97a3b731f28c299fad6219672bf6e1d317532bc7 \
32                                rmd160 97514209caf27dda08575da963c4e713be003ffa
33
34depends_lib             bin:java:kaffe \
35                        port:spyjar
36
37use_configure           no
38
39build { }
40
41destroot {
42        set javadir ${destroot}${prefix}/share/java
43        set docdir ${destroot}${prefix}/share/doc/${name}
44
45        xinstall -d -m 755 ${javadir}
46        xinstall -d -m 755 ${docdir}/api
47
48        file copy ${distpath}/memcached-${version}.jar \
49                ${javadir}/spymemcached.jar
50        system "unzip ${distpath}/memcached-${version}-javadoc.zip -d ${docdir}/api"
51}
Note: See TracBrowser for help on using the repository browser.