Ticket #43585: Portfile.diff
File Portfile.diff, 1.2 KB (added by lockhart (Thomas Lockhart), 11 years ago) |
---|
-
Portfile
old new 5 5 6 6 name terra 7 7 version 0.7 8 revision 1 8 9 9 10 categories gis science 10 11 maintainers gmail.com:tlockhart1976 openmaintainer … … 27 28 sha256 22470e13e1f0659d23dbf7e0ecbfd8f6490bcd1d0a953537c1dfec18f4df3bd7 28 29 29 30 depends_lib port:freeglut 30 depends_build-append port:freeglut31 31 32 32 worksrcdir ${name} 33 33 patch.pre_args -p1 34 patchfiles terra.patches34 patchfiles patch-compiler.diff patch-opengl.diff 35 35 use_configure no 36 36 37 post-patch { 38 reinplace -E "s|^(CC =).*|\\1 ${configure.cc}|" ${worksrcpath}/Makefile 39 reinplace -E "s|^(C\\+\\+ =).*|\\1 ${configure.cxx}|" ${worksrcpath}/Makefile 40 reinplace -E "s|^(OPTFLAGS =)|\\1 ${configure.optflags}|" ${worksrcpath}/Makefile 41 reinplace -E "s|^(ANIM =).*|\\1 ${prefix}|" ${worksrcpath}/Makefile 42 } 43 37 44 destroot { 38 45 xinstall -m 755 ${worksrcpath}/terra ${destroot}${prefix}/bin/terra 39 46 xinstall -m 755 ${worksrcpath}/xterra ${destroot}${prefix}/bin/xterra