Ticket #29814: patch-Portfile.diff
File patch-Portfile.diff, 1.5 KB (added by BjarneDMat, 13 years ago) |
---|
-
www/mod_dosevasive/Portfile
old new 2 2 PortSystem 1.0 3 3 name mod_dosevasive 4 4 version 1.8 5 revision 1 6 7 replaced_by mod_evasive 8 5 9 categories www 6 10 platforms darwin 7 11 maintainers touche.fr.st:julien.touche … … 15 19 mod_dosevasive presently reports abuses via email and \ 16 20 syslog facilities. 17 21 18 homepage http://www.nuclearelephant.com/projects/dosevasive/ 19 master_sites ${homepage} 20 distname ${name}.${version} 21 checksums md5 243d24e205c3b82ef55542887e03d998 22 23 set worksrcdir ${name} 24 25 use_configure no 26 27 #variant apache1 { 28 depends_lib path:${prefix}/etc/apache:apache 29 build.cmd ${prefix}/sbin/apxs 30 set apache apache 31 #} 32 33 variant apache2 { 34 depends_lib path:${prefix}/etc/apache2:apache2 35 build.cmd ${prefix}/sbin/apxs 36 set apache apache2 37 } 22 distfiles 38 23 39 build.args -c -o ${name}.so ${name}.c 40 build.target 24 livecheck.type none 41 25 42 destroot { 43 xinstall -d -m 755 ${destroot}${prefix}/libexec/${apache} \ 44 ${destroot}${prefix}/share/doc/${name} 45 xinstall -m 755 ${worksrcpath}/${name}.so \ 46 ${destroot}${prefix}/libexec/${apache}/ 47 xinstall -W ${worksrcpath} LICENSE README \ 48 ${destroot}${prefix}/share/doc/${name} 26 pre-configure { 27 ui_error "Please do not install this port since it has been replaced by 'mod_evasive'." 28 return -code error 49 29 }