1 | # $Id: Portfile 62606 2010-01-12 01:23:59Z jmr@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name mod_fcgid |
---|
6 | version 2.3.5 |
---|
7 | |
---|
8 | categories www |
---|
9 | platforms darwin |
---|
10 | maintainers nomaintainer |
---|
11 | |
---|
12 | description An alternative FastCGI module for Apache2 |
---|
13 | long_description ${description} |
---|
14 | |
---|
15 | homepage http://httpd.apache.org/mod_fcgid/ |
---|
16 | master_sites apache:httpd/${name} |
---|
17 | |
---|
18 | distname ${name}-${version} |
---|
19 | use_bzip2 yes |
---|
20 | checksums md5 640a49c9ddf8596bd913835118b4a6aa \ |
---|
21 | sha1 11034ad8231a6ea1e3c9385b9017e0f8dd7faff0 |
---|
22 | patchfiles patch-fcgid_conf.c |
---|
23 | |
---|
24 | depends_lib port:apache2 |
---|
25 | |
---|
26 | use_configure no |
---|
27 | #configure { |
---|
28 | # APXS=/opt/local/apache2/bin/apxs ./configure.apxs |
---|
29 | #} |
---|
30 | |
---|
31 | post-patch { |
---|
32 | reinplace "s|/usr/local/apache2|${prefix}/apache2|g" \ |
---|
33 | ${worksrcpath}/Makefile |
---|
34 | } |
---|
35 | |
---|
36 | destroot.violate_mtree yes |
---|
37 | post-destroot { |
---|
38 | xinstall -m 755 -d ${destroot}${prefix}/apache2/modules \ |
---|
39 | ${destroot}${prefix}/share/doc/${name} |
---|
40 | xinstall -m 644 -W ${worksrcpath} AUTHOR COPYING ChangeLog INSTALL.txt \ |
---|
41 | ${destroot}${prefix}/share/doc/${name} |
---|
42 | } |
---|
43 | |
---|
44 | notes " |
---|
45 | ========== |
---|
46 | To enable mod_fcgid in Apache, add |
---|
47 | LoadModule fcgid_module modules/mod_fcgid.so |
---|
48 | to ${prefix}/apache2/conf/httpd.conf |
---|
49 | |
---|
50 | For further configuration information please visit |
---|
51 | http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html |
---|
52 | |
---|
53 | When upgrading from version 2.2, please see the above URL |
---|
54 | about deprecated config options! |
---|
55 | ==========" |
---|