source: trunk/dports/cross/msp430mcu/Portfile

Last change on this file was 92828, checked in by g5pw@…, 5 years ago

cross/msp430mcu:
Added patch for LTS support.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 92828 2012-05-08 07:50:39Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    msp430mcu
7version                 20120406
8revision                1
9set lts_date            ${version}
10
11conflicts               ${name}-devel
12
13maintainers             g5pw
14
15categories              cross devel
16description             Device capabilites database for MSP430 toolchain
17long_description        ${description}
18
19license                 GPL-3+
20platforms               darwin
21
22homepage                http://mspgcc.sourceforge.net/
23
24master_sites            sourceforge:project/mspgcc/${name}/
25patch_sites             sourceforge:project/mspgcc/Patches/LTS/${lts_date}/ \
26
27patchfiles              ${name}-${version}-sf3522088.patch
28
29use_bzip2               yes
30
31checksums               msp430mcu-20120406-sf3522088.patch \
32                        rmd160  2da4b18652c317bf9bb11867fefed47f485ad1a9 \
33                        sha256  e5434bd446accf0cf87c877cb2a2523684705776fd8f9b99de959b7a4b55c18a \
34                        msp430mcu-20120406.tar.bz2 \
35                        rmd160  1c61058cdfdfef5e95a6ba93800d7d8b569463b1 \
36                        sha256  0637014e8e509746c3f6df8e1d65b786770d162b3a0b86548bdf76ac3102c96e
37
38destroot.violate_mtree  yes
39
40patch.pre_args          -p1
41
42use_configure           no
43
44build {}
45
46destroot {
47    system "env MSP430MCU_ROOT=\"${worksrcpath}\" \
48            ${worksrcpath}/scripts/install.sh ${destroot}${prefix}"
49}
50
51livecheck.type          regex
52livecheck.url           http://sourceforge.net/projects/mspgcc/files/msp430mcu/
53livecheck.regex         "${name}-((?!.*${name}.*|\\${extract.suffix}).*)\\${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.