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

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

spymemcached: update to 2.8.4.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# $Id: Portfile 97520 2012-09-07 22:38:16Z blair@macports.org $
2
3PortSystem 1.0
4
5name                    spymemcached
6version                 2.8.4
7categories              java
8platforms               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               spymemcached-${version}.jar \
23                        spymemcached-${version}-javadocs.jar
24extract.only
25
26checksums               spymemcached-${version}.jar \
27                                sha1   e12eeaa3c62d27210e1ab7e4165569ba825b350f \
28                                rmd160 fcd145f7295c308b7aee25cf8e2c7a555ad6885d \
29                                sha256 4933c18d5a4b053a23904df7d13035bf33eb9d6f1fc28a7993a9a089689769f8 \
30                        spymemcached-${version}-javadocs.jar \
31                                sha1   af085be34e576264ce6a763a034d651317acf351 \
32                                rmd160 8cb3ff6334f0bd600537ca67f26356200239e7dd \
33                                sha256 391b27ee156e3d61cb9565dc5dc44d9814c33fe9a1ba9d280c11606d52f64d52
34
35depends_lib             bin:java:kaffe
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}/spymemcached-${version}.jar \
49                ${javadir}/spymemcached.jar
50        system "unzip -q ${distpath}/spymemcached-${version}-javadocs.jar -d ${docdir}/api"
51}
Note: See TracBrowser for help on using the repository browser.