# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 name antlr3 set real_name antlr version 3.5.3 revision 1 categories lang java maintainers nomaintainer supported_archs noarch platforms any description antlr is ANother Tool for Language Recognition long_description ANTLR, ANother Tool for Language Recognition, is a \ language tool that provides a framework for \ constructing recognizers, compilers, and translators \ from grammatical descriptions containing Java, C#, or \ C++ actions. homepage https://www.antlr3.org/ master_sites ${homepage}download/ distname ${real_name}-${version}-complete extract.suffix .jar extract.only checksums rmd160 abf378d1cc785c644d086d3715ff5d02b71de843 \ sha256 e781de9b3e2cc1297dfdaf656da946a1fd22f449bd9e0ce1e12d488976887f83 use_configure no # Source builds of antlr3 are not possible. So, the default build is a binary # install of the jars. build {} destroot { xinstall -m 755 -d ${destroot}${prefix}/share/java/${name} copy ${distpath}/${distname}${extract.suffix} ${destroot}${prefix}/share/java/${real_name}.jar }