/
Portfile
65 lines (49 loc) · 2.13 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# -*- 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
PortSystem 1.0
PortGroup boost 1.0
name sdcc
version 4.2.0
revision 0
categories lang
license GPL-3
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 7883e0b3971043edde9a53448acad13cfc9ef3e6 \
sha256 b49bae1d23bcd6057a82c4ffe5613f9cd0cbcfd1e940e9d84c4bfe9df0a8c053 \
size 19662367
compiler.cxx_standard 2011
depends_build \
port:autoconf \
port:automake \
port:gputils \
bin:makeinfo:texinfo
depends_lib \
port:readline \
port:zlib
depends_run \
port:gputils
use_bzip2 yes
distfiles ${name}-src-${version}${extract.suffix}
configure.args --without-ccache
if {${configure.cxx_stdlib} ne ""} {
configure.ldflags-append -stdlib=${configure.cxx_stdlib}
}
build.type gnu
destroot.destdir prefix=${destroot}${prefix} \
docdir=${destroot}${prefix}/share/doc/${name}
use_parallel_build no
platform darwin 8 {
depends_build-append port:gmake
build.cmd ${prefix}/bin/gmake
}
livecheck.url http://sourceforge.net/api/file/index/project-name/${name}/rss?path=/${name}