Ticket #26512: Portfile-frobtads.diff

File Portfile-frobtads.diff, 954 bytes (added by bcressey@…, 14 years ago)

adds TADS2 variant

  • Portfile

    old new  
    2828
    2929configure.cxxflags-append -fno-strict-aliasing
    3030
     31variant tads2 description {Adds TADS2 Compiler} {
     32    set tads2file ${name}-t2compiler-${version}${extract.suffix}
     33    distfiles-append    ${tads2file}
     34   
     35    checksums-append    ${tads2file} \
     36                        md5 12caf94d9c1e646ae04b44da0df83a30 \
     37                        sha1 cabc8f4303acadafde469f6e084b9a5a4b7d6e2b \
     38                        rmd160 e0c45c12cddf6167ce6921ff9aa01e17af3e2621
     39
     40    extract.only-delete ${tads2file}
     41    post-extract    {
     42        set tads2file ${name}-t2compiler-${version}${extract.suffix}
     43        system "tar xfz ${distpath}/${tads2file} -C ${worksrcpath}"
     44    }
     45}
     46
    3147variant tads3 description {Adds TADS3 Compiler} {
    3248    set tads3file ${name}-t3compiler-${version}${extract.suffix}
    3349    distfiles-append    ${tads3file}