[78506] trunk/dports/python

ryandesign at macports.org ryandesign at macports.org
Tue May 10 00:39:29 PDT 2011


Revision: 78506
          http://trac.macports.org/changeset/78506
Author:   ryandesign at macports.org
Date:     2011-05-10 00:39:27 -0700 (Tue, 10 May 2011)
Log Message:
-----------
py26-enchant, py27-enchant: don't assume MacPorts is in /opt/local

Modified Paths:
--------------
    trunk/dports/python/py26-enchant/Portfile
    trunk/dports/python/py27-enchant/Portfile

Added Paths:
-----------
    trunk/dports/python/py26-enchant/files/
    trunk/dports/python/py27-enchant/files/

Modified: trunk/dports/python/py26-enchant/Portfile
===================================================================
--- trunk/dports/python/py26-enchant/Portfile	2011-05-10 07:21:22 UTC (rev 78505)
+++ trunk/dports/python/py26-enchant/Portfile	2011-05-10 07:39:27 UTC (rev 78506)
@@ -23,6 +23,12 @@
 
 supported_archs         noarch
 
+patchfiles              patch-enchant-_enchant.py.diff
+
+post-patch {
+    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/enchant/_enchant.py
+}
+
 livecheck.type          regex
 livecheck.url           ${homepage}
 livecheck.regex         Version (\\d+\\.\\d+\\.\\d+) released

Modified: trunk/dports/python/py27-enchant/Portfile
===================================================================
--- trunk/dports/python/py27-enchant/Portfile	2011-05-10 07:21:22 UTC (rev 78505)
+++ trunk/dports/python/py27-enchant/Portfile	2011-05-10 07:39:27 UTC (rev 78506)
@@ -23,6 +23,12 @@
 
 supported_archs         noarch
 
+patchfiles              patch-enchant-_enchant.py.diff
+
+post-patch {
+    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/enchant/_enchant.py
+}
+
 livecheck.type          regex
 livecheck.url           ${homepage}
 livecheck.regex         Version (\\d+\\.\\d+\\.\\d+) released
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110510/76ad5986/attachment.html>


More information about the macports-changes mailing list