Revision: 94844 https://trac.macports.org/changeset/94844 Author: mww@macports.org Date: 2012-07-01 13:08:47 -0700 (Sun, 01 Jul 2012) Log Message: ----------- mod_python: whitespace changes only Modified Paths: -------------- trunk/dports/www/mod_python/Portfile Modified: trunk/dports/www/mod_python/Portfile =================================================================== --- trunk/dports/www/mod_python/Portfile 2012-07-01 20:06:14 UTC (rev 94843) +++ trunk/dports/www/mod_python/Portfile 2012-07-01 20:08:47 UTC (rev 94844) @@ -1,59 +1,58 @@ # $Id$ -PortSystem 1.0 +PortSystem 1.0 -name mod_python -version 3.3.1 -revision 1 -categories www python -platforms darwin +name mod_python +version 3.3.1 +revision 1 +categories www python +platforms darwin license Apache-2 -maintainers mww -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. +maintainers mww +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. -homepage http://www.modpython.org/ -master_sites apache:httpd/modpython -extract.suffix .tgz +homepage http://www.modpython.org/ +master_sites apache:httpd/modpython +extract.suffix .tgz checksums rmd160 f78f93172963317f4318f8f2455419743c8fb4f5 \ sha256 ad2331fd5fcfd720ef9e3482973fc2d06eff36ba0c44693cfa42056a62175a6b -depends_build port:flex -depends_lib port:apache2 port:python24 +depends_build port:flex +depends_lib port:apache2 port:python24 -patchfiles patch-src-connobject.c.diff patch-dist-Makefile.in.diff +patchfiles patch-src-connobject.c.diff patch-dist-Makefile.in.diff -configure.cppflags "-I${prefix}/include/python2.4" -configure.ldflags-append "-Wl,-F${prefix}/Library/Frameworks" -configure.args --with-apxs=${prefix}/apache2/bin/apxs \ - --with-python=${prefix}/bin/python2.4 \ - --with-flex=${prefix}/bin/flex \ - --enable-so +configure.cppflags "-I${prefix}/include/python2.4" +configure.ldflags-append "-Wl,-F${prefix}/Library/Frameworks" +configure.args --with-apxs=${prefix}/apache2/bin/apxs \ + --with-python=${prefix}/bin/python2.4 \ + --with-flex=${prefix}/bin/flex \ + --enable-so 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} } -destroot.violate_mtree yes +destroot.violate_mtree yes 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.type regex -livecheck.url http://httpd.apache.org/modules/python-download.cgi -livecheck.regex mod_python-(\[0-9\\.\]+)\\.tgz +livecheck.type regex +livecheck.url http://httpd.apache.org/modules/python-download.cgi +livecheck.regex mod_python-(\[0-9\\.\]+)\\.tgz
participants (1)
-
mww@macports.org