[101488] trunk/dports/python/py-pyobjc/Portfile

jmr at macports.org jmr at macports.org
Fri Jan 11 13:02:42 PST 2013


Revision: 101488
          https://trac.macports.org/changeset/101488
Author:   jmr at macports.org
Date:     2013-01-11 13:02:42 -0800 (Fri, 11 Jan 2013)
Log Message:
-----------
py-pyobjc: fix README.txt case on py25+ (#37610)

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

Modified: trunk/dports/python/py-pyobjc/Portfile
===================================================================
--- trunk/dports/python/py-pyobjc/Portfile	2013-01-11 20:31:56 UTC (rev 101487)
+++ trunk/dports/python/py-pyobjc/Portfile	2013-01-11 21:02:42 UTC (rev 101488)
@@ -31,6 +31,7 @@
     depends_lib     port:py${python.version}-distribute \
                     port:py${python.version}-py2app
 
+    set readme_name README.txt
     if {${python.version} <= 25} {
         if {${python.version} == 24} {
             version         2.0
@@ -40,6 +41,8 @@
             worksrcdir      pyobjc-core
 
             patchfiles      patch-PyErr_WarnEx.diff undef_snprintf.diff setup.py.diff
+
+            set readme_name ReadMe.txt
         } else {
             version         2.2
             patchfiles      objc-class.m.diff
@@ -63,7 +66,7 @@
 
     post-destroot {
         xinstall -m 644 -W ${worksrcpath} HISTORIC.txt Install.txt \
-            License.txt NEWS.txt ReadMe.txt \
+            License.txt NEWS.txt $readme_name \
             ${destroot}${prefix}/share/doc/${subport}
         copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${subport}/html
         delete ${destroot}${prefix}/share/doc/${subport}/examples
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130111/e4678d85/attachment.html>


More information about the macports-changes mailing list