1 | PortSystem 1.0 |
---|
2 | name apache2 |
---|
3 | version 2.0.46 |
---|
4 | revision 1.0 |
---|
5 | categories www |
---|
6 | platforms darwin freebsd |
---|
7 | maintainers jcorley1@nc.rr.com |
---|
8 | description The extremely popular second version of the Apache http \ |
---|
9 | server |
---|
10 | master_sites http://www.tux.org/pub/net/apache/dist/httpd/ \ |
---|
11 | http://apache.mirror.digitalspace.net/httpd/ \ |
---|
12 | http://www.apache.inetcosmos.org/dist/httpd/ \ |
---|
13 | http://www.rge.com/pub/infosystems/apache/httpd/ \ |
---|
14 | http://www.tux.org/pub/net/apache/dist/httpd/ \ |
---|
15 | http://apache.mirror.digitalspace.net/httpd/ \ |
---|
16 | http://www.rge.com/pub/infosystems/apache/httpd/ \ |
---|
17 | http://ftp.epix.net/apache/httpd/ |
---|
18 | |
---|
19 | |
---|
20 | distname httpd-${version} |
---|
21 | checksums md5 ff682f82f0808eb01df60824d959ebe8 |
---|
22 | |
---|
23 | depends_lib lib:libapr-0.0:apr lib:libaprutil-0.0:apr-util |
---|
24 | |
---|
25 | patchfiles patch-httpd-std.conf.in |
---|
26 | |
---|
27 | configure.env CC=/usr/bin/gcc CPP=/usr/bin/cpp |
---|
28 | configure.args --with-layout=FreeBSD --with-apr=${prefix}/bin/apr-config \ |
---|
29 | --with-apr-util=${prefix}/bin --prefix=${prefix}/${name} \ |
---|
30 | --enable-mods-shared=all --enable-ssl --with-ssl \ |
---|
31 | --enable-deflate --enable-proxy --enable-proxy-connect \ |
---|
32 | --enable-proxy-http --enable-proxy-ftp |
---|
33 | |
---|
34 | install.args root=${destroot} |
---|
35 | |
---|
36 | post-install { system "touch ${destroot}${prefix}/${name}/logs/.keep" |
---|
37 | system "test -L ${destroot}${prefix}/${name}/build/libtool \ |
---|
38 | || ln -s /usr/bin/glibtool \ |
---|
39 | ${destroot}${prefix}/${name}/build/libtool" |
---|
40 | } |
---|
41 | |
---|
42 | variant activate_server { |
---|
43 | depends_run path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup |
---|
44 | post-patch { system "sed -e \"s=%%PREFIX%%=${prefix}/${name}=g\" \ |
---|
45 | ${filespath}/${name}.sh > \ |
---|
46 | ${portpath}/${workdir}/${name}.sh" |
---|
47 | } |
---|
48 | |
---|
49 | post-install { system "touch ${destroot}${prefix}/${name}/logs/.keep" |
---|
50 | system "test -L ${destroot}${prefix}/${name}/build/libtool \ |
---|
51 | || ln -s /usr/bin/glibtool \ |
---|
52 | ${destroot}${prefix}/${name}/build/libtool" |
---|
53 | file mkdir ${destroot}${prefix}/etc/rc.d/ |
---|
54 | system "install -bC ${portpath}/${workdir}/${name}.sh \ |
---|
55 | ${destroot}${prefix}/etc/rc.d/" |
---|
56 | } |
---|
57 | } |
---|
58 | |
---|
59 | long_description \ |
---|
60 | Apache is an HTTP server designed as a plug-in replacement for \ |
---|
61 | the NCSA server version 1.3 (or 1.4). It fixes numerous bugs in \ |
---|
62 | the NCSA server and includes many frequently requested new \ |
---|
63 | features, and has an API which allows it to be extended to meet \ |
---|
64 | users' needs more easily. This is version 2.0.45 of Apache. |
---|