Ticket #8691: Portfile.diff

File Portfile.diff, 2.1 KB (added by reilles@…, 19 years ago)

patch fo 2.3

  • Portfile

    old new  
    22
    33PortSystem    1.0
    44name          tom
    5 version       2.1
     5version       2.3
    66
    77description      Tom is a pattern matching compiler developed at INRIA.
    88long_description Tom is a pattern matching compiler developed at INRIA.\
     
    1717categories       lang
    1818maintainers      reilles@loria.fr
    1919homepage         http://tom.loria.fr
    20 
    21 fetch.type       cvs
    22 cvs.root         :pserver:cvs@cvs-sop.inria.fr:/CVS/aircube
    23 cvs.password     RSUG
    24 cvs.tag          tom-2_1
    25 cvs.module       jtom
    26 worksrcdir       jtom
    27 
     20master_sites     http://gforge.inria.fr/frs/download.php/731/
     21distname                 ${name}-src-${version}
     22checksums               md5 52d0191092aa8715b7cf018b20e1ffe2
    2823depends_build    bin:ant:apache-ant
    2924
    3025use_configure    no
    3126
    32 pre-build {
    33                  system "echo 'tomdocdir=stable' > ${worksrcpath}/local.properties"
    34 }
    35 
    3627build.cmd        ./build.sh
    37 build.target     dist.stable
     28build.target     stable
    3829
    3930destroot  {
    4031    xinstall -m 755 -d ${destroot}${prefix}/share/java
    4132    file copy ${worksrcpath}/stable/dist/ ${destroot}${prefix}/share/java/${name}-${version}
    4233    file delete ${destroot}${prefix}/share/java/${name}-${version}/doc
    4334    file copy ${worksrcpath}/stable/dist/share/man/man1/tom.1 ${destroot}${prefix}/share/man/man1/
     35    file copy ${worksrcpath}/stable/dist/share/man/man1/gom.1 ${destroot}${prefix}/share/man/man1/
    4436    file delete ${destroot}${prefix}/share/java/${name}-${version}/man/man1/tom.1
     37    file delete ${destroot}${prefix}/share/java/${name}-${version}/man/man1/gom.1
    4538
    4639    system "ln -fs ${prefix}/share/java/${name}-${version}/bin/tom \
    4740      ${destroot}${prefix}/bin/tom"
    48     system "ln -fs ${prefix}/share/java/${name}-${version}/bin/adt-to-tom.sh \
    49       ${destroot}${prefix}/bin/adt-to-tom"
    50     system "ln -fs ${prefix}/share/java/${name}-${version}/bin/javac-tom \
    51                         ${destroot}${prefix}/bin/javac-tom"
     41    system "ln -fs ${prefix}/share/java/${name}-${version}/bin/gom \
     42      ${destroot}${prefix}/bin/gom"
    5243}
    5344