Ticket #8691: Portfile.diff
File Portfile.diff, 2.1 KB (added by reilles@…, 19 years ago) |
---|
-
Portfile
old new 2 2 3 3 PortSystem 1.0 4 4 name tom 5 version 2. 15 version 2.3 6 6 7 7 description Tom is a pattern matching compiler developed at INRIA. 8 8 long_description Tom is a pattern matching compiler developed at INRIA.\ … … 17 17 categories lang 18 18 maintainers reilles@loria.fr 19 19 homepage 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 20 master_sites http://gforge.inria.fr/frs/download.php/731/ 21 distname ${name}-src-${version} 22 checksums md5 52d0191092aa8715b7cf018b20e1ffe2 28 23 depends_build bin:ant:apache-ant 29 24 30 25 use_configure no 31 26 32 pre-build {33 system "echo 'tomdocdir=stable' > ${worksrcpath}/local.properties"34 }35 36 27 build.cmd ./build.sh 37 build.target dist.stable28 build.target stable 38 29 39 30 destroot { 40 31 xinstall -m 755 -d ${destroot}${prefix}/share/java 41 32 file copy ${worksrcpath}/stable/dist/ ${destroot}${prefix}/share/java/${name}-${version} 42 33 file delete ${destroot}${prefix}/share/java/${name}-${version}/doc 43 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/ 44 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 45 38 46 39 system "ln -fs ${prefix}/share/java/${name}-${version}/bin/tom \ 47 40 ${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" 52 43 } 53 44