1 | |
---|
2 | PortSystem 1.0 |
---|
3 | name jtom |
---|
4 | version 2.0 |
---|
5 | |
---|
6 | description Tom is a pattern matching compiler developed at INRIA. |
---|
7 | long_description Tom is a pattern matching compiler developed at INRIA.\ |
---|
8 | It is particularly well-suited for programming various \ |
---|
9 | transformations on trees/terms and XML based documents.\ |
---|
10 | Its design follows our research on rule based languages (R3),\ |
---|
11 | and our experiences on the efficient compilation of ELAN\ |
---|
12 | developed by the Protheo group.\ |
---|
13 | Don't forget to add `echo \${TOM_HOME}/lib/*.jar | tr ' ' ':'`\ |
---|
14 | to your CLASSPATH, TOM_HOME being /opt/local/share/java/jtom-2.0 |
---|
15 | platforms darwin freebsd linux |
---|
16 | categories lang |
---|
17 | maintainers jtonio@users.sourceforge.net |
---|
18 | homepage http://tom.loria.fr |
---|
19 | |
---|
20 | fetch.type cvs |
---|
21 | cvs.root :pserver:cvs@cvs-sop.inria.fr:/CVS/aircube |
---|
22 | cvs.password RSUG |
---|
23 | cvs.tag tom-2_0 |
---|
24 | cvs.module ${name} |
---|
25 | worksrcdir ${name} |
---|
26 | |
---|
27 | depends_build bin:ant:apache-ant |
---|
28 | |
---|
29 | use_configure no |
---|
30 | |
---|
31 | pre-build { |
---|
32 | system "echo 'tomdocdir=stable' > ${worksrcpath}/local.properties" |
---|
33 | } |
---|
34 | build.cmd ./build.sh |
---|
35 | build.target dist.stable |
---|
36 | |
---|
37 | destroot { |
---|
38 | xinstall -m 755 -d ${destroot}${prefix}/share/java |
---|
39 | file copy ${worksrcpath}/stable/dist/ ${destroot}${prefix}/share/java/${name}-${version} |
---|
40 | file copy ${worksrcpath}/stable/dist/share/man/man1/tom.1 ${destroot}${prefix}/share/man/man1 |
---|
41 | system "ln -fs ${prefix}/share/java/${name}-${version}/bin/tom \ |
---|
42 | ${destroot}${prefix}/bin/tom" |
---|
43 | } |
---|