Ticket #1340: Portfile

File Portfile, 1.6 KB (added by danielluke (Daniel J. Luke), 20 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    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
25distname        httpd-2.0.48
26checksums       md5 466c63bb71b710d20a5c353df8c1a19c
27extract.post_args | tar -f - -x httpd-2.0.48/srclib/apr
28
29worksrcdir              ${distname}/srclib/apr
30configure.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
34post-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                                }