Ticket #39910: Portfile-bison1.diff

File Portfile-bison1.diff, 3.3 KB (added by cooljeanius (Eric Gallager), 10 years ago)

diff between my bison1 portfile and the one that existed previously

  • Portfile

    old new  
     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
    12# $Id: Portfile 65691 2010-03-30 09:17:11Z ryandesign@macports.org $
    23
    3 PortSystem 1.0
     4PortSystem          1.0
    45
    5 name                    bison1
    6 version                 1.875
    7 categories              devel lang
    8 platforms               darwin
    9 maintainers             nomaintainer
    10 description             general-purpose parser generator
    11 long_description        \
    12                 Bison is a general-purpose parser generator that converts \
    13                 a grammar description for an LALR context-free grammar \
    14                 into a C program to parse that grammar. Once you are \
    15                 proficient with Bison, you can use it to develop a wide \
    16                 range of language parsers, from those used in simple desk \
    17                 calculators to complex programming languages.
    18 
    19 homepage                http://www.gnu.org/software/bison/
    20 master_sites    gnu:bison
    21 distname                bison-${version}
    22 checksums               md5 b7f8027b249ebd4dd0cc948943a71af0
    23 use_bzip2               yes
    24 
    25 configure.args  --infodir=${prefix}/share/info --mandir=${prefix}/share/man \
    26                                 --program-suffix=1 --datadir=${prefix}/share/${name} \
    27                                 --libdir=${prefix}/lib/bison1 \
    28                                 --without-libiconv-prefix --without-libintl-prefix
     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
    2947
    30 test.run                yes
    31 test.target             check
     48test.run            yes
     49test.target         check
    3250
    3351post-destroot {
    34         delete ${destroot}${prefix}/share/info
     52    delete ${destroot}${prefix}/share/info
    3553}
    3654
    37 livecheck.regex {bison-(1\.[0-9.]+)\.tar}
     55livecheck.type      none
     56livecheck.regex     {bison-(1\.[0-9.]+)\.tar}