# $Id: Portfile 84225 2011-09-21 01:53:42Z blair@macports.org $ PortSystem 1.0 name serf1 version 1.0.0 categories www maintainers blair license Apache-2 description C-based HTTP client library long_description The serf library is a C-based HTTP client library \ built upon the Apache Portable Runtime (APR) \ library. It multiplexes connections, running the \ read/write communication asynchronously. Memory \ copies and transformations are kept to a minimum to \ provide high performance operation. homepage http://code.google.com/p/serf/ master_sites http://serf.googlecode.com/files/ dist_subdir serf distname serf-${version} use_bzip2 yes use_parallel_build yes checksums md5 3b179ed18f65c43141528aa6d2440db4 \ sha1 f959f1b1a475d5a1c8957db0fd6ef915b3a7575d \ rmd160 1150dfcd6ae6f832ca76c71c74bd71c1d811e5a5 platforms darwin depends_lib port:apr port:apr-util port:openssl configure.args --with-apr=${prefix}/bin/apr-1-config \ --with-apr-util=${prefix}/bin/apu-1-config configure.ccache no test.run yes test.target check post-destroot { set sharedir ${destroot}${prefix}/share set docdir ${sharedir}/doc/${name} xinstall -m 755 -d ${docdir} foreach f {CHANGES LICENSE NOTICE README} { file copy ${worksrcpath}/${f} ${docdir} } } livecheck.url http://code.google.com/p/serf/downloads/list livecheck.type regex livecheck.regex serf-(\\d+(?:\\.\\d+)*)