source: trunk/dports/www/serf1/Portfile @ 87969

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

serf1: add license.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 84225 2011-09-21 01:53:42Z blair@macports.org $
2
3PortSystem 1.0
4
5name                    serf1
6version                 1.0.0
7categories              www
8maintainers             blair
9license                 Apache-2
10description             C-based HTTP client library
11
12long_description        The serf library is a C-based HTTP client library \
13                        built upon the Apache Portable Runtime (APR) \
14                        library.  It multiplexes connections, running the \
15                        read/write communication asynchronously.  Memory \
16                        copies and transformations are kept to a minimum to \
17                        provide high performance operation.
18
19homepage                http://code.google.com/p/serf/
20master_sites            http://serf.googlecode.com/files/
21dist_subdir             serf
22distname                serf-${version}
23use_bzip2               yes
24use_parallel_build      yes
25checksums               md5 3b179ed18f65c43141528aa6d2440db4 \
26                        sha1 f959f1b1a475d5a1c8957db0fd6ef915b3a7575d \
27                        rmd160 1150dfcd6ae6f832ca76c71c74bd71c1d811e5a5
28
29platforms               darwin
30
31depends_lib             port:apr port:apr-util port:openssl
32
33configure.args          --with-apr=${prefix}/bin/apr-1-config \
34                        --with-apr-util=${prefix}/bin/apu-1-config
35
36configure.ccache        no
37
38test.run                yes
39test.target             check
40
41post-destroot {
42        set sharedir ${destroot}${prefix}/share
43        set docdir ${sharedir}/doc/${name}
44
45        xinstall -m 755 -d ${docdir}
46
47        foreach f {CHANGES LICENSE NOTICE README} {
48                file copy ${worksrcpath}/${f} ${docdir}
49        }
50}
51
52livecheck.url   http://code.google.com/p/serf/downloads/list
53livecheck.type  regex
54livecheck.regex serf-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.