? patch
? work
RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/www/apache2/Portfile,v
retrieving revision 1.3
diff -u -r1.3 Portfile
|
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | name apache2 |
5 | | version 2.0.47 |
| 5 | version 2.0.48 |
6 | 6 | categories www |
7 | 7 | platforms darwin freebsd |
8 | 8 | maintainers jcorley1@nc.rr.com |
… |
… |
|
23 | 23 | http://ftp.epix.net/apache/httpd/ |
24 | 24 | |
25 | 25 | distname httpd-${version} |
26 | | checksums md5 63f16638c18b140b649fab32b54d7f9c |
| 26 | checksums md5 466c63bb71b710d20a5c353df8c1a19c |
27 | 27 | depends_lib lib:libapr-0.0:apr lib:libaprutil-0.0:apr-util |
28 | 28 | patchfiles patch-httpd-std.conf.in |
29 | | configure.env CC=/usr/bin/gcc CPP=/usr/bin/cpp |
| 29 | |
| 30 | configure.pre_args --prefix=${prefix}/${name} |
| 31 | |
30 | 32 | configure.args --with-layout=FreeBSD --with-apr=${prefix}/bin/apr-config \ |
31 | | --with-apr-util=${prefix}/bin --prefix=${prefix}/${name} \ |
32 | | --enable-mods-shared=all --enable-ssl --with-ssl \ |
| 33 | --with-apr-util=${prefix}/bin --enable-mods-shared=all --enable-ssl --with-ssl \ |
33 | 34 | --enable-deflate --enable-proxy --enable-proxy-connect \ |
34 | 35 | --enable-proxy-http --enable-proxy-ftp |
35 | 36 | |
36 | 37 | destroot.args root=${destroot} |
37 | | post-destroot { system "touch ${destroot}${prefix}/${name}/logs/.turd" |
38 | | system "test -L ${destroot}${prefix}/${name}/build/libtool \ |
39 | | || ln -s /usr/bin/glibtool \ |
40 | | ${destroot}${prefix}/${name}/build/libtool" } |
41 | 38 | |
42 | 39 | variant activate_server { |
43 | 40 | depends_run path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup |
… |
… |
|
45 | 42 | ${filespath}/${name}.sh > \ |
46 | 43 | ${worksrcdir}/${name}.sh" } |
47 | 44 | |
48 | | post-destroot-append { file mkdir ${destroot}${prefix}/etc/rc.d/ |
49 | | system "install -bC ${portpath}/${workdir}/${name}.sh \ |
50 | | ${destroot}${prefix}/etc/rc.d/"} } |
| 45 | } |
| 46 | |
| 47 | post-destroot { |
| 48 | |
| 49 | system "mv ${destroot}${prefix}/${name}/conf/httpd.conf \ |
| 50 | ${destroot}${prefix}/${name}/conf/httpd.conf.sample" |
| 51 | system "touch ${destroot}${prefix}/${name}/logs/.turd" |
| 52 | system "test -L ${destroot}${prefix}/${name}/build/libtool \ |
| 53 | || ln -s /usr/bin/glibtool \ |
| 54 | ${destroot}${prefix}/${name}/build/libtool" |
| 55 | |
| 56 | if { [variant_isset activate_server] } { |
| 57 | file mkdir ${destroot}${prefix}/etc/rc.d/ |
| 58 | system "install -bC ${portpath}/${workdir}/${name}.sh \ |
| 59 | ${destroot}${prefix}/etc/rc.d/" |
| 60 | } |
| 61 | } |