source: trunk/dports/lang/antlr/Portfile

Last change on this file was 146328, checked in by ryandesign@…, 19 months ago

antlr: simplify how archflags are passed to the build system

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
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: Portfile 146328 2016-03-05 10:10:37Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name                    antlr
7version                 2.7.7
8revision                2
9categories              lang java
10license                 public-domain
11platforms               darwin
12maintainers             nomaintainer
13description             antlr is ANother Tool for Language Recognition
14long_description        ANTLR, ANother Tool for Language Recognition, is a \
15                        language tool that provides a framework for \
16                        constructing recognizers, compilers, and translators \
17                        from grammatical descriptions containing Java, C#, or \
18                        C++ actions.
19
20homepage                http://www.antlr2.org/
21master_sites            ${homepage}download/ \
22                        http://www.mirrorservice.org/sites/master.us.finkmirrors.net/distfiles/
23checksums               md5    01cc9a2a454dd33dcd8c856ec89af090         \
24            sha1   802655c343cc7806aaf1ec2177a0e663ff209de1 \
25            rmd160 0b7951a28b748e912721fe0f6de4095d9f8da57d
26patchfiles              patch-configure.diff antlr-DESTDIR.patch \
27                patch-lib-cpp-antlr-CharScanner.hpp.diff
28
29variant universal {}
30
31configure.env           CLASSPATH=.
32configure.args          --disable-csharp
33
34build.args      CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \
35                LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
36
37livecheck.type  regex
38livecheck.url   ${homepage}download.html
39livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.