1 | # $Id: Portfile,v 1.1 2005/09/21 20:38:11 toby Exp $ |
---|
2 | PortSystem 1.0 |
---|
3 | name avr-gdb |
---|
4 | version 6.3 |
---|
5 | categories cross |
---|
6 | maintainers moll@isi.edu |
---|
7 | description GDB for the AVR processors |
---|
8 | long_description avr-gdb is a version of the GNU Debugger that \ |
---|
9 | through the avarice program can be used to debug \ |
---|
10 | code for the AVR processors. |
---|
11 | homepage http://www.gnu.org/software/gdb/gdb.html |
---|
12 | master_sites http://ftp.gnu.org/gnu/gdb/ \ |
---|
13 | ftp://mirrors.usc.edu/pub/gnu/gdb \ |
---|
14 | ftp://ftp.mcc.ac.uk/pub/gnu/gdb |
---|
15 | distfiles gdb-${version}.tar.bz2 |
---|
16 | worksrcdir gdb-${version} |
---|
17 | use_bzip2 yes |
---|
18 | checksums md5 05b928f41fa5b482e49ca2c24762a0ae |
---|
19 | depends_run port:avarice |
---|
20 | |
---|
21 | # This actually breaks the build process |
---|
22 | #configure.env CFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib" |
---|
23 | # without --disable-nls the build process also breaks |
---|
24 | configure.args --mandir=${prefix}/share/man --target=avr --disable-nls |
---|
25 | |
---|
26 | post-destroot { |
---|
27 | # Installing (host) libiberty was a mistake. |
---|
28 | file delete "${destroot}/${prefix}/lib/libiberty.a" |
---|
29 | } |
---|