1 | # $Id: Portfile,v 1.18 2003/10/25 21:24:31 cms Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name apr |
---|
5 | version 0.9.5 |
---|
6 | categories devel |
---|
7 | maintainers dluke@geeklair.net |
---|
8 | description The apache group's portability library |
---|
9 | |
---|
10 | long_description The Apache Portable Runtime is a library of C data \ |
---|
11 | structures and routines, forming a system portability \ |
---|
12 | layer that covers as many operating systems as \ |
---|
13 | possible, including Unices, Win32, BeOS, and OS/2. |
---|
14 | |
---|
15 | homepage http://apr.apache.org/ |
---|
16 | master_sites apache:httpd |
---|
17 | |
---|
18 | distname httpd-2.0.48 |
---|
19 | checksums md5 466c63bb71b710d20a5c353df8c1a19c |
---|
20 | extract.post_args | tar -f - -x httpd-2.0.48/srclib/apr |
---|
21 | |
---|
22 | worksrcdir ${distname}/srclib/apr |
---|
23 | configure.args --with-installbuilddir=${prefix}/share/apr-0/build |
---|
24 | |
---|
25 | #change apr's rules.mk file to enable building of apr-util even |
---|
26 | #after a port clean apr |
---|
27 | post-destroot { |
---|
28 | reinplace "s|^apr_builddir=.*|apr_builddir=/usr/local/share/apr-0/build|g" \ |
---|
29 | ${destroot}${prefix}/share/apr-0/build/apr_rules.mk |
---|
30 | reinplace "s|^apr_builders=.*|apr_builddir=/usr/local/share/apr-0/build|g" \ |
---|
31 | ${destroot}${prefix}/share/apr-0/build/apr_rules.mk |
---|
32 | } |
---|