Ticket #45878: Portfile

File Portfile, 1.2 KB (added by gallafent, 10 years ago)

Portfile for antlr3c 3.4.0

Line 
1# -*- 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
2# $Id: $
3
4PortSystem          1.0
5
6name                antlr3c
7version             3.4.0
8categories          net
9platforms           darwin
10license             BSD
11maintainers         nomaintainer
12description         ANother Tool for Language Recognition
13long_description    ANTLR is a language tool that provides a framework for constructing recognizers, \
14                                interpreters, compilers, and translators from grammatical descriptions containing \
15                                actions in a variety of target languages.
16                   
17homepage            http://www.antlr3.org/api/C/
18distname            antlr3
19
20# Git seems to check out /into/ ${worksrcdir}, hence the fiddling with paths below
21fetch.type          git
22git.url             git://git.linphone.org/antlr3
23git.branch          linphone
24
25autoreconf.dir      ${worksrcpath}/runtime/C
26autoconf.dir        ${worksrcpath}/runtime/C
27automake.dir        ${worksrcpath}/runtime/C
28
29use_autoreconf      yes
30use_automake        yes
31use_autoconf        yes
32
33configure.cmd       cd ${worksrcpath}/runtime/C && ./configure
34build.cmd           make -C runtime/C