Revision: 81500 http://trac.macports.org/changeset/81500 Author: blb@macports.org Date: 2011-07-31 17:09:28 -0700 (Sun, 31 Jul 2011) Log Message: ----------- python postgresql modules (python 3.x): unify Modified Paths: -------------- trunk/dports/python/py-postgresql/Portfile Added Paths: ----------- trunk/dports/python/py-postgresql/ Removed Paths: ------------- trunk/dports/python/py31-postgresql/ trunk/dports/python/py32-postgresql/ Modified: trunk/dports/python/py-postgresql/Portfile =================================================================== --- trunk/dports/python/py31-postgresql/Portfile 2011-07-31 22:07:28 UTC (rev 81491) +++ trunk/dports/python/py-postgresql/Portfile 2011-08-01 00:09:28 UTC (rev 81500) @@ -1,8 +1,8 @@ # $Id$ PortSystem 1.0 -PortGroup python31 1.0 -name py31-postgresql +PortGroup python 1.0 +name py-postgresql version 1.0.2 categories-append devel databases license BSD @@ -25,12 +25,17 @@ sha1 b855f0f432ea075237a6d00a3e34453a0db61c70 \ rmd160 77e36a3b2961a1561b3397d1ff5c374e47e37d76 -post-destroot { - xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} - xinstall -m 644 -W ${worksrcpath} AUTHORS LICENSE README \ - ${destroot}${prefix}/share/doc/${name} +if {${name} != ${subport}} { + post-destroot { + xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} + xinstall -m 644 -W ${worksrcpath} AUTHORS LICENSE README \ + ${destroot}${prefix}/share/doc/${name} + } } +python.default_version 31 +python.versions 31 32 + livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex py-postgresql-(\[.\\d\]+)${extract.suffix}
participants (1)
-
blb@macports.org