Last change
on this file was
146328,
checked in by ryandesign@…, 2 years 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 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name antlr |
---|
7 | version 2.7.7 |
---|
8 | revision 2 |
---|
9 | categories lang java |
---|
10 | license public-domain |
---|
11 | platforms darwin |
---|
12 | maintainers nomaintainer |
---|
13 | description antlr is ANother Tool for Language Recognition |
---|
14 | long_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 | |
---|
20 | homepage http://www.antlr2.org/ |
---|
21 | master_sites ${homepage}download/ \ |
---|
22 | http://www.mirrorservice.org/sites/master.us.finkmirrors.net/distfiles/ |
---|
23 | checksums md5 01cc9a2a454dd33dcd8c856ec89af090 \ |
---|
24 | sha1 802655c343cc7806aaf1ec2177a0e663ff209de1 \ |
---|
25 | rmd160 0b7951a28b748e912721fe0f6de4095d9f8da57d |
---|
26 | patchfiles patch-configure.diff antlr-DESTDIR.patch \ |
---|
27 | patch-lib-cpp-antlr-CharScanner.hpp.diff |
---|
28 | |
---|
29 | variant universal {} |
---|
30 | |
---|
31 | configure.env CLASSPATH=. |
---|
32 | configure.args --disable-csharp |
---|
33 | |
---|
34 | build.args CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \ |
---|
35 | LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]" |
---|
36 | |
---|
37 | livecheck.type regex |
---|
38 | livecheck.url ${homepage}download.html |
---|
39 | livecheck.regex ${name}-(\\d+(?:\\.\\d+)*) |
---|
Note: See
TracBrowser
for help on using the repository browser.