source: trunk/dports/cross/msp430-libc-devel/Portfile @ 90769

Last change on this file since 90769 was 90769, checked in by g5pw@…, 8 years ago

Added new port msp430-libc-devel which is the development version of msp430-libc.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# -*- coding: utf-8; mode: portfile; 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 90769 2012-03-14 09:18:38Z g5pw@macports.org $
3
4PortSystem              1.0
5
6name                    msp430-libc-devel
7set name_package        [join [lrange [split ${name} -] 0 1] -]
8set name_target         [lindex [split ${name_package} -] 0]
9version                 20120125
10
11conflicts               ${name_package}
12
13distname                ${name_package}-${version}
14
15categories              cross
16maintainers             g5pw
17supported_archs         noarch
18license                 GPL-3+
19
20description             C library for the MSP430 series microcontrollers. This is the development version.
21long_description        MSP430 Libc is a Free Software project whose goal is \
22                        to provide a high quality C library for use with \
23                        GCC on TI MSP430 microcontrollers. This is the development version.
24platforms               darwin
25homepage                http://mspgcc.sourceforge.net/
26master_sites            http://downloads.sourceforge.net/project/mspgcc/${name_package}/
27
28
29depends_lib             port:msp430mcu-devel
30depends_build           port:gettext port:msp430-gcc-devel
31
32
33# installs deliberately files outside regular tree:
34destroot.violate_mtree  yes
35
36use_bzip2               yes
37
38checksums               ${name_package}-${version}${extract.suffix} \
39                        rmd160  2f530c78a43c4b5ea23345b9a6d886de1dc2b62a \
40                        sha256  ebf98c27940360708d0f02481f01b6295e2a2ffe2b341e9db13e41ac2c2d177e
41use_configure           no
42
43build.dir               ${worksrcpath}/src
44
45destroot.env            PREFIX=${destroot}${prefix}
46
47post-destroot {
48    file delete ${destroot}${prefix}bin/msp430-addr2line
49}
50
51livecheck.type          regex
52livecheck.url           http://sourceforge.net/projects/mspgcc/files/${name_package}/
53livecheck.regex         "${name_package}-((?!.*${name_package}.*|\\${extract.suffix}).*)\\${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.