Ticket #1340: Portfile.2

File Portfile.2, 1.1 KB (added by danielluke (Daniel J. Luke), 21 years ago)

apr 0.9.5 portfile

Line 
1# $Id: Portfile,v 1.18 2003/10/25 21:24:31 cms Exp $
2
3PortSystem              1.0
4name                    apr
5version                 0.9.5
6categories              devel
7maintainers             dluke@geeklair.net
8description             The apache group's portability library
9
10long_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
15homepage                http://apr.apache.org/
16master_sites    apache:httpd
17
18distname        httpd-2.0.48
19checksums       md5 466c63bb71b710d20a5c353df8c1a19c
20extract.post_args | tar -f - -x httpd-2.0.48/srclib/apr
21
22worksrcdir              ${distname}/srclib/apr
23configure.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
27post-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                                }