# -*- 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
maintainers {snc @nerdling} openmaintainer
description ANSI C compiler targeting Intel 8051, Maxim 80DS390, Zilog Z80
long_description SDCC is a retargettable, optimizing ANSI - C \
compiler suite that targets the Intel MCS51 based \
microprocessors (8031, 8032, 8051, 8052, etc.), Maxim \
(formerly Dallas) DS80C390 variants, Freescale (formerly \
Motorola) HC08 based (hc08, s08) and Zilog Z80 based MCUs \
(z80, z180, gbz80, Rabbit 2000/3000, Rabbit 3000A). Work is \
in progress on supporting the Microchip PIC16 and PIC18 \
targets. It can be retargeted for other microprocessors.
homepage http://sdcc.sourceforge.net/
master_sites sourceforge:project/sdcc/sdcc/${version}
checksums rmd160 816b428f200770adb045276593bf07106877bc02 \
sha256 854d47094698b06142df3d5fc646bb540d497ab4073ad2f051b8ec2141df948e \
depends_build port:gputils
depends_lib port:boost port:readline port:zlib
distfiles ${name}-src-${version}${extract.suffix}
configure.args --without-ccache
configure.ldflags-append -stdlib=${configure.cxx_stdlib}
destroot.destdir prefix=${destroot}${prefix} \
docdir=${destroot}${prefix}/share/doc/${name}
depends_build-append port:gmake
build.cmd ${prefix}/bin/gmake
livecheck.url http://sourceforge.net/api/file/index/project-name/${name}/rss?path=/${name}