[53092] trunk/dports/science/cdf/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Jun 29 03:59:38 PDT 2009
Revision: 53092
http://trac.macports.org/changeset/53092
Author: ryandesign at macports.org
Date: 2009-06-29 03:59:36 -0700 (Mon, 29 Jun 2009)
Log Message:
-----------
cdf: don't override build and destroot phases; closes #16437 (maintainer timeout)
Modified Paths:
--------------
trunk/dports/science/cdf/Portfile
Modified: trunk/dports/science/cdf/Portfile
===================================================================
--- trunk/dports/science/cdf/Portfile 2009-06-29 06:53:01 UTC (rev 53091)
+++ trunk/dports/science/cdf/Portfile 2009-06-29 10:59:36 UTC (rev 53092)
@@ -49,15 +49,15 @@
reinplace "s|/Developer/SDKs/MacOSX10.4u.sdk/usr/lib|${prefix}/lib|g" Makefile
}
-build {
- system "make OS=macosx ENV=${cdf_arch} FORTRAN=yes FC=gfortran-mp-4.2 all"
+pre-build {
+ build.pre_args OS=macosx ENV=${cdf_arch} FORTRAN=yes FC=gfortran-mp-4.2 ${build.target}
}
-destroot {
+destroot.destdir INSTALLDIR=${destroot}${prefix}
+pre-destroot {
reinplace "s|(INSTALLDIR)/bin/definitions.B|/${prefix}/bin/definitions.B|" ${worksrcpath}/Makefile
reinplace "s|(INSTALLDIR)/bin/definitions.C|/${prefix}/bin/definitions.C|" ${worksrcpath}/Makefile
reinplace "s|(INSTALLDIR)/bin/definitions.K|/${prefix}/bin/definitions.K|" ${worksrcpath}/Makefile
- system "make INSTALLDIR=${destroot}${prefix} install"
}
post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090629/c837d895/attachment.html>
More information about the macports-changes
mailing list