Ticket #34452: Portfile.diff
File Portfile.diff, 1.5 KB (added by howarth@…, 13 years ago) |
---|
-
Portfile
old new 5 5 6 6 name molmol 7 7 version 2k.2.0 8 revision 48 revision 5 9 9 categories science 10 10 maintainers bromo.med.uc.edu:howarth 11 11 description Molecular graphics display program … … 42 42 reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/makedef \ 43 43 ${worksrcpath}/molmol 44 44 reinplace "s|@CC@|${configure.cc}|g" ${worksrcpath}/makedef 45 if {${os.major} == 12} { 46 reinplace "s|SYSLIB = |SYSLIB = -isysroot `xcode-select --print-path`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk |g" ${worksrcpath}/makedef 47 } 45 48 } 46 49 destroot { 47 50 # prune installed files … … 61 64 ln -s ${prefix}/share/${name}/COPYING ${destroot}${prefix}/share/doc/${name}/COPYING 62 65 ln -s ${prefix}/share/${name}/man ${destroot}${prefix}/share/doc/${name}/man 63 66 } 67 variant gcc45 description conflicts gcc46 gcc47 description {build using macports-gcc-4.5} { 68 depends_lib-append port:gcc45 69 configure.compiler macports-gcc-4.5 70 } 71 variant gcc46 description conflicts gcc45 gcc47 description {build using macports-gcc-4.6} { 72 depends_lib-append port:gcc46 73 configure.compiler macports-gcc-4.6 74 } 75 variant gcc47 description conflicts gcc45 gcc46 description {build using macports-gcc-4.7} { 76 depends_lib-append port:gcc47 77 configure.compiler macports-gcc-4.7 78 }