source: trunk/dports/www/mod_antispam/Portfile

Last change on this file was 110907, checked in by jmr@…, 4 years ago

mod_antispam: fix apache version checks

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 921 bytes
Line 
1# $Id: Portfile 110907 2013-09-09 19:50:22Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    mod_antispam
6version                 1.0
7categories              www
8license                 Apache-2
9platforms               darwin
10maintainers             nomaintainer
11description             mod_antispam is an apache2 module that can control spam access
12long_description        ${description}
13
14homepage                http://bluecoara.net/item44/cat9.html
15master_sites    http://bluecoara.net/download/mod_antispam/
16checksums               md5 d0903fc10c48927cd00fe041ab888136
17
18depends_lib             port:apache2
19
20patchfiles              apache_versions.diff
21
22use_configure   no
23
24build.cmd               ${prefix}/apache2/bin/apxs
25build.target   
26build.args              -c -o mod_antispam.so mod_antispam.c
27
28destroot {
29        xinstall -m 755 -d ${destroot}${prefix}/apache2/modules \
30                ${destroot}${prefix}/share/doc/${name}
31        xinstall -m 644 ${worksrcpath}/.libs/mod_antispam.so \
32                ${destroot}${prefix}/apache2/modules
33        xinstall -m 644 -W ${worksrcpath} AUTHORS CHANGES INSTALL README TODO \
34                httpd.conf.sample ${destroot}${prefix}/share/doc/${name}
35}
Note: See TracBrowser for help on using the repository browser.