# $Id: Portfile 123662 2014-08-12 06:59:01Z jmr@macports.org $ PortSystem 1.0 name avr-gdb version 7.6.1 categories cross license GPL-3+ maintainers nomaintainer description GDB for the AVR processors long_description avr-gdb is a version of the GNU Debugger that \ through the avarice program can be used to debug \ code for the AVR processors. homepage http://www.gnu.org/software/gdb/gdb.html platforms darwin master_sites gnu:gdb distname gdb-${version} use_bzip2 yes checksums rmd160 d65ee2ab9f18601ceaeac4d379bb7f344f237bdd \ sha256 e3dfa38a14a5457f9b8b26f7b5080ba5491bd10ae4d69bfe357cea87b7d162e4 depends_run bin:avarice:avarice # without --disable-nls the build process breaks configure.args --mandir=${prefix}/share/man \ --infodir=${prefix}/share/info \ --disable-werror \ --target=avr post-destroot { # Installing (host) libiberty was a mistake. foreach f [glob -directory "${destroot}${prefix}/lib" libiberty.a */libiberty.a] { file delete $f } file delete "${destroot}${prefix}/share/info/bfd.info" # Conflcts with autoconf and other gdb ports file delete -force "${destroot}/${prefix}/share/info" file delete -force "${destroot}${prefix}/include/gdb" file delete -force "${destroot}${prefix}/share" }