# $Id: Portfile 76573 2011-02-28 18:26:54Z ryandesign@macports.org $

PortSystem	1.0
name		apr0
version		0.9.19
categories	devel
maintainers	blair
platforms	darwin
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.  \
			This is the old version of APR, the newest version \
			is in the apr port.

homepage	http://apr.apache.org/
master_sites	apache:apr

distname	apr-${version}
use_bzip2	yes

checksums	sha1    bde09166e9d9876715201ee0dbe3e7f69aa551a0 \
			rmd160  141119b4b07892bc0008f73cf34508cbb7492f9c

configure.args	--with-installbuilddir=${prefix}/share/apr-0/build

test.run	yes
test.target	check
test.env	DYLD_LIBRARY_PATH=${worksrcpath}/.libs

post-destroot {
	delete ${destroot}${prefix}/lib/apr.exp
}

livecheck.type	regex
livecheck.url	http://www.apache.org/dist/apr/
livecheck.regex	APR (0\\.\[0-9.\]+)
