Modified: trunk/dports/python/py-postgresql/Portfile (81491 => 81500)
--- 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}