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