# -*- 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 # $Id$ PortSystem 1.0 name lpc21isp version 1.92 categories cross devel license LGPL maintainers snc openmaintainer description a NXP MCU programmer long_description In-circuit programming (ISP) tool for the NXP (Philips) \ LPC2000 series ARM7 microcontrollers homepage http://sourceforge.net/projects/lpc21isp/ platforms darwin master_sites sourceforge distname ${name}_[string replace ${version} 1 1 ] checksums rmd160 3a933f250e1c3001d528a03a1077f98973bec6f9 \ sha256 c2ac9ba9b6b6c7fb681505027ff44a12a0ace27a8b6f907fa8bef5738b21085d extract.mkdir yes worksrcdir ${name} patch { reinplace s|gcc|${configure.cc}| ${worksrcpath}/Makefile } use_configure no pre-build { system "make -C ${worksrcpath} clean" } build.post_args CFLAGS="-mmacosx-version-min=10.5" destroot { xinstall -m 755 ${worksrcpath}/lpc21isp \ ${destroot}${prefix}/bin }