Ticket #43339: Portfile.diff
File Portfile.diff, 5.4 KB (added by mattcottrell, 11 years ago) |
---|
-
Portfile
old new 5 5 6 6 name arb 7 7 epoch 1 8 version 5.5 9 revision 2 8 version 6.0-rc1 10 9 categories science 11 10 maintainers mac.com:matt.cottrell 12 11 platforms darwin … … 24 23 (http://tech.groups.yahoo.com/group/arb_users/). Citation: Wolfgang Ludwig, et al. (2004) ARB: a software environment \ 25 24 for sequence data. Nucleic Acids Research. 32:1363-1371. 26 25 27 master_sites http://download.arb-home.de/release/arb_${version}/ 28 distname arbsrc 26 license Restrictive/Distributable 27 28 master_sites http://download.arb-home.de/build/$name-${version}/ 29 distname arb-${version}-source-hotfix1 29 30 extract.suffix .tgz 30 dist_subdir ${name}/${version} 31 worksrcdir arbsrc_9167 31 worksrcdir arbsrc_11977 32 32 33 checksums rmd160 f8b7b12cd9259b1b0f7cbbc29aca4f85585e8b9f\34 sha256 25246355ccaebff2e3350a553732636896f0f9f21eca3bb2bcf75cbeb7ac92a933 checksums rmd160 9ef6edf8e2e386794cfc204519bb00f4394549ee \ 34 sha256 cb9bcbd999d6f8b3c06bde70a1d1e5a61ca564e80c16da4bb01bb7820f396e10 35 35 36 36 depends_build port:imake \ 37 37 port:makedepend … … 45 45 port:xfig \ 46 46 port:gv \ 47 47 port:xorg-libXaw \ 48 port:gtime 48 port:gtime \ 49 path:lib/pkgconfig/glib-2.0.pc:glib2 \ 50 port:coreutils 51 52 49 53 50 54 patchfiles patch-ARB-config.makefile.diff \ 51 55 patch-ARB-intro.fig.diff \ 52 patch-ARB-glpng.h.diff \ 53 patch-ARB-glpng.c.diff \ 54 patch-ARB-RNA3D_Textures.cxx.diff \ 55 patch-ARB-Makefile.diff 56 patch-ARB-arb.diff \ 57 patch-ARB-ARBDB.diff 56 58 57 59 configure { 58 60 if {${build_arch} eq "ppc" || ${build_arch} eq "i386"} { … … 63 65 64 66 file copy ${worksrcpath}/config.makefile.template ${worksrcpath}/config.makefile 65 67 reinplace "s|@@64BIT@@|${is64bit}|g" ${worksrcpath}/config.makefile 66 file copy ${filespath}/arb_macsetup ${worksrcpath}/bin 67 reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/bin/arb_macsetup ${worksrcpath}/SH/arb 68 reinplace "s|@@GPP@@|${configure.cxx}|g" ${worksrcpath}/PERL2ARB/DARWIN.PL 69 reinplace "s|@@LIBPERLDIR@@|[exec ${prefix}/bin/perl -e "use Config; print \$Config{archlib};"]/CORE|g" ${worksrcpath}/PERL2ARB/DARWIN.PL 70 reinplace -locale C "s| sed | gsed |g" ${worksrcpath}/GDEHELP/MENUS/align.menu \ 71 ${worksrcpath}/util/arb_check_build_env.pl \ 72 ${worksrcpath}/arb_install.sh \ 73 ${worksrcpath}/WINDOW/AW_status.cxx \ 74 ${worksrcpath}/SH/example_batch_probe_match.sh \ 75 ${worksrcpath}/GDEHELP/genhelp.sh \ 76 ${worksrcpath}/GDEHELP/genhelptree.sh \ 77 ${worksrcpath}/SOURCE_TOOLS/make_java_dependencies.sh \ 78 ${worksrcpath}/HELP_SOURCE/Makefile \ 79 ${worksrcpath}/AISC_COM/AISC/Makefile \ 80 ${worksrcpath}/GDEHELP/Makefile \ 81 ${worksrcpath}/HELP_SOURCE/genhelp/Makefile \ 82 ${worksrcpath}/GDEHELP/Makefile.helpfiles 68 reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/SH/arb_macsetup 83 69 } 84 70 85 71 build.env-append PREFIX=${prefix} \ 86 72 ARBHOME=${worksrcpath} \ 87 73 PATH=${worksrcpath}/bin:$env(PATH) 88 74 89 # https://trac.macports.org/ticket/33756 90 compiler.blacklist *clang* 91 92 platform darwin { 93 if {${os.major} >= 13} { 94 depends_lib 95 depends_run 96 pre-fetch { 97 ui_error "$name does not build on Mavericks or later." 98 error "unsupported platform" 99 } 100 } 101 } 102 75 compiler.blacklist *llvm-gcc-4.2 76 103 77 build.args GCC=${configure.cc} \ 104 78 GPP=${configure.cxx} 105 79 … … 126 100 ln -s ${prefix}/bin/arb_name_server ${destroot}${prefix}/share/arb/bin/arb_name_server 127 101 128 102 xinstall -m 777 -d ${destroot}${prefix}/share/arb/lib/pts 129 130 103 } 131 104 132 105 # to be investigated later … … 223 196 " 224 197 225 198 livecheck.type regex 226 livecheck.url http://download.arb-home.de/ release/227 livecheck.regex ${name} _(\[0-9.\]+)/199 livecheck.url http://download.arb-home.de/build/ 200 livecheck.regex ${name}-(\[0-9.\]+)-rc1-source/${extract.suffix}