[49741] trunk/dports/www/mod_python26/Portfile
blb at macports.org
blb at macports.org
Thu Apr 16 22:43:51 PDT 2009
Revision: 49741
http://trac.macports.org/changeset/49741
Author: blb at macports.org
Date: 2009-04-16 22:43:50 -0700 (Thu, 16 Apr 2009)
Log Message:
-----------
www/mod_python26 - whitespace changes
Modified Paths:
--------------
trunk/dports/www/mod_python26/Portfile
Modified: trunk/dports/www/mod_python26/Portfile
===================================================================
--- trunk/dports/www/mod_python26/Portfile 2009-04-17 05:40:59 UTC (rev 49740)
+++ trunk/dports/www/mod_python26/Portfile 2009-04-17 05:43:50 UTC (rev 49741)
@@ -1,57 +1,56 @@
# $Id$
-PortSystem 1.0
+PortSystem 1.0
+name mod_python26
+version 3.3.1
+categories www python
+maintainers blb openmaintainer
+description Apache2 module that embeds Python within the server.
+long_description \
+ Mod_python is an Apache 2 module that embeds the Python interpreter \
+ within the server. With mod_python you can write web-based applications \
+ in Python that will run many times faster than traditional CGI and will \
+ have access to advanced features such as ability to retain database \
+ connections and other data between hits and access to Apache internals.
-name mod_python26
-version 3.3.1
-categories www python
-platforms darwin
-maintainers blb openmaintainer
-description Apache2 module that embeds Python within the server.
-long_description Mod_python is an Apache 2 module that embeds the \
- Python interpreter within the server. With mod_python \
- you can write web-based applications in Python that \
- will run many times faster than traditional CGI and \
- will have access to advanced features such as ability \
- to retain database connections and other data between \
- hits and access to Apache internals.
+platforms darwin
-homepage http://www.modpython.org/
-master_sites apache:httpd/modpython
-distname mod_python-${version}
-extract.suffix .tgz
-checksums sha1 e538170fd78e09408b6d8593da980b126a0fef93
+homepage http://www.modpython.org/
+master_sites apache:httpd/modpython
+distname mod_python-${version}
+extract.suffix .tgz
-depends_build port:flex
-depends_lib port:apache2 port:python26
+checksums sha1 e538170fd78e09408b6d8593da980b126a0fef93
-patchfiles patch-dist-Makefile.in.diff \
- patch-src-connobject.c.diff \
- patch-configure.diff
+depends_build port:flex
+depends_lib port:apache2 port:python26
-configure.args --with-apxs=${prefix}/apache2/bin/apxs \
- --with-python=${prefix}/bin/python2.6 \
- --with-flex=${prefix}/bin/flex \
- --enable-so
+patchfiles patch-dist-Makefile.in.diff \
+ patch-src-connobject.c.diff \
+ patch-configure.diff
-destroot.violate_mtree yes
+configure.args --with-apxs=${prefix}/apache2/bin/apxs \
+ --with-python=${prefix}/bin/python2.6 \
+ --with-flex=${prefix}/bin/flex \
+ --enable-so
+destroot.violate_mtree yes
pre-destroot {
- xinstall -d -m 755 ${destroot}${prefix}/apache2/modules \
- ${destroot}${prefix}/share/doc
- file copy ${worksrcpath}/doc-html ${destroot}${prefix}/share/doc/${name}
+ xinstall -d -m 755 ${destroot}${prefix}/apache2/modules \
+ ${destroot}${prefix}/share/doc
+ file copy ${worksrcpath}/doc-html ${destroot}${prefix}/share/doc/${name}
}
post-install {
- ui_msg "########################################################"
- ui_msg "# to enable mod_python add"
- ui_msg "# LoadModule python_module modules/mod_python.so"
- ui_msg "# to your apache2 config file:"
- ui_msg "# ${prefix}/apache2/conf/httpd.conf"
- ui_msg "########################################################"
+ ui_msg "########################################################"
+ ui_msg "# to enable mod_python add"
+ ui_msg "# LoadModule python_module modules/mod_python.so"
+ ui_msg "# to your apache2 config file:"
+ ui_msg "# ${prefix}/apache2/conf/httpd.conf"
+ ui_msg "########################################################"
}
-livecheck.check regex
-livecheck.url http://httpd.apache.org/modules/python-download.cgi
-livecheck.regex mod_python-(\[0-9\\.\]+)\\.tgz
+livecheck.check regex
+livecheck.url http://httpd.apache.org/modules/python-download.cgi
+livecheck.regex mod_python-(\[0-9\\.\]+)\\.tgz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090416/de528b78/attachment.html>
More information about the macports-changes
mailing list