a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22846 2007-03-16 17:59:10Z dluke@macports.org $
PortSystem 1.0
name apr
version 1.2.8
categories devel
maintainers dluke@geeklair.net
description The apache group's portability library
long_description The Apache Portable Runtime is a library of C data \
structures and routines, forming a system portability \
layer that covers as many operating systems as \
possible, including Unices, Win32, BeOS, and OS/2.
homepage http://apr.apache.org/
master_sites apache:apr
use_bzip2 yes
checksums md5 c573f1b3046991a2624002398b078ad5
configure.env ac_cv_prog_AWK=awk
configure.args --with-installbuilddir=${prefix}/share/apr-1/build
test.run yes
test.target check
test.env DYLD_LIBRARY_PATH=${worksrcpath}/.libs
platform darwin 9 {
post-configure {
reinplace {s|\(#define APR_HAS_SENDFILE[[:space:]]*\)1|\1 0|} ${worksrcpath}/include/apr.h
}
}