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

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

spymemcached: add license.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
RevLine 
[38007]1# $Id: Portfile 97522 2012-09-07 22:47:42Z blair@macports.org $
2
3PortSystem 1.0
4
[63910]5name                    spymemcached
[97520]6version                 2.8.4
[63910]7categories              java
[97522]8license                 MIT
[63910]9platforms               darwin
10maintainers             blair
11description             A high performance, distributed object caching system.
[38007]12
[63910]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.
[38007]19
[63910]20homepage                http://code.google.com/p/spymemcached/
[38007]21
[63910]22master_sites            googlecode
[97520]23distfiles               spymemcached-${version}.jar \
24                        spymemcached-${version}-javadocs.jar
[38010]25extract.only
[38007]26
[97520]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
[38007]35
[63910]36depends_lib             bin:java:kaffe
[38007]37
[63910]38use_configure           no
[38007]39
40build { }
41
42destroot {
[63910]43        set javadir ${destroot}${prefix}/share/java
44        set docdir ${destroot}${prefix}/share/doc/${name}
[38007]45
[63910]46        xinstall -d -m 755 ${javadir}
47        xinstall -d -m 755 ${docdir}/api
[38007]48
[97520]49        file copy ${distpath}/spymemcached-${version}.jar \
[63910]50                ${javadir}/spymemcached.jar
[97520]51        system "unzip -q ${distpath}/spymemcached-${version}-javadocs.jar -d ${docdir}/api"
[38007]52}
Note: See TracBrowser for help on using the repository browser.