source: trunk/dports/java/spymemcached/Portfile

Last change on this file was 97522, checked in by blair@…, 5 years ago

spymemcached: add license.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# $Id: Portfile 97522 2012-09-07 22:47:42Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    spymemcached
6version                 2.8.4
7categories              java
8license                 MIT
9platforms               darwin
10maintainers             blair
11description             A high performance, distributed object caching system.
12
13long_description        Memcached is a high-performance, distributed \
14                        memory object caching system, generic in nature, \
15                        but intended for use in speeding up dynamic web \
16                        applications by alleviating database load.  This \
17                        Port provides a native Java client written by \
18                        Dustin Sallings.
19
20homepage                http://code.google.com/p/spymemcached/
21
22master_sites            googlecode
23distfiles               spymemcached-${version}.jar \
24                        spymemcached-${version}-javadocs.jar
25extract.only
26
27checksums               spymemcached-${version}.jar \
28                                sha1   e12eeaa3c62d27210e1ab7e4165569ba825b350f \
29                                rmd160 fcd145f7295c308b7aee25cf8e2c7a555ad6885d \
30                                sha256 4933c18d5a4b053a23904df7d13035bf33eb9d6f1fc28a7993a9a089689769f8 \
31                        spymemcached-${version}-javadocs.jar \
32                                sha1   af085be34e576264ce6a763a034d651317acf351 \
33                                rmd160 8cb3ff6334f0bd600537ca67f26356200239e7dd \
34                                sha256 391b27ee156e3d61cb9565dc5dc44d9814c33fe9a1ba9d280c11606d52f64d52
35
36depends_lib             bin:java:kaffe
37
38use_configure           no
39
40build { }
41
42destroot {
43        set javadir ${destroot}${prefix}/share/java
44        set docdir ${destroot}${prefix}/share/doc/${name}
45
46        xinstall -d -m 755 ${javadir}
47        xinstall -d -m 755 ${docdir}/api
48
49        file copy ${distpath}/spymemcached-${version}.jar \
50                ${javadir}/spymemcached.jar
51        system "unzip -q ${distpath}/spymemcached-${version}-javadocs.jar -d ${docdir}/api"
52}
Note: See TracBrowser for help on using the repository browser.