Changeset 2065 for trunk/dports


Ignore:
Timestamp:
Feb 20, 2003, 7:50:45 PM (21 years ago)
Author:
michaelm
Message:

tidied up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/apache/Portfile

    r1776 r2065  
    2929variant mod_perl {
    3030                               
    31         master_sites-append     http://www.apache.org/dist/perl/:perl
     31        master_sites-append     http://www.apache.org/dist/perl/:perl
    3232       
    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}
     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}
    3636       
    37         checksums-append    mod_perl-1.27${extract.sufx} md5 bd07f4f1065eb0d0a8d8004219357d8c
     37        checksums-append    mod_perl-1.27${extract.sufx} md5 bd07f4f1065eb0d0a8d8004219357d8c
    3838       
    39         depends_lib         bin:perl5\.8\..:perl5.8
    40         worksrcdir          mod_perl-1.27
     39        depends_lib         bin:perl5\.8\..:perl5.8
     40        worksrcdir          mod_perl-1.27
    4141       
    42         post-patch        { system "sed -e \"s=%%PREFIX%%=${prefix}=g\" ${filespath}/apache.sh \
    43                                                  > ${portpath}/apache.sh" }
    4442       
    45         #APACI_ARGS all on one line because otherwise apache gets upset if the shell is csh/tcsh
    46         configure         { system "cd ${workpath}/${worksrcdir} && \
     43        #APACI_ARGS all on one line because otherwise apache gets upset if the shell is csh/tcsh
     44        configure         { system "cd ${workpath}/${worksrcdir} && \
    4745                                                 perl Makefile.PL USE_APACI=1 EVERYTHING=1 \
    4846                                                 DO_HTTPD=1 APACHE_PREFIX=${prefix} \
     
    5048                                                 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'" }
    5149       
    52         install.args    PREFIX=${destroot}${prefix} INSTALLPRIVLIB=${destroot}${prefix}/lib/perl5/5.8.0 \
    53                                         INSTALLSITELIB=${destroot}${prefix}/lib/perl5/site_perl/5.8.0 \
    54                                         INSTALLARCHLIB=${destroot}${prefix}/lib/perl5/5.8.0/darwin \
    55                                         INSTALLSITEARCH=${destroot}${prefix}/lib/perl5/site_perl/5.8.0/darwin \
    56                                         root=${destroot}
     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 \
     54root=${destroot}
    5755
    58         post-install      { file mkdir  ${prefix}/var/log/httpd ${prefix}/var/run
    59                                                 file mkdir  ${prefix}/etc/rc.d/
    60                                                 system "install -bC -o 0 ${portpath}/apache.sh ${prefix}/etc/rc.d/"
    61                                                 cd ${destroot}${prefix}/lib/perl5/site_perl/5.8.0/darwin/auto/mod_perl/
    62                                                 system "cat .packlist | sed s#${destroot}/##g >.packlist.new"
    63                                                 system "mv .packlist.new .packlist"
    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                           }
    6563       
    6664}
Note: See TracChangeset for help on using the changeset viewer.