source: trunk/dports/lang/tom/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 9 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@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      loria.fr:reilles
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.