# $Id$ PortSystem 1.0 name serf1 version 1.3.2 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/ distname serf-${version} use_bzip2 yes checksums sha1 90478cd60d4349c07326cb9c5b720438cf9a1b5d \ sha256 e4e7da37d99f4fdf14a4c13a256330037536d4328a0e1ae3deb6f8531ed8200f patchfiles patch-SConstruct.diff platforms darwin depends_build port:scons depends_lib port:apr port:apr-util port:openssl port:zlib use_configure no variant universal {} build.cmd ${prefix}/bin/scons build.args CC=${configure.cc} \ CPPFLAGS="${configure.cppflags}" \ CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \ LINKFLAGS="${configure.ldflags} [get_canonical_archflags ld]" platform darwin 8 { build.args-append CC="MACOSX_DEPLOYMENT_TARGET=10.4 ${configure.cc}" } build.target APR=${prefix} \ APU=${prefix} \ OPENSSL=${prefix} \ PREFIX=${prefix} destroot.cmd ${build.cmd} destroot.args --install-sandbox=${destroot} destroot.destdir 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+)*)