Ticket #16437: cdf-destroot.diff
File cdf-destroot.diff, 722 bytes (added by ryandesign (Ryan Carsten Schmidt), 16 years ago) |
---|
-
Portfile
53 53 system "make OS=macosx ENV=${cdf_arch} FORTRAN=yes FC=gfortran-mp-4.2 all" 54 54 } 55 55 56 destroot { 56 destroot.destdir INSTALLDIR=${destroot}${prefix} 57 pre-destroot { 57 58 reinplace "s|(INSTALLDIR)/bin/definitions.B|/${prefix}/bin/definitions.B|" ${worksrcpath}/Makefile 58 59 reinplace "s|(INSTALLDIR)/bin/definitions.C|/${prefix}/bin/definitions.C|" ${worksrcpath}/Makefile 59 60 reinplace "s|(INSTALLDIR)/bin/definitions.K|/${prefix}/bin/definitions.K|" ${worksrcpath}/Makefile 60 system "make INSTALLDIR=${destroot}${prefix} install"61 61 } 62 62 63 63 post-destroot {