[82436] trunk/dports/python

ram at macports.org ram at macports.org
Sat Aug 13 15:10:32 PDT 2011


Revision: 82436
          http://trac.macports.org/changeset/82436
Author:   ram at macports.org
Date:     2011-08-13 15:10:32 -0700 (Sat, 13 Aug 2011)
Log Message:
-----------
python/py-dnspython: unify

Modified Paths:
--------------
    trunk/dports/python/py-dnspython/Portfile

Removed Paths:
-------------
    trunk/dports/python/py25-dnspython/
    trunk/dports/python/py26-dnspython/
    trunk/dports/python/py27-dnspython/

Modified: trunk/dports/python/py-dnspython/Portfile
===================================================================
--- trunk/dports/python/py-dnspython/Portfile	2011-08-13 22:09:35 UTC (rev 82435)
+++ trunk/dports/python/py-dnspython/Portfile	2011-08-13 22:10:32 UTC (rev 82436)
@@ -1,7 +1,7 @@
 # $Id$
 
 PortSystem         1.0
-PortGroup          python24 1.0
+PortGroup          python 1.0
 
 name               py-dnspython
 version            1.9.4
@@ -19,17 +19,21 @@
 master_sites       ${homepage}kits/${version}
 distname           dnspython-${version}
 
+python.versions    24 25 26 27
+
 checksums          md5 8a89b7865251c4e9d8ec2f8cc9f8cd78 \
                    sha1 41d00d0f81bc9aba02c5c62e1d4a8ee57810410e \
                    rmd160 0ec0bb554208b215e8f70b7ebc41414387d6a178
 
 post-destroot {
-  xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
+  if {${name} != ${subport}} {
+  xinstall -d -m 755 ${destroot}${prefix}/share/doc/${subport}/examples
   xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE README TODO \
-    ${destroot}${prefix}/share/doc/${name}
+    ${destroot}${prefix}/share/doc/${subport}
   xinstall -m 644 -W ${worksrcpath}/examples ddns.py e164.py \
     mx.py name.py reverse.py reverse_name.py xfr.py \
-    ${destroot}${prefix}/share/doc/${name}/examples
+    ${destroot}${prefix}/share/doc/${subport}/examples
+  }
 }
 
 livecheck.type     regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110813/38c64ef9/attachment.html>


More information about the macports-changes mailing list