source: trunk/dports/www/mod_security/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2PortSystem 1.0
3name            mod_security
4version         1.8.6
5categories      www security
6maintainers     touche.fr.st:julien.touche
7description     intrusion detection and prevention engine for web applications
8long_description        ModSecurity is an open source intrusion detection and \
9                        prevention engine for web applications. It operates \
10                        embedded into the web server, acting as a powerful \
11                        umbrella - shielding applications from attacks. \
12                        It supports both branches of the Apache web server.
13homepage        http://www.modsecurity.org
14master_sites    ${homepage}/download/
15platforms       darwin
16checksums       md5 f6bf4724dd0db3d37586b64bc0ee160d
17
18use_configure   no
19
20#variant apache1 {
21        depends_lib port:apache
22        build.cmd       ${prefix}/sbin/apxs
23        set apachedir   apache
24        set apachever   apache1
25#}
26
27#variant apache2        {
28#       depends_lib     port:apache2
29#       build.cmd       ${prefix}/apache2/bin/apxs
30#       set apachedir   apache2
31#       set apachever   apache2
32#}
33
34build.args      -c -o ${name}.so ${apachever}/${name}.c
35build.target
36
37destroot {
38        xinstall -d -m 755 ${destroot}${prefix}/libexec/${apachedir} \
39                ${destroot}${prefix}/share/doc/${name}
40        xinstall -m 755 ${worksrcpath}/${name}.so \
41                ${destroot}${prefix}/libexec/${apachedir}/
42        xinstall -m 644 -W ${worksrcpath} CHANGES INSTALL LICENSE README \
43                ${destroot}${prefix}/share/doc/${name}
44}
Note: See TracBrowser for help on using the repository browser.