Ticket #2647: tom-2.1.diff

File tom-2.1.diff, 2.2 KB (added by reilles@…, 20 years ago)

New patch

  • Portfile

    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/lang/tom/Portfile,v
    retrieving revision 1.1
    diff -u -r1.1 Portfile
     
    11# $Id: Portfile,v 1.1 2004/08/02 01:47:25 gwright Exp $
    22
    33PortSystem    1.0
    4 name          jtom
    5 version       2.0
     4name          tom
     5version       2.1
    66
    77description      Tom is a pattern matching compiler developed at INRIA.
    88long_description Tom is a pattern matching compiler developed at INRIA.\
     
    1515                 to your CLASSPATH, TOM_HOME being /opt/local/share/java/jtom-2.0
    1616platforms        darwin freebsd linux
    1717categories       lang
    18 maintainers      jtonio@users.sourceforge.net
     18maintainers      reilles@loria.fr
    1919homepage         http://tom.loria.fr
    2020
    2121fetch.type       cvs
    2222cvs.root         :pserver:cvs@cvs-sop.inria.fr:/CVS/aircube
    2323cvs.password     RSUG
    24 cvs.tag          tom-2_0
     24cvs.tag          tom-2_1
    2525cvs.module       ${name}
    2626worksrcdir       ${name}
    2727
     
    3737build.target     dist.stable
    3838
    3939destroot  {
    40                 xinstall -m 755 -d ${destroot}${prefix}/share/java
    41                 file copy ${worksrcpath}/stable/dist/ ${destroot}${prefix}/share/java/${name}-${version}
    42                 file copy ${worksrcpath}/stable/dist/share/man/man1/tom.1 ${destroot}${prefix}/share/man/man1
    43 
    44                 system "ln -fs ${prefix}/share/java/${name}-${version}/bin/tom \
    45                         ${destroot}${prefix}/bin/tom"
     40    xinstall -m 755 -d ${destroot}${prefix}/share/java
     41    file copy ${worksrcpath}/stable/dist/ ${destroot}${prefix}/share/java/${name}-${version}
     42    file delete ${destroot}${prefix}/share/java/${name}-${version}/doc
     43    file copy ${worksrcpath}/stable/dist/share/man/man1/tom.1 ${destroot}${prefix}/share/man/man1/
     44    file delete ${destroot}${prefix}/share/java/${name}-${version}/man/man1/tom.1
     45
     46    system "ln -fs ${prefix}/share/java/${name}-${version}/bin/tom \
     47      ${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"
    4652}
    4753