[105590] trunk/dports/science/magicspp/Portfile

takeshi at macports.org takeshi at macports.org
Fri Apr 26 02:59:13 PDT 2013


Revision: 105590
          https://trac.macports.org/changeset/105590
Author:   takeshi at macports.org
Date:     2013-04-26 02:59:13 -0700 (Fri, 26 Apr 2013)
Log Message:
-----------
magicspp: install python interface under

Modified Paths:
--------------
    trunk/dports/science/magicspp/Portfile

Modified: trunk/dports/science/magicspp/Portfile
===================================================================
--- trunk/dports/science/magicspp/Portfile	2013-04-26 09:42:58 UTC (rev 105589)
+++ trunk/dports/science/magicspp/Portfile	2013-04-26 09:59:13 UTC (rev 105590)
@@ -5,6 +5,7 @@
 
 name                magicspp
 version             2.18.15
+revision            1
 platforms           darwin
 maintainers         takeshi
 license             Apache-2
@@ -53,6 +54,10 @@
 
 patchfiles          patch-src-Makefile.in.diff \
                     patch-configure.diff
+post-patch {
+    reinplace "s|pdir = \$(libdir)|pdir = ${frameworks_dir}/Python.framework/Versions/\$(PYTHON_VERSION)/lib|" \
+        ${worksrcpath}/python/Magics/Makefile.in
+}
 
 configure.env-append        LIBS=\"-lemosR64"
 configure.cppflags-append   -I${prefix}/include/freetype2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130426/e7d18ec5/attachment.html>


More information about the macports-changes mailing list