[91975] trunk/dports/python/py-graphy/Portfile
jmr at macports.org
jmr at macports.org
Sat Apr 14 04:11:07 PDT 2012
Revision: 91975
https://trac.macports.org/changeset/91975
Author: jmr at macports.org
Date: 2012-04-14 04:11:07 -0700 (Sat, 14 Apr 2012)
Log Message:
-----------
py-graphy: fix stub, use preferred license format
Modified Paths:
--------------
trunk/dports/python/py-graphy/Portfile
Modified: trunk/dports/python/py-graphy/Portfile
===================================================================
--- trunk/dports/python/py-graphy/Portfile 2012-04-14 10:59:29 UTC (rev 91974)
+++ trunk/dports/python/py-graphy/Portfile 2012-04-14 11:11:07 UTC (rev 91975)
@@ -8,7 +8,7 @@
set real_name graphy
version 1.0
maintainers singingwolfboy openmaintainer
-license Apache-2.0
+license Apache-2
description Simple Python library for generating charts
long_description \
Graphy is a simple Python library for generating charts. It tries to get \
@@ -24,14 +24,16 @@
sha1 b3206c349357bad02750b25ad58547ffc9fcae06 \
rmd160 69c986a9b41f6de6e5f6cd5a61071308f4f608b0
-build {
- system "find ${worksrcpath} -name .svn -print0 | xargs -0 rm -rf"
+if {$subport != $name} {
+ build {
+ system "find ${worksrcpath} -name .svn -print0 | xargs -0 rm -rf"
+ }
+ destroot {
+ set docdir ${destroot}${prefix}/share/doc/${subport}
+ xinstall -d ${docdir}/examples ${destroot}${python.pkgd}
+
+ move ${worksrcpath}/${real_name} ${destroot}${python.pkgd}/${real_name}
+ xinstall ${worksrcpath}/README ${docdir}
+ eval xinstall [glob ${worksrcpath}/examples/*.py] ${docdir}/examples
+ }
}
-destroot {
- set docdir ${destroot}${prefix}/share/doc/${name}
- xinstall -d ${docdir}/examples ${destroot}${python.pkgd}
-
- move ${worksrcpath}/${real_name} ${destroot}${python.pkgd}/${real_name}
- xinstall ${worksrcpath}/README ${docdir}
- eval xinstall [glob ${worksrcpath}/examples/*.py] ${docdir}/examples
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120414/530fe19c/attachment-0001.html>
More information about the macports-changes
mailing list