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

Last change on this file since 76953 was 76953, checked in by blb@…, 10 years ago

Numerous ports: add license field

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# $Id: Portfile 76953 2011-03-15 03:47:33Z blb@macports.org $
2
3PortSystem          1.0
4name                ajp-wsgi
5version             1.1
6categories          www
7license             BSD
8maintainers         blb openmaintainer
9description         WSGI server/gateway implementing AJP
10long_description \
11   ajp-wsgi is a WSGI server/gateway that implements AJP 1.3 to \
12   communicate with a web server.  It is written in C and embeds a Python \
13   interpreter to run the actual application.  Since all of the low-level \
14   transport code is in C, ajp-wsgi is significantly faster than flup's \
15   pure-Python ajp server.
16
17platforms           darwin
18
19homepage            http://www.saddi.com/software/ajp-wsgi
20master_sites        ${homepage}/dist/
21use_bzip2           yes
22
23checksums           md5     406bc951520186d3b17cc0abae6e32f6 \
24                    sha1    85e30d6f612f42485caa4ee406159661760de575 \
25                    rmd160  7f7b7d80f3daff25bbdfcb988c381b0d1a24722a
26
27configure.args      configure.py
28configure.pre_args
29
30destroot {
31   xinstall -m 755 -d ${destroot}${prefix}/bin \
32      ${destroot}${prefix}/share/doc/${name} \
33      ${destroot}${prefix}/share/examples/${name}
34   xinstall -m 755 -W ${worksrcpath} ${name} ${destroot}${prefix}/bin
35   xinstall -m 644 -W ${worksrcpath} ChangeLog README \
36      ${destroot}${prefix}/share/doc/${name}
37   xinstall -m 644 -W ${worksrcpath} test.py \
38      ${destroot}${prefix}/share/examples/${name}
39}
40
41variant python25 conflicts python26 python27 description {Use with Python 2.5} {
42   depends_lib-append   port:python25
43   configure.cmd        ${prefix}/bin/python2.5
44}
45
46variant python26 conflicts python25 python27 description {Use with Python 2.6} {
47   depends_lib-append   port:python26
48   configure.cmd        ${prefix}/bin/python2.6
49}
50
51variant python27 conflicts python25 python26 description {Use with Python 2.7} {
52   depends_lib-append   port:python27
53   configure.cmd        ${prefix}/bin/python2.7
54}
55
56if {![variant_isset python25] && ![variant_isset python27]} {
57   default_variants     +python26
58}
59
60livecheck.type  regex
61livecheck.url   "${master_sites}?C=M;O=D"
62livecheck.regex "${name}-(\[0-9.\]+)${extract.suffix}"
63
Note: See TracBrowser for help on using the repository browser.