source: trunk/dports/cross/msp430-gdb/Portfile

Last change on this file was 121482, checked in by g5pw@…, 3 years ago

msp430 suite:

disable livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.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=portfile:et:sw=4:ts=4:sts=4
2# $Id: Portfile 121482 2014-06-26 21:09:38Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    msp430-gdb
7set name_target         [lindex [split ${name} -] 0]
8set name_package        [lindex [split ${name} -] 1]
9set version_base        7.2a
10set lts_date            20111205
11version                 ${version_base}-${lts_date}
12conflicts               ${name}-devel
13
14distname                ${name_package}-${version_base}
15worksrcdir              [string trimright ${distname} {[a-zA-Z]}]
16
17categories              cross
18maintainers             g5pw
19description             GDB for the MSP430 processors
20long_description        msp430-gdb is a version of the GNU Debugger that \
21                        through the mspdebug program can be used to debug \
22                        code for the MSP430 processors.
23homepage                http://www.gnu.org/software/gdb/gdb.html
24license                 GPL-3+
25platforms               darwin
26master_sites            gnu:gdb
27patch_sites             sourceforge:project/mspgcc/Patches/${distname}/
28use_bzip2               yes
29
30checksums               msp430-gdb-7.2a-20111205.patch \
31                        rmd160  84fd86c8cee99575eb7db409d113f1e5bc71d7f2 \
32                        sha256  b70b54df5e00d24a3a5b744545a87ce656bdc88546081c6ffabefbc4d6c42956 \
33                        gdb-7.2a.tar.bz2 \
34                        rmd160  b5821fafe6920dfd30b73606bbf819b8296dfb4e \
35                        sha256  3c24dde332e33bfe2d5980c726d76224ebf8304278112a07bf701f8d2145d9bc
36
37depends_run             port:mspdebug
38
39patchfiles              ${name}-${version}.patch
40
41configure.args          --target=${name_target} \
42                        --disable-Werror \
43
44patch.pre_args          -p1
45
46build.env-append        CFLAGS="-I${prefix}/include"
47configure.env-append    CFLAGS="-I${prefix}/include"
48
49# TODO: Why? Ticket URL?
50compiler.blacklist *clang*
51
52post-destroot {
53    #remove libiberty.a
54    file delete "${destroot}/${prefix}/lib/x86_64/libiberty.a"
55    file delete "${destroot}/${prefix}/share/info/bfd.info"
56    file delete "${destroot}/${prefix}/share/info/standards.info"
57    file delete -force "${destroot}/${prefix}/share/locale"
58}
59
60livecheck.type      none
Note: See TracBrowser for help on using the repository browser.