Modified: trunk/dports/science/ce/Portfile (117306 => 117307)
--- 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