source: trunk/dports/www/ajp-wsgi/Portfile

Last change on this file was 129683, checked in by larryv@…, 3 years ago

ajp-wsgi: Use Python 2.7 and remove variants

  • 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 129683 2014-12-18 22:05:17Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                ajp-wsgi
7version             1.1
8revision            1
9categories          www
10platforms           darwin
11license             BSD
12maintainers         nomaintainer
13
14description         WSGI server/gateway implementing AJP
15long_description    ajp-wsgi is a WSGI server/gateway that implements \
16                    AJP 1.3 to communicate with a web server.  It is \
17                    written in C and embeds a Python interpreter to \
18                    run the actual application.  Since all of the \
19                    low-level transport code is in C, ajp-wsgi is \
20                    significantly faster than flup's pure-Python ajp \
21                    server.
22homepage            http://www.saddi.com/software/ajp-wsgi
23
24depends_lib-append  port:python27
25
26master_sites        ${homepage}/dist/
27use_bzip2           yes
28checksums           md5     406bc951520186d3b17cc0abae6e32f6 \
29                    sha1    85e30d6f612f42485caa4ee406159661760de575 \
30                    rmd160  7f7b7d80f3daff25bbdfcb988c381b0d1a24722a
31
32configure.cmd       ${prefix}/bin/python2.7
33configure.pre_args
34configure.args      configure.py
35
36destroot {
37   xinstall -m 755 -d ${destroot}${prefix}/bin \
38      ${destroot}${prefix}/share/doc/${name} \
39      ${destroot}${prefix}/share/examples/${name}
40   xinstall -m 755 -W ${worksrcpath} ${name} ${destroot}${prefix}/bin
41   xinstall -m 644 -W ${worksrcpath} ChangeLog README \
42      ${destroot}${prefix}/share/doc/${name}
43   xinstall -m 644 -W ${worksrcpath} test.py \
44      ${destroot}${prefix}/share/examples/${name}
45}
46
47livecheck.type      regex
48livecheck.url       "${master_sites}?C=M;O=D"
49livecheck.regex     "${name}-(\[0-9.\]+)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.