Changeset 49741


Ignore:
Timestamp:
Apr 17, 2009, 5:43:50 AM (10 years ago)
Author:
blb@…
Message:

www/mod_python26 - whitespace changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/mod_python26/Portfile

    r49740 r49741  
    11# $Id$
    22
    3 PortSystem 1.0
     3PortSystem          1.0
     4name                mod_python26
     5version             3.3.1
     6categories          www python
     7maintainers         blb openmaintainer
     8description         Apache2 module that embeds Python within the server.
     9long_description \
     10   Mod_python is an Apache 2 module that embeds the Python interpreter \
     11   within the server. With mod_python you can write web-based applications \
     12   in Python that will run many times faster than traditional CGI and will \
     13   have access to advanced features such as ability to retain database \
     14   connections and other data between hits and access to Apache internals.
    415
    5 name                    mod_python26
    6 version                 3.3.1
    7 categories              www python
    8 platforms               darwin
    9 maintainers             blb openmaintainer
    10 description             Apache2 module that embeds Python within the server.
    11 long_description        Mod_python is an Apache 2 module that embeds the \
    12     Python interpreter within the server. With mod_python \
    13     you can write web-based applications in Python that \
    14     will run many times faster than traditional CGI and \
    15     will have access to advanced features such as ability \
    16     to retain database connections and other data between \
    17     hits and access to Apache internals.
     16platforms           darwin
    1817
    19 homepage                http://www.modpython.org/
    20 master_sites    apache:httpd/modpython
    21 distname        mod_python-${version}
    22 extract.suffix  .tgz
    23 checksums               sha1 e538170fd78e09408b6d8593da980b126a0fef93
     18homepage            http://www.modpython.org/
     19master_sites        apache:httpd/modpython
     20distname            mod_python-${version}
     21extract.suffix      .tgz
    2422
    25 depends_build   port:flex
    26 depends_lib             port:apache2 port:python26
     23checksums           sha1 e538170fd78e09408b6d8593da980b126a0fef93
    2724
    28 patchfiles      patch-dist-Makefile.in.diff \
    29                 patch-src-connobject.c.diff \
    30                 patch-configure.diff
     25depends_build       port:flex
     26depends_lib         port:apache2 port:python26
    3127
    32 configure.args  --with-apxs=${prefix}/apache2/bin/apxs \
    33     --with-python=${prefix}/bin/python2.6 \
    34     --with-flex=${prefix}/bin/flex \
    35     --enable-so
     28patchfiles          patch-dist-Makefile.in.diff \
     29                    patch-src-connobject.c.diff \
     30                    patch-configure.diff
    3631
    37 destroot.violate_mtree  yes
     32configure.args      --with-apxs=${prefix}/apache2/bin/apxs \
     33                    --with-python=${prefix}/bin/python2.6 \
     34                    --with-flex=${prefix}/bin/flex \
     35                    --enable-so
    3836
     37destroot.violate_mtree   yes
    3938pre-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}
     39   xinstall -d -m 755 ${destroot}${prefix}/apache2/modules \
     40      ${destroot}${prefix}/share/doc
     41   file copy ${worksrcpath}/doc-html ${destroot}${prefix}/share/doc/${name}
    4342}
    4443
    4544post-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 "########################################################"
     45   ui_msg "########################################################"
     46   ui_msg "# to enable mod_python add"
     47   ui_msg "#  LoadModule python_module modules/mod_python.so"
     48   ui_msg "# to your apache2 config file:"
     49   ui_msg "#  ${prefix}/apache2/conf/httpd.conf"
     50   ui_msg "########################################################"
    5251}
    5352
    54 livecheck.check regex
    55 livecheck.url   http://httpd.apache.org/modules/python-download.cgi
    56 livecheck.regex mod_python-(\[0-9\\.\]+)\\.tgz
     53livecheck.check     regex
     54livecheck.url       http://httpd.apache.org/modules/python-download.cgi
     55livecheck.regex     mod_python-(\[0-9\\.\]+)\\.tgz
    5756
Note: See TracChangeset for help on using the changeset viewer.