source: trunk/dports/devel/apr/Portfile @ 1565

Last change on this file since 1565 was 1565, checked in by rooneg, 18 years ago

add homepages to the apr, subversion, and neon ports.

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1PortSystem 1.0
2name            apr
3version         0.9.1
4categories      devel
5maintainers     rooneg@electricjellyfish.net
6description     the apache group's portability library
7long_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. 
8homepage        http://apr.apache.org/
9platforms       darwin
10
11master_sites    http://www.apache.org/dist/apr/
12distfiles       apr-0.9.1.tar.gz apr-util-0.9.1.tar.gz
13
14depends_lib     lib:libexpat.0:expat lib:libiconv.2:libiconv
15
16checksums       apr-0.9.1.tar.gz md5 862ab3e00695f065235f6f25ea6cbace \
17                apr-util-0.9.1.tar.gz md5 fb1a1e360a2b643ab447e993975e3397
18
19extract {
20                cd ${workpath}
21                system "tar zxvf ${distpath}/apr-${portversion}${extract.sufx}"
22                system "tar zxvf ${distpath}/apr-util-${portversion}${extract.sufx}"
23                system "mv apr-${portversion} apr"
24                system "mv apr-util-${portversion} apr-util"
25}
26
27configure {
28                system "cd ${workpath} && patch -p0 < ../files/patch-apu-conf.m4"
29                system "cd ${workpath}/apr && ./configure --prefix=${prefix} --with-installbuilddir=${prefix}/share/apr/build"
30                system "cd ${workpath}/apr-util && ./buildconf"
31                system "cd ${workpath}/apr-util && env CPPFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib ./configure --prefix=${prefix} --with-apr=${workpath}/apr --with-expat=${prefix}"
32}
33
34build {
35                system "cd ${workpath}/apr && make"
36                system "cd ${workpath}/apr-util && make"
37}
38
39install {
40                system "cd ${workpath}/apr && make install"
41                system "cd ${workpath}/apr-util && make install"
42}
43
44include         contents
Note: See TracBrowser for help on using the repository browser.