Ticket #39919: Portfile-sdcc.diff

File Portfile-sdcc.diff, 2.4 KB (added by stevecheckoway (Stephen Checkoway), 11 years ago)
  • Portfile

    old new  
    44PortSystem 1.0
    55
    66name                sdcc
    7 version             3.0.0
     7version             3.3.0
    88categories          lang
    99platforms           darwin
    1010license             GPL-3
    1111maintainers         snc openmaintainer
    1212description         ANSI C compiler targeting Intel 8051, Maxim 80DS390, Zilog Z80
    13 long_description    SDCC is a freeware, retargettable, optimizing ANSI C \
    14                     compiler that targets the Intel 8051, Maxim 80DS390, and \
    15                     Zilog Z80 based MCUs. Work is in progress on supporting \
    16                     Motorola 68HC08 as well as Microchip PIC16 and PIC18 series.
     13long_description    SDCC is a retargettable, optimizing ANSI - C \
     14                    compiler suite that targets the Intel MCS51 based \
     15                    microprocessors (8031, 8032, 8051, 8052, etc.), Maxim \
     16                    (formerly Dallas) DS80C390 variants, Freescale (formerly \
     17                    Motorola) HC08 based (hc08, s08) and Zilog Z80 based MCUs \
     18                    (z80, z180, gbz80, Rabbit 2000/3000, Rabbit 3000A). Work is \
     19                    in progress on supporting the Microchip PIC16 and PIC18 \
     20                    targets. It can be retargeted for other microprocessors.
    1721
    1822homepage            http://sdcc.sourceforge.net/
    1923master_sites        sourceforge
    2024
    21 checksums           rmd160  3821b238d4f8a201f23384bd58b9dafef8d69f68 \
    22                     sha256  53097200e1b2b9466be80ede24484c51326886977b5b88b4a00182bfc5e3a99b
     25checksums           rmd160  464b5aae6242e0da0181e9050b52949ae176de00 \
     26                    sha256  873f61f29e829e65ba8afcf992cced8f91b0c4bd52b0be7d5e9b0cbcb58644de
    2327
    2428depends_build       port:gputils
    25 depends_lib         port:readline
     29depends_lib         port:readline port:boost
    2630depends_run         port:gputils
    2731
    2832use_bzip2           yes
    2933distfiles           ${name}-src-${version}${extract.suffix}
     34patchfiles          patch-support-sdbinutils-bfd-opncls.c.diff \
     35                    patch-support-sdbinutils-bfd-objcopy.c.diff
    3036
    31 worksrcdir          ${name}
    32 
    33 # Setting CPP explicitly is bad, because 'cpp' and 'gcc -E' are not the same.
    34 configure.cpp       {}
    35 configure.args      --enable-avr-port \
    36                     --enable-xa51-port
     37worksrcdir          ${name}-${version}
    3738
    3839build.type          gnu
    3940