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 http://www.tux.org/pub/net/apache/dist/httpd/ \ |
---|
17 | http://apache.mirror.digitalspace.net/httpd/ \ |
---|
18 | http://www.apache.inetcosmos.org/dist/httpd/ \ |
---|
19 | http://www.rge.com/pub/infosystems/apache/httpd/ \ |
---|
20 | http://www.tux.org/pub/net/apache/dist/httpd/ \ |
---|
21 | http://apache.mirror.digitalspace.net/httpd/ \ |
---|
22 | http://www.rge.com/pub/infosystems/apache/httpd/ \ |
---|
23 | http://ftp.epix.net/apache/httpd/ |
---|
24 | |
---|
25 | distname httpd-2.0.48 |
---|
26 | checksums md5 466c63bb71b710d20a5c353df8c1a19c |
---|
27 | extract.post_args | tar -f - -x httpd-2.0.48/srclib/apr |
---|
28 | |
---|
29 | worksrcdir ${distname}/srclib/apr |
---|
30 | configure.args --with-installbuilddir=${prefix}/share/apr-0/build |
---|
31 | |
---|
32 | #change apr's rules.mk file to enable building of apr-util even |
---|
33 | #after a port clean apr |
---|
34 | post-destroot { |
---|
35 | reinplace "s|^apr_builddir=.*|apr_builddir=/usr/local/share/apr-0/build|g" \ |
---|
36 | ${destroot}${prefix}/share/apr-0/build/apr_rules.mk |
---|
37 | reinplace "s|^apr_builders=.*|apr_builddir=/usr/local/share/apr-0/build|g" \ |
---|
38 | ${destroot}${prefix}/share/apr-0/build/apr_rules.mk |
---|
39 | } |
---|