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

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

cross/msp430-libc
cross/msp430-binutils-devel
cross/msp430-gcc
cross/msp430-binutils
cross/msp430-gcc-devel
cross/msp430-gdb
cross/msp430mcu
cross/msp430-gdb-devel

Moved patch.args parameters to patch.pre_args, which fixes ticket #33623

  • 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 90834 2012-03-15 06:41:33Z g5pw@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.2
10set lts_date            20110103
11version                 ${version_base}-${lts_date}
12conflicts               ${name}-devel
13
14distname                ${name_package}-${version_base}
15
16categories              cross
17maintainers             g5pw
18description             GDB for the MSP430 processors
19long_description        msp430-gdb is a version of the GNU Debugger that \
20                        through the mspdebug program can be used to debug \
21                        code for the MSP430 processors.
22homepage                http://www.gnu.org/software/gdb/gdb.html
23license                 GPL-3+
24platforms               darwin
25master_sites            gnu:gdb
26patch_sites             http://downloads.sourceforge.net/project/mspgcc/Patches/${distname}/
27use_bzip2               yes
28checksums               ${name}-${version}.patch \
29                        rmd160  09d8427721b0a54ecddda373fcd5af6f9496e55c \
30                        sha256  5631fce178ed3bf05b6c60957e56501ea22b3618febc2fa790249a1b86447aa0 \
31                        ${distname}${extract.suffix} \
32                        rmd160  2f2f5eb331593a276f1b7024ac35f7ca1520653d \
33                        sha256  bf444b88ab845243364c3d410be9e3f43a57f96ff594d65a37842ea03c3410f0
34depends_run             port:mspdebug
35
36patchfiles              ${name}-${version}.patch
37
38configure.args          --target=${name_target} \
39                        --disable-Werror \
40
41patch.pre_args          -p1
42
43build.env-append        CFLAGS="-I${prefix}/include"
44configure.env-append    CFLAGS="-I${prefix}/include"
45
46if {${configure.compiler} == "clang"} {
47    configure.compiler llvm-gcc-4.2
48}
49
50post-destroot {
51    #remove libiberty.a
52    file delete "${destroot}/${prefix}/lib/x86_64/libiberty.a"
53    file delete "${destroot}/${prefix}/share/info/bfd.info"
54    file delete "${destroot}/${prefix}/share/info/standards.info"
55    file delete -force "${destroot}/${prefix}/share/locale"
56}
57
58livecheck.regex         "gdb-((?!.*gdb.*|\\${extract.suffix}).*)\\${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.