Ticket #26396: Portfile

File Portfile, 1.5 KB (added by ro@…, 14 years ago)

new (unfinished) Portfile

Line 
1# $Id: Portfile 62606 2010-01-12 01:23:59Z jmr@macports.org $
2
3PortSystem 1.0
4
5name                mod_fcgid
6version             2.3.5
7
8categories          www
9platforms           darwin
10maintainers         nomaintainer
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
18distname            ${name}-${version}
19use_bzip2           yes
20checksums           md5     640a49c9ddf8596bd913835118b4a6aa \
21                    sha1    11034ad8231a6ea1e3c9385b9017e0f8dd7faff0
22patchfiles          patch-fcgid_conf.c
23
24depends_lib         port:apache2
25
26use_configure       no
27#configure {
28#    APXS=/opt/local/apache2/bin/apxs ./configure.apxs
29#}
30
31post-patch {
32   reinplace "s|/usr/local/apache2|${prefix}/apache2|g" \
33      ${worksrcpath}/Makefile
34}
35
36destroot.violate_mtree   yes
37post-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
44notes "
45==========
46To enable mod_fcgid in Apache, add
47   LoadModule fcgid_module modules/mod_fcgid.so
48to ${prefix}/apache2/conf/httpd.conf
49
50For further configuration information please visit
51   http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html
52
53When upgrading from version 2.2, please see the above URL
54   about deprecated config options!
55=========="