source: trunk/dports/www/mod_python26/Portfile @ 87969

Last change on this file since 87969 was 87583, checked in by blb@…, 8 years ago

My ports: drop maintainer

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# $Id: Portfile 87583 2011-11-26 22:50:44Z blb@macports.org $
2
3PortSystem          1.0
4name                mod_python26
5version             3.3.1
6categories          www python
7license             Apache-2
8maintainers         nomaintainer
9description         Apache2 module that embeds Python within the server.
10long_description \
11   Mod_python is an Apache 2 module that embeds the Python interpreter \
12   within the server. With mod_python you can write web-based applications \
13   in Python that will run many times faster than traditional CGI and will \
14   have access to advanced features such as ability to retain database \
15   connections and other data between hits and access to Apache internals.
16
17platforms           darwin
18
19homepage            http://www.modpython.org/
20master_sites        apache:httpd/modpython
21distname            mod_python-${version}
22extract.suffix      .tgz
23
24checksums           sha1 e538170fd78e09408b6d8593da980b126a0fef93
25
26depends_build       port:flex
27depends_lib         port:apache2 port:python26
28
29patchfiles          patch-dist-Makefile.in.diff \
30                    patch-src-connobject.c.diff \
31                    patch-configure.diff
32
33configure.args      --with-apxs=${prefix}/apache2/bin/apxs \
34                    --with-python=${prefix}/bin/python2.6 \
35                    --with-flex=${prefix}/bin/flex \
36                    --enable-so
37
38destroot.violate_mtree   yes
39pre-destroot {
40   xinstall -d -m 755 ${destroot}${prefix}/apache2/modules \
41      ${destroot}${prefix}/share/doc
42   file copy ${worksrcpath}/doc-html ${destroot}${prefix}/share/doc/${name}
43}
44
45post-install {
46   ui_msg "########################################################"
47   ui_msg "# to enable mod_python add"
48   ui_msg "#  LoadModule python_module modules/mod_python.so"
49   ui_msg "# to your apache2 config file:"
50   ui_msg "#  ${prefix}/apache2/conf/httpd.conf"
51   ui_msg "########################################################"
52}
53
54livecheck.type      regex
55livecheck.url       http://archive.apache.org/dist/httpd/modpython/
56livecheck.regex     mod_python-(\[0-9\\.\]+)\\.tgz
57
Note: See TracBrowser for help on using the repository browser.