[117307] trunk/dports/science/ce/Portfile

mmoll at macports.org mmoll at macports.org
Fri Feb 21 13:02:58 PST 2014


Revision: 117307
          https://trac.macports.org/changeset/117307
Author:   mmoll at macports.org
Date:     2014-02-21 13:02:58 -0800 (Fri, 21 Feb 2014)
Log Message:
-----------
science/ce: simple build fixes

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

Modified: trunk/dports/science/ce/Portfile
===================================================================
--- trunk/dports/science/ce/Portfile	2014-02-21 18:01:25 UTC (rev 117306)
+++ trunk/dports/science/ce/Portfile	2014-02-21 21:02:58 UTC (rev 117307)
@@ -6,7 +6,7 @@
 categories          science
 maintainers         mmoll
 description         Combinatorial Extension (CE) Method for 3D protein \
-		    structure comparison and alignment
+                    structure comparison and alignment
 long_description    $description
 homepage            http://cl.sdsc.edu/ce.html
 platforms           darwin
@@ -17,7 +17,12 @@
                     rmd160  5475e00ff66d95fbe61e433d85067f5830259d0d
 worksrcdir          ${name}_distr_${version}
 patchfiles          patch-ce.C.diff patch-Makefile.diff patch-pom.h.diff
-use_configure	    no
+post-patch {
+    reinplace "s|g++|${configure.cxx}|g" ${worksrcpath}/ce/Makefile ${worksrcpath}/pom/Makefile
+    reinplace "s|main(int argc|int main(int argc|g" ${worksrcpath}/ce/ce.C ${worksrcpath}/pom/ipdb.C
+    reinplace "s|iostream.h|iostream|g" ${worksrcpath}/pom/calc.C
+}
+use_configure       no
 destroot.env-append PREFIX=${prefix}
 universal_variant   no
-livecheck.type	    none
+livecheck.type      none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140221/224cc34f/attachment.html>


More information about the macports-changes mailing list