Ticket #30675: mod_perl2-Portfile.patch
File mod_perl2-Portfile.patch, 1.8 KB (added by astricker@…, 13 years ago) |
---|
-
www/mod_perl2/Portfile
a b 3 3 4 4 PortSystem 1.0 5 5 name mod_perl2 6 version 2.0. 46 version 2.0.5 7 7 maintainers cyberscript.net:ryan 8 8 categories www 9 9 platforms darwin … … 24 24 homepage http://perl.apache.org/ 25 25 master_sites http://perl.apache.org/dist/ 26 26 distname mod_perl-${version} 27 checksums md5 1a05625ae6843085f985f5da8214502a\28 sha1 65299a16ec414a690a48a2bbe63acaa3c6bb897b\29 rmd160 111b8f33e2dcc43ef7a0a7d557ceb467f0c55c6d 27 checksums md5 03d01d135a122bd8cebd0cd5b185d674 \ 28 sha1 e749e2d7236273217f33cbe7fcd704a662e532d1 \ 29 rmd160 d659db1c64200ed9c8863c6e283360dfdd0c8384 30 30 depends_lib path:bin/perl:perl5 port:apache2 31 31 worksrcdir mod_perl-${version} 32 32 33 configure { 33 configure { 34 34 set APXS ${prefix}/apache2/bin/apxs 35 35 system "cd ${workpath}/${worksrcdir} && \ 36 36 ${prefix}/bin/perl Makefile.PL MP_APXS=${APXS}" … … 42 42 xinstall -m 755 -d ${destroot}${prefix}/apache2/include/modules/perl \ 43 43 ${destroot}${prefix}/apache2/libexec 44 44 system "install -m 755 ${worksrcpath}/src/modules/perl/*.h \ 45 ${destroot}${prefix}/apache2/include/modules/perl" 45 ${destroot}${prefix}/apache2/include/modules/perl" 46 46 47 47 xinstall -m 755 ${worksrcpath}/src/modules/perl/mod_perl.so \ 48 48 ${destroot}${prefix}/apache2/libexec/ … … 56 56 ui_msg "\nIf this your first install, you might want to" 57 57 ui_msg " * enable mod_perl in apache :\n" 58 58 ui_msg "cd ${prefix}/apache2/libexec" 59 ui_msg "${prefix}/apache2/bin/apxs -a -e -n \"perl\" mod_perl.so\n" 59 ui_msg "${prefix}/apache2/bin/apxs -a -e -n \"perl\" mod_perl.so\n" 60 60 ui_msg " * And then relaunch apache \n" 61 61 ui_msg "${prefix}/apache2/bin/apachectl restart\n" 62 62 }