source: trunk/dports/www/fcgiwrap/Portfile

Last change on this file was 119736, checked in by ryandesign@…, 3 years ago

fcgiwrap: add pkgconfig build dependency

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 119736 2014-05-05 08:16:07Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        gnosek fcgiwrap 1.1.0
8categories          www
9platforms           darwin
10maintainers         nomaintainer
11license             MIT
12
13description         simple server for running CGI applications over FastCGI. \
14                    It hopes to provide clean CGI support to Nginx
15
16long_description    ${description}
17
18homepage            https://nginx.localdomain.pl/wiki/FcgiWrap
19
20checksums           rmd160  db492eefd2f78effa4738526537a0804877d692c \
21                    sha256  bf8f3f864e8dc0a7ab1e24e7692db7320a045fbbf47298286f0786a2f978c911
22
23depends_build       port:pkgconfig
24
25depends_lib         port:fcgi
26
27depends_run         port:spawn-fcgi
28
29# There is no configure script in the archive.
30use_autoreconf      yes
31
32# The project's build system uses autoconf incorrectly.
33configure.args      --mandir=/share/man
34
35build.args          CC=${configure.cc}
36
37post-destroot {
38    xinstall -d ${destroot}${prefix}/share/doc/${name}
39    copy ${worksrcpath}/README.rst ${destroot}${prefix}/share/doc/${name}/
40}
41
42## FIXME! plist not working
43#startupitem.create      yes
44#startupitem.name        ${name}
45## -n = no forking
46#startupitem.executable  ${prefix}/bin/spawn-fcgi -n -F 1 -P ${prefix}/var/run/${name}.pid -s ${prefix}/var/run/${name}.socket -U nobody -G nobody ${prefix}/sbin/fcgiwrap
47#startupitem.pidfile     ${prefix}/var/run/${name}.pid
48
49notes "
50To end setup, if using with Nginx, follow:
51
52    http://wiki.nginx.org/Fcgiwrap
53
54You can launch ${name} by running:
55
56    $ ${prefix}/bin/spawn-fcgi -F 1 -P ${prefix}/var/run/${name}.pid -s ${prefix}/var/run/${name}.socket \
57         -U nobody -G nobody ${prefix}/sbin/fcgiwrap
58"
Note: See TracBrowser for help on using the repository browser.