Changeset 2065 for trunk/dports
- Timestamp:
- Feb 20, 2003, 7:50:45 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/www/apache/Portfile
r1776 r2065 29 29 variant mod_perl { 30 30 31 31 master_sites-append http://www.apache.org/dist/perl/:perl 32 32 33 34 35 33 distname ${name}_${version} 34 distfiles-append mod_perl-1.27${extract.sufx}:perl 35 extract.only ${distname}${extract.sufx} mod_perl-1.27${extract.sufx} 36 36 37 37 checksums-append mod_perl-1.27${extract.sufx} md5 bd07f4f1065eb0d0a8d8004219357d8c 38 38 39 40 39 depends_lib bin:perl5\.8\..:perl5.8 40 worksrcdir mod_perl-1.27 41 41 42 post-patch { system "sed -e \"s=%%PREFIX%%=${prefix}=g\" ${filespath}/apache.sh \43 > ${portpath}/apache.sh" }44 42 45 46 43 #APACI_ARGS all on one line because otherwise apache gets upset if the shell is csh/tcsh 44 configure { system "cd ${workpath}/${worksrcdir} && \ 47 45 perl Makefile.PL USE_APACI=1 EVERYTHING=1 \ 48 46 DO_HTTPD=1 APACHE_PREFIX=${prefix} \ … … 50 48 APACI_ARGS='--with-layout=FreeBSD --server-uid=www --server-gid=www --logfiledir=${prefix}/var/httpd --runtimedir=${prefix}/var/run --enable-module=most --enable-shared=max --disable-shared=perl --disable-rule=expat'" } 51 49 52 53 54 55 56 50 install.args PREFIX=${destroot}${prefix} INSTALLPRIVLIB=${destroot}${prefix}/lib/perl5/5.8.0 \ 51 INSTALLSITELIB=${destroot}${prefix}/lib/perl5/site_perl/5.8.0 \ 52 INSTALLARCHLIB=${destroot}${prefix}/lib/perl5/5.8.0/darwin \ 53 INSTALLSITEARCH=${destroot}${prefix}/lib/perl5/site_perl/5.8.0/darwin \ 54 root=${destroot} 57 55 58 59 60 61 62 63 64 56 post-install { file mkdir ${prefix}/var/log/httpd ${prefix}/var/run 57 file mkdir ${prefix}/etc/rc.d/ 58 system "install -bC -o 0 ${portpath}/apache.sh ${prefix}/etc/rc.d/" 59 cd ${destroot}${prefix}/lib/perl5/site_perl/5.8.0/darwin/auto/mod_perl/ 60 system "cat .packlist | sed s#${destroot}/##g >.packlist.new" 61 system "mv .packlist.new .packlist" 62 } 65 63 66 64 }
Note: See TracChangeset
for help on using the changeset viewer.