Ticket #43339: Portfile.diff

File Portfile.diff, 5.4 KB (added by mattcottrell, 10 years ago)

Addresses license and unknown dependency issues

  • Portfile

    old new  
    55
    66name                    arb
    77epoch                   1
    8 version                 5.5
    9 revision                2
     8version                 6.0-rc1
    109categories              science
    1110maintainers             mac.com:matt.cottrell
    1211platforms               darwin
     
    2423                        (http://tech.groups.yahoo.com/group/arb_users/). Citation: Wolfgang Ludwig, et al. (2004) ARB: a software environment \
    2524                        for sequence data. Nucleic Acids Research. 32:1363-1371.
    2625
    27 master_sites            http://download.arb-home.de/release/arb_${version}/
    28 distname                arbsrc
     26license                 Restrictive/Distributable
     27
     28master_sites            http://download.arb-home.de/build/$name-${version}/
     29distname                arb-${version}-source-hotfix1
    2930extract.suffix          .tgz
    30 dist_subdir             ${name}/${version}
    31 worksrcdir              arbsrc_9167
     31worksrcdir              arbsrc_11977
    3232
    33 checksums               rmd160  f8b7b12cd9259b1b0f7cbbc29aca4f85585e8b9f \
    34                         sha256  25246355ccaebff2e3350a553732636896f0f9f21eca3bb2bcf75cbeb7ac92a9
     33checksums               rmd160  9ef6edf8e2e386794cfc204519bb00f4394549ee \
     34                        sha256  cb9bcbd999d6f8b3c06bde70a1d1e5a61ca564e80c16da4bb01bb7820f396e10
    3535
    3636depends_build           port:imake \
    3737                        port:makedepend
     
    4545                        port:xfig \
    4646                        port:gv \
    4747                        port:xorg-libXaw \
    48                         port:gtime
     48                        port:gtime \
     49                        path:lib/pkgconfig/glib-2.0.pc:glib2 \
     50                        port:coreutils
     51
     52
    4953
    5054patchfiles              patch-ARB-config.makefile.diff \
    5155                        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
    5658
    5759configure               {
    5860                        if {${build_arch} eq "ppc" || ${build_arch} eq "i386"} {
     
    6365
    6466                        file copy ${worksrcpath}/config.makefile.template ${worksrcpath}/config.makefile
    6567                        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
    8369}
    8470
    8571build.env-append        PREFIX=${prefix} \
    8672                        ARBHOME=${worksrcpath} \
    8773                        PATH=${worksrcpath}/bin:$env(PATH)
    8874
    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 
     75compiler.blacklist *llvm-gcc-4.2
     76                       
    10377build.args              GCC=${configure.cc} \
    10478                        GPP=${configure.cxx}
    10579
     
    126100                        ln -s ${prefix}/bin/arb_name_server ${destroot}${prefix}/share/arb/bin/arb_name_server
    127101
    128102                        xinstall -m 777 -d ${destroot}${prefix}/share/arb/lib/pts
    129 
    130103}
    131104
    132105# to be investigated later
     
    223196"
    224197
    225198livecheck.type          regex
    226 livecheck.url           http://download.arb-home.de/release/
    227 livecheck.regex         ${name}_(\[0-9.\]+)/
     199livecheck.url           http://download.arb-home.de/build/
     200livecheck.regex         ${name}-(\[0-9.\]+)-rc1-source/${extract.suffix}