Revision
81309
Author
stromnov@macports.org
Date
2011-07-29 01:04:09 -0700 (Fri, 29 Jul 2011)

Log Message

py-blist: fix

Modified Paths

Diff

Modified: trunk/dports/python/py-blist/Portfile (81308 => 81309)


--- trunk/dports/python/py-blist/Portfile	2011-07-29 07:34:18 UTC (rev 81308)
+++ trunk/dports/python/py-blist/Portfile	2011-07-29 08:04:09 UTC (rev 81309)
@@ -6,7 +6,7 @@
 
 name                py-blist
 version             1.3.4
-revision            0
+revision            1
 categories-append   devel
 license             BSD
 platforms           darwin
@@ -31,15 +31,15 @@
     depends_lib     port:py-setuptools
 } elseif {$subport != $name} {
     depends_lib     port:py${python.version}-distribute
-}
 
-post-patch {
-    file delete -force ${worksrcpath}/blist.egg-info
-}
+    post-patch {
+        file delete -force ${worksrcpath}/blist.egg-info
+    }
 
-post-destroot {
-    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-    xinstall -m 644 -W ${worksrcpath} README.rst LICENSE ${destroot}${prefix}/share/doc/${name}
+    post-destroot {
+        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
+        xinstall -m 644 -W ${worksrcpath} README.rst LICENSE ${destroot}${prefix}/share/doc/${subport}
+    }
 }
 
 livecheck.type      regex