source: trunk/dports/lang/tom/Portfile

Last change on this file was 146583, checked in by khindenburg@…, 21 months ago

hevea, bibtex2html, lbdb, camlimages, auctex, tom, bigloo: set nomaintainer #50525

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 146583 2016-03-12 20:12:07Z ryandesign@macports.org $
2
3PortSystem    1.0
4name          tom
5version       2.5
6
7description      Tom is a pattern matching compiler developed at INRIA.
8long_description Tom is a pattern matching compiler developed at INRIA.\
9                 It is particularly well-suited for programming various \
10                 transformations on  trees/terms and XML based documents.\
11                 Its design follows our research on rule based languages (R3),\
12                 and our experiences  on the efficient compilation of ELAN\
13                 developed by the Protheo group.\
14                 Don't forget to add `echo \${TOM_HOME}/lib/*.jar | tr ' ' ':'`\
15                 to your CLASSPATH, TOM_HOME being ${prefix}/share/java/tom-${version}
16platforms        darwin freebsd linux
17categories       lang
18maintainers      nomaintainer
19homepage         http://tom.loria.fr/
20master_sites     http://gforge.inria.fr/frs/download.php/2433/
21distname         ${name}-src-${version}
22checksums        md5 5891867d25173f390ce093da87d8fcba
23depends_build    bin:ant:apache-ant
24
25use_configure    no
26
27build.cmd        ./build.sh
28build.target     stable
29
30destroot  {
31    xinstall -m 755 -d ${destroot}${prefix}/share/java
32    file copy ${worksrcpath}/stable/dist/ ${destroot}${prefix}/share/java/${name}-${version}
33    file delete ${destroot}${prefix}/share/java/${name}-${version}/doc
34    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/
36    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
38
39    system "ln -fs ${prefix}/share/java/${name}-${version}/bin/tom \
40      ${destroot}${prefix}/bin/tom"
41    system "ln -fs ${prefix}/share/java/${name}-${version}/bin/gom \
42      ${destroot}${prefix}/bin/gom"
43}
44
Note: See TracBrowser for help on using the repository browser.