Ticket #39910: Portfile

File Portfile, 2.1 KB (added by cooljeanius (Eric Gallager), 10 years ago)

Portfile for bison1

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 65691 2010-03-30 09:17:11Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                bison1
7set myname          bison
8version             1.875
9revision            1
10categories          devel lang
11platforms           darwin
12maintainers         gwmail.gwu.edu:egall openmaintainer
13license             GPL-2+
14description         General-purpose parser generator
15long_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
24homepage            http://www.gnu.org/software/${myname}/
25master_sites        gnu:${myname}
26distname            ${myname}-${version}
27checksums           md5     b7f8027b249ebd4dd0cc948943a71af0 \
28                    rmd160  8debeaf4e910a0e7f9887c419a57ee78599db31a \
29                    sha256  ffe3a491d96daf7c9bad3e999a7470442519a35b129f8a6e30597cbab8146db4
30use_bzip2           yes
31
32configure.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
42depends_build-append \
43                    bin:flex:flex \
44                    bin:gm4:m4
45depends_lib-append  port:libiconv \
46                    port:gettext
47
48test.run            yes
49test.target         check
50
51post-destroot {
52    delete ${destroot}${prefix}/share/info
53}
54
55livecheck.type      none
56livecheck.regex     {bison-(1\.[0-9.]+)\.tar}