# -*- 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 # $Id: Portfile 99643 2012-11-13 04:26:02Z singingwolfboy@macports.org $ PortSystem 1.0 name antlr3 set real_name antlr version 3.2 categories lang java platforms darwin maintainers nomaintainer 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 http://www.antlr.org/ master_sites ${homepage}download/ \ http://www.mirrorservice.org/sites/master.us.finkmirrors.net/distfiles/ distname ${real_name}-${version} extract.suffix .jar extract.only checksums md5 ee7dc3fb20cf3e9efd871e297c0d532b \ sha1 a571944d1c199ca7da187e163f0af3183e2a3be5 \ rmd160 67b48edfa6c7b96351413268fa9ae5f4bd7717d1 use_configure no # Source builds of antlr3 are not possible. So, the default build is a binary # install of the jars. build.dir . build.cmd true destroot { xinstall -m 755 -d ${destroot}${prefix}/share/java/${name} copy ${distpath}/${distname}${extract.suffix} ${destroot}${prefix}/share/java/${real_name}.jar }