source: trunk/dports/www/mod_fastcgi/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.6 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4
5name                    mod_fastcgi
6version                 2.4.6
7categories              www
8maintainers             geeklair.net:dluke
9description             An Apache module that implements the FastCGI protocol
10long_description        FastCGI is a language independent, scalable, open \
11                        extension  to CGI that provides high performance \
12                        without the limitations of server specific APIs. \
13                        This is the Apache module.
14
15homepage                http://www.fastcgi.com/
16platforms               darwin
17master_sites            ${homepage}/dist/
18checksums               md5 a21a613dd5dacf4c8ad88c8550294fed
19
20depends_lib             port:apache2
21
22destroot.violate_mtree  yes
23
24configure {
25        file copy ${worksrcpath}/Makefile.AP2 ${worksrcpath}/Makefile
26        reinplace "s|/usr/local/apache2|${prefix}/apache2|g" \
27                ${worksrcpath}/Makefile
28        reinplace "s|apachectl|${prefix}/apache2/bin/apachectl|g" \
29                ${worksrcpath}/Makefile
30        reinplace "s|apxs|${prefix}/apache2/bin/apxs|g" ${worksrcpath}/Makefile
31}
32
33build.args              INCLUDES=-I${prefix}/apache2/include
34
35destroot {
36        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name} \
37                ${destroot}${prefix}/apache2/modules
38        xinstall -m 644 ${worksrcpath}/.libs/mod_fastcgi.so \
39                ${destroot}${prefix}/apache2/modules
40        xinstall -m 644 -W ${worksrcpath}/docs LICENSE.TERMS mod_fastcgi.html \
41                ${destroot}${prefix}/share/doc/${name}
42}
43
44post-install {
45        ui_msg  "=========="
46        ui_msg  "To enable mod_fastcgi in Apache, add"
47        ui_msg  "   LoadModule fastcgi_module modules/mod_fastcgi.so"
48        ui_msg  "to ${prefix}/apache2/conf/httpd.conf"
49        ui_msg  ""
50        ui_msg  "For further configuration information please visit"
51        ui_msg  "   http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html"
52        ui_msg  "=========="
53}
Note: See TracBrowser for help on using the repository browser.