source: trunk/dports/www/mod_fcgid/Portfile

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

mod_fcgid: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# $Id: Portfile 102679 2013-02-06 19:19:32Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                mod_fcgid
6version             2.3.7
7categories          www
8license             Apache-2
9platforms           darwin
10maintainers         pixilla openmaintainer
11
12description         An alternative FastCGI module for Apache2
13long_description    ${description}
14
15homepage            http://httpd.apache.org/mod_fcgid/
16master_sites        apache:httpd/${name}
17
18use_bzip2           yes
19
20checksums           rmd160  6c917383374da6629f4857f3c922844acabbc47a \
21                    sha256  4fcfadd2804734cc7a266d8c6044b34a21d5a4a1e2e0c1a882fc59a3e012eb80
22
23depends_lib         port:apache2
24
25patch.pre_args      -p1
26patchfiles          patch-modules-fcgid-fcgid_conf.c.diff
27
28post-patch {
29    reinplace "s|@PREFIX@|${prefix}|g" \
30        ${worksrcpath}/modules/fcgid/fcgid_conf.c
31    reinplace "s|@NAME@|${name}|g" \
32        ${worksrcpath}/modules/fcgid/fcgid_conf.c
33}
34
35configure.env       APXS=${prefix}/apache2/bin/apxs
36configure.cmd       ./configure.apxs
37configure.pre_args 
38
39destroot.violate_mtree   yes
40destroot.keepdirs   ${destroot}${prefix}/var/run/${name}
41post-destroot {
42    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
43    xinstall -m 644 -W ${worksrcpath} \
44        CHANGES-FCGID LICENSE-FCGID NOTICE-FCGID README-FCGID STATUS-FCGID \
45        ${destroot}${prefix}/share/doc/${name}
46    xinstall -m 755 -d ${destroot}${prefix}/apache2/conf/extra
47    xinstall -m 644 ${filespath}/httpd-fcgid.conf \
48        ${destroot}${prefix}/apache2/conf/extra/
49}
50
51notes "
52==========
53This port installs a configuration file to enable mod_fcgid in Apache.
54After install add these lines to the end of ${prefix}/apache2/conf/httpd.conf to enable mod_fcgid.
55    # Include module mod_fcgid
56    Include conf/extra/httpd-fcgid.conf
57
58You should then restart apache2 to load the module.
59    $ sudo port unload apache2
60    $ sudo port load apache2
61
62For further configuration information please visit
63    http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html
64
65When upgrading from version 2.2, please see the above URL
66    about deprecated config options!
67=========="
68
69livecheck.url       http://httpd.apache.org/download.cgi
70livecheck.type      regex
71livecheck.regex     "(?!${name}).*${name}-((?!${extract.suffix}).*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.