# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 89729 2012-02-08 13:04:12Z titus@macports.org $

PortSystem              1.0

name                    avr-libc
version                 1.8.0
categories              cross
maintainers             titus openmaintainer
supported_archs         noarch
license                 BSD

description             C library for the AVR microcontroller.
long_description        AVR Libc is a Free Software project whose goal is \
                        to provide a high quality C library for use with \
                        GCC on Atmel AVR microcontrollers.
platforms               darwin
homepage                http://www.nongnu.org/avr-libc/
master_sites            http://download.savannah.gnu.org/releases/avr-libc/

# installs deliberately files outside regular tree:
destroot.violate_mtree  yes                                                                                                                           

use_bzip2               yes
checksums               sha1   2e3815221be8e22f5f2c07b922ce92ecfa85bade \
                        rmd160 8897a70f5b295d88d0bdc483c59f4a52936f0583

depends_lib             port:gettext \
                        port:avr-gcc

configure.args          --host=avr --build=`./config.guess`
configure.cc            avr-gcc

livecheck.type          regex
livecheck.url           ${master_sites}
livecheck.regex         ${name}-(\[1-9\]\\.\[0-9\]+\\.\[0-9\]+)
