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

Last change on this file was 123662, checked in by jmr@…, 3 years ago

avr-gdb: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 123662 2014-08-12 06:59:01Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            avr-gdb
6version         7.6.1
7categories      cross
8license         GPL-3+
9maintainers     nomaintainer
10description     GDB for the AVR processors
11long_description    avr-gdb is a version of the GNU Debugger that \
12            through the avarice program can be used to debug \
13            code for the AVR processors.
14homepage        http://www.gnu.org/software/gdb/gdb.html
15platforms       darwin
16master_sites    gnu:gdb
17distname        gdb-${version}
18use_bzip2       yes
19
20checksums       rmd160  d65ee2ab9f18601ceaeac4d379bb7f344f237bdd \
21                sha256  e3dfa38a14a5457f9b8b26f7b5080ba5491bd10ae4d69bfe357cea87b7d162e4
22depends_run     bin:avarice:avarice
23
24# without --disable-nls the build process breaks
25configure.args  --mandir=${prefix}/share/man \
26                --infodir=${prefix}/share/info \
27                --disable-werror \
28                --target=avr
29
30post-destroot {
31    # Installing (host) libiberty was a mistake.
32    foreach f [glob -directory "${destroot}${prefix}/lib" libiberty.a */libiberty.a] {
33        file delete $f
34    }
35    file delete "${destroot}${prefix}/share/info/bfd.info"
36
37    # Conflcts with autoconf and other gdb ports
38    file delete -force "${destroot}/${prefix}/share/info"
39    file delete -force "${destroot}${prefix}/include/gdb"
40    file delete -force "${destroot}${prefix}/share"
41}
Note: See TracBrowser for help on using the repository browser.