Ticket #1097: portfile.diff
File portfile.diff, 2.1 KB (added by bchesneau@…, 21 years ago) |
---|
-
(a) Portfile-orig vs. (b) Portfile
a b 2 2 3 3 PortSystem 1.0 4 4 name apache2 5 version 2.0.4 75 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 63f16638c18b140b649fab32b54d7f9c26 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 "touch ${destroot}${prefix}/${name}/logs/.turd" 50 system "test -L ${destroot}${prefix}/${name}/build/libtool \ 51 || ln -s /usr/bin/glibtool \ 52 ${destroot}${prefix}/${name}/build/libtool" 53 54 if { [variant_isset activate_server] } { 55 file mkdir ${destroot}${prefix}/etc/rc.d/ 56 system "install -bC ${portpath}/${workdir}/${name}.sh \ 57 ${destroot}${prefix}/etc/rc.d/" 58 } 59 }