Ticket #34795: patch-mod_perl2-Portfile.diff
File patch-mod_perl2-Portfile.diff, 2.0 KB (added by pixilla (Bradley Giesbrecht), 12 years ago) |
---|
-
Portfile
2 2 # $Id$ 3 3 4 4 PortSystem 1.0 5 5 6 name mod_perl2 6 version 2.0. 57 version 2.0.7 7 8 maintainers cyberscript.net:ryan 8 9 categories www 9 10 license Apache-2 … … 25 26 homepage http://perl.apache.org/ 26 27 master_sites http://perl.apache.org/dist/ 27 28 distname mod_perl-${version} 28 checksums md5 03d01d135a122bd8cebd0cd5b185d674 \ 29 sha1 e749e2d7236273217f33cbe7fcd704a662e532d1 \ 30 rmd160 d659db1c64200ed9c8863c6e283360dfdd0c8384 29 30 checksums rmd160 14505fd08f6915c8a260c9068608bde6ebcbac24 \ 31 sha256 53414be9db843054b927f23a35edb7b82d99e32e031b3cd81d5ff2473f51e3c6 32 31 33 depends_lib path:bin/perl:perl5 port:apache2 32 34 worksrcdir mod_perl-${version} 33 35 … … 47 49 } 48 50 } 49 51 50 configure { 52 configure { 51 53 set APXS ${prefix}/apache2/bin/apxs 52 54 system "cd ${workpath}/${worksrcdir} && \ 53 55 ${prefix}/bin/perl Makefile.PL MP_APXS=${APXS}" … … 59 61 xinstall -m 755 -d ${destroot}${prefix}/apache2/include/modules/perl \ 60 62 ${destroot}${prefix}/apache2/libexec 61 63 system "install -m 755 ${worksrcpath}/src/modules/perl/*.h \ 62 ${destroot}${prefix}/apache2/include/modules/perl" 64 ${destroot}${prefix}/apache2/include/modules/perl" 63 65 64 66 xinstall -m 755 ${worksrcpath}/src/modules/perl/mod_perl.so \ 65 67 ${destroot}${prefix}/apache2/libexec/ … … 73 75 ui_msg "\nIf this your first install, you might want to" 74 76 ui_msg " * enable mod_perl in apache :\n" 75 77 ui_msg "cd ${prefix}/apache2/libexec" 76 ui_msg "${prefix}/apache2/bin/apxs -a -e -n \"perl\" mod_perl.so\n" 78 ui_msg "${prefix}/apache2/bin/apxs -a -e -n \"perl\" mod_perl.so\n" 77 79 ui_msg " * And then relaunch apache \n" 78 80 ui_msg "${prefix}/apache2/bin/apachectl restart\n" 79 81 } 82 83 livecheck.url [lindex ${master_sites} 0] 84 livecheck.type regex 85 livecheck.regex "mod_perl-(\\d+\\.\\d+(\[0-9rc.\]+)?).tar.gz"