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 65691 2010-03-30 09:17:11Z ryandesign@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name bison1 |
---|
7 | set myname bison |
---|
8 | version 1.875 |
---|
9 | revision 1 |
---|
10 | categories devel lang |
---|
11 | platforms darwin |
---|
12 | maintainers gwmail.gwu.edu:egall openmaintainer |
---|
13 | license GPL-2+ |
---|
14 | description General-purpose parser generator |
---|
15 | long_description \ |
---|
16 | Bison is a general-purpose parser generator that converts \ |
---|
17 | a grammar description for an LALR context-free grammar \ |
---|
18 | into a C program to parse that grammar. Once you are \ |
---|
19 | proficient with Bison, you can use it to develop a wide \ |
---|
20 | range of language parsers, from those used in simple desk \ |
---|
21 | calculators to complex programming languages. This version \ |
---|
22 | is deprecated. |
---|
23 | |
---|
24 | homepage http://www.gnu.org/software/${myname}/ |
---|
25 | master_sites gnu:${myname} |
---|
26 | distname ${myname}-${version} |
---|
27 | checksums md5 b7f8027b249ebd4dd0cc948943a71af0 \ |
---|
28 | rmd160 8debeaf4e910a0e7f9887c419a57ee78599db31a \ |
---|
29 | sha256 ffe3a491d96daf7c9bad3e999a7470442519a35b129f8a6e30597cbab8146db4 |
---|
30 | use_bzip2 yes |
---|
31 | |
---|
32 | configure.args-append \ |
---|
33 | --infodir=${prefix}/share/info \ |
---|
34 | --mandir=${prefix}/share/man \ |
---|
35 | --program-suffix=1 \ |
---|
36 | --datadir=${prefix}/share/${name} \ |
---|
37 | --libdir=${prefix}/lib/${name} \ |
---|
38 | --with-libiconv-prefix=${prefix} \ |
---|
39 | --with-libintl-prefix=${prefix} \ |
---|
40 | --without-dmalloc |
---|
41 | |
---|
42 | depends_build-append \ |
---|
43 | bin:flex:flex \ |
---|
44 | bin:gm4:m4 |
---|
45 | depends_lib-append port:libiconv \ |
---|
46 | port:gettext |
---|
47 | |
---|
48 | test.run yes |
---|
49 | test.target check |
---|
50 | |
---|
51 | post-destroot { |
---|
52 | delete ${destroot}${prefix}/share/info |
---|
53 | } |
---|
54 | |
---|
55 | livecheck.type none |
---|
56 | livecheck.regex {bison-(1\.[0-9.]+)\.tar} |
---|