source: trunk/dports/www/serf0/Portfile

Last change on this file was 151785, checked in by blair@…, 15 months ago

serf0: use the homepage, master_sites and livecheck at apache.org; fixes #52074.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 151785 2016-08-22 00:48:54Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            serf0
6version         0.7.2
7revision        1
8categories      www
9maintainers     blair
10license         Apache-2
11description     C-based HTTP client library
12
13long_description \
14    The serf library is a C-based HTTP client library built upon the \
15    Apache Portable Runtime (APR) library.  It multiplexes \
16    connections, running the read/write communication asynchronously. \
17    Memory copies and transformations are kept to a minimum to provide \
18    high performance operation.
19
20homepage        https://serf.apache.org
21master_sites    https://archive.apache.org/dist/serf/
22dist_subdir     serf
23distname        serf-${version}
24use_bzip2       yes
25checksums       md5 66ed12163b14b704888e628ee38e9581 \
26                sha1 132fbb13d50c4f849231eee79dcada8cde3ecad2 \
27                rmd160 6b586ced49b7195e80595d3d1eb29af08d1afc32
28
29platforms       darwin
30
31depends_lib     port:apr port:apr-util path:lib/libssl.dylib: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   [lindex ${master_sites} 0]
53livecheck.type  regex
54livecheck.regex serf-(0\\.7\\.\\d+)
Note: See TracBrowser for help on using the repository browser.