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

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

Do not unpack the jar file or the zip file. Have unzip be quiet.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 38010 2008-07-02 19:54:26Z blair@macports.org $
2
3PortSystem 1.0
4
5name                    spymemcached
6version                 2.1
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               memcached-${version}.jar \
23                        memcached-${version}-javadoc.zip
24extract.only
25
26checksums               memcached-${version}.jar \
27                                md5 0a9eaa652d051c97c360cf99b7b2c129 \
28                                sha1 92aacb727aece0099deeb3ce95b7a7c988ef2c28 \
29                                rmd160 c9742c725de07dd2e539f2c70986c1e86c98cff4 \
30                        memcached-${version}-javadoc.zip \
31                                md5 f427d1c2cd7c58f6fb3ed129fe35a455 \
32                                sha1 97a3b731f28c299fad6219672bf6e1d317532bc7 \
33                                rmd160 97514209caf27dda08575da963c4e713be003ffa
34
35depends_lib             bin:java:kaffe \
36                        port:spyjar
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}/memcached-${version}.jar \
50                ${javadir}/spymemcached.jar
51        system "unzip -q ${distpath}/memcached-${version}-javadoc.zip -d ${docdir}/api"
52}
Note: See TracBrowser for help on using the repository browser.