[24181] trunk/dports/python/py-pyx/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Wed Apr 18 13:39:00 PDT 2007
Revision: 24181
http://trac.macosforge.org/projects/macports/changeset/24181
Author: pmq at macports.org
Date: 2007-04-18 13:39:00 -0700 (Wed, 18 Apr 2007)
Log Message:
-----------
Default install was seriously borked. This fixes the siteconfig.py, so that PyX finds its fonts. There might be a better way of doing it though.
Modified Paths:
--------------
trunk/dports/python/py-pyx/Portfile
Modified: trunk/dports/python/py-pyx/Portfile
===================================================================
--- trunk/dports/python/py-pyx/Portfile 2007-04-18 20:05:23 UTC (rev 24180)
+++ trunk/dports/python/py-pyx/Portfile 2007-04-18 20:39:00 UTC (rev 24181)
@@ -10,14 +10,14 @@
maintainers nomaintainer at macports.org
description PyX is a TeX/LaTeX interface for Python
long_description PyX is a Python package for the creation of \
- encapsulated PostScript figures. It provides both an \
- abstraction of PostScript and a TeX/LaTeX interface. \
- Complex tasks like 2d and 3d plots in \
- publication-ready quality are built out of these \
- primitives.
+ encapsulated PostScript figures. It provides both an \
+ abstraction of PostScript and a TeX/LaTeX interface. \
+ Complex tasks like 2d and 3d plots in \
+ publication-ready quality are built out of these \
+ primitives.
-homepage http://pyx.sourceforge.net/
-master_sites sourceforge:pyx
+homepage http://pyx.sourceforge.net
+master_sites sourceforge:pyx
distname PyX-${version}
checksums sha1 79daf941f0ad36126471567879aaf6f94d21ccc4
@@ -27,5 +27,8 @@
xinstall -m 644 -W ${worksrcpath} AUTHORS CHANGES INSTALL LICENSE \
README ${destroot}${prefix}/share/doc/${name}
file delete -force ${destroot}/etc
+
+ # fix the paths that were calculated
+ reinplace "s|${destroot}||g" ${destroot}${python.pkgd}/pyx/siteconfig.py
+ reinplace "s|/etc|${prefix}/etc|g" ${destroot}${python.pkgd}/pyx/siteconfig.py
}
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070418/b08eaa5b/attachment.html
More information about the macports-changes
mailing list