Ticket #5107: Portfile

File Portfile, 1.0 KB (added by moll@…, 19 years ago)

New Portfile

Line 
1# $Id: Portfile,v 1.1 2005/09/21 20:38:11 toby Exp $
2PortSystem              1.0
3name                    avr-gdb
4version                 6.3
5categories              cross
6maintainers             moll@isi.edu
7description             GDB for the AVR processors
8long_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.
11homepage                http://www.gnu.org/software/gdb/gdb.html
12master_sites            http://ftp.gnu.org/gnu/gdb/ \
13                        ftp://mirrors.usc.edu/pub/gnu/gdb \
14                        ftp://ftp.mcc.ac.uk/pub/gnu/gdb
15distfiles               gdb-${version}.tar.bz2
16worksrcdir              gdb-${version}
17use_bzip2               yes
18checksums               md5 05b928f41fa5b482e49ca2c24762a0ae
19depends_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
24configure.args          --mandir=${prefix}/share/man --target=avr --disable-nls
25
26post-destroot {
27        # Installing (host) libiberty was a mistake.
28        file delete "${destroot}/${prefix}/lib/libiberty.a"
29}