source: trunk/dports/cross/lpc21isp/Portfile

Last change on this file was 115727, checked in by snc@…, 4 years ago

lpc21isp: update to 1.97

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- 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
2# $Id: Portfile 115727 2014-01-09 22:07:37Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                lpc21isp
7version             1.97
8categories          cross devel
9license             LGPL
10maintainers         snc openmaintainer
11description         a NXP MCU programmer
12long_description    In-circuit programming (ISP) tool for the NXP (Philips) \
13                    LPC2000 series ARM7 microcontrollers
14homepage            http://sourceforge.net/projects/lpc21isp/
15platforms           darwin
16master_sites        sourceforge:project/${name}/${name}/${version}/
17distname            ${name}_[string replace ${version} 1 1 ]
18
19checksums           rmd160  58f0964b4689c67a44783703bddaccbfbf6b8bf0 \
20                    sha256  9f7d80382e4b70bfa4200233466f29f73a36fea7dc604e32f05b9aa69ef591dc
21
22worksrcdir          ${name}_[join [lrange [split ${version} .] 0 1] ""]
23
24patch {
25                    reinplace s|gcc|${configure.cc}| ${worksrcpath}/Makefile
26}
27
28use_configure       no
29
30pre-build {
31                    system "make -C ${worksrcpath} clean"
32}
33build.post_args     CFLAGS="-mmacosx-version-min=10.5"
34
35destroot {
36                    xinstall -m 755 ${worksrcpath}/lpc21isp \
37                    ${destroot}${prefix}/bin
38}
Note: See TracBrowser for help on using the repository browser.