# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup crossbinutils 1.0 crossbinutils.setup msp430-elf 2.34 set vers_patch 9.3.1.11 set name_patch msp430-gcc-${vers_patch}-source-patches set file_patch ${name_patch}.tar.bz2 maintainers {@edilmedeiros gmail.com:jose.edil+macports} \ openmaintainer homepage http://www.ti.com/tool/msp430-gcc-opensource master_sites-append https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-LlCjWuAbzH/9.3.1.2/:patch distfiles-append ${file_patch}:patch checksums-append ${file_patch} \ md5 8f305461a3b32fc8d1155bf18685f53b \ rmd160 a8e5a2ddb2adf4ed9370ec632d361b2e6b2c4613 \ sha256 ec6472b034e11e8cfdeb3934b218e5bafbb7a03f3afc0e76536bd9c42653525b \ size 283677 depends_extract-append \ port:bzip2 post-extract { system -W ${workpath} "${prefix}/bin/bzip2 -dc ${distpath}/${file_patch} | /usr/bin/tar xf -" } pre-patch { system -W ${worksrcpath} "/usr/bin/patch -p0 < ${workpath}/${name_patch}/binutils-2_34.patch" } configure.args-append \ --target=msp430-elf \ --enable-languages=c,c++ \ --disable-nls \ --enable-initfini-array \ --disable-sim \ --disable-gdb \ --disable-werror