diff options
author | joerg <joerg@FreeBSD.org> | 2007-10-30 03:51:44 +0800 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 2007-10-30 03:51:44 +0800 |
commit | a0a691cceb35813ab09a07e429d958c6b2da731c (patch) | |
tree | 2962fb62d5e0d269b8695a78cbc03e47803e7252 | |
parent | a9ffdf56b3299edac5a9aed644df458e45a0e686 (diff) | |
download | freebsd-ports-gnome-a0a691cceb35813ab09a07e429d958c6b2da731c.tar.gz freebsd-ports-gnome-a0a691cceb35813ab09a07e429d958c6b2da731c.tar.zst freebsd-ports-gnome-a0a691cceb35813ab09a07e429d958c6b2da731c.zip |
This is a development snapshot of the avr-libc C (and math) library
for Atmel AVR microcontrollers. It is mutually exclusive with the
stable version in devel/avr-libc.
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/avr-libc-devel/Makefile | 82 | ||||
-rw-r--r-- | devel/avr-libc-devel/distinfo | 3 | ||||
-rw-r--r-- | devel/avr-libc-devel/pkg-descr | 10 | ||||
-rw-r--r-- | devel/avr-libc-devel/pkg-plist | 301 | ||||
-rw-r--r-- | devel/avr-libc-devel/pkg-plist.doc | 31 |
6 files changed, 428 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 87e205a20b21..0d9fe8448fb2 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -85,6 +85,7 @@ SUBDIR += avr-gcc-3 SUBDIR += avr-gdb SUBDIR += avr-libc + SUBDIR += avr-libc-devel SUBDIR += avra SUBDIR += avrdude SUBDIR += bazaar diff --git a/devel/avr-libc-devel/Makefile b/devel/avr-libc-devel/Makefile new file mode 100644 index 000000000000..6de78117770d --- /dev/null +++ b/devel/avr-libc-devel/Makefile @@ -0,0 +1,82 @@ +# New ports collection makefile for: avr-libc-devel +# Date created: 29 Oct 2007 +# Whom: Joerg Wunsch <joerg@freebsd.org> +# +# $FreeBSD$ +# + +PORTNAME= avr-libc-devel +PORTVERSION= 1.5.1.20071029 +PORTEPOCH= 1 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_SAVANNAH} +MASTER_SITE_SUBDIR= avr-libc +DISTNAME= avr-libc-${DISTVERSION}${DISTVERSIONSUFFIX} + +MAINTAINER= joerg@freebsd.org +COMMENT= A C and math library for the Atmel AVR controller family + +BUILD_DEPENDS= avr-as:${PORTSDIR}/devel/avr-binutils \ + avr-ld:${PORTSDIR}/devel/avr-binutils \ + avr-gcc:${PORTSDIR}/devel/avr-gcc +RUN_DEPENDS= avr-as:${PORTSDIR}/devel/avr-binutils \ + avr-ld:${PORTSDIR}/devel/avr-binutils \ + avr-gcc:${PORTSDIR}/devel/avr-gcc +.if !defined(NOPORTDOCS) +BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \ + latex:${PORTSDIR}/print/teTeX \ + pdflatex:${PORTSDIR}/print/teTeX \ + fig2dev:${PORTSDIR}/print/transfig \ + jpegtopnm:${PORTSDIR}/graphics/netpbm +.endif + +DOCSDIR= ${PREFIX}/share/doc/avr-libc +USE_BZIP2= yes +USE_GMAKE= yes +HAS_CONFIGURE= yes + +CONFLICTS= avr-libc-[1-9]* + +CONFIGURE_ENV= CC=avr-gcc PREFIX=${PREFIX} +.if !defined(NOPORTDOCS) +CONFIGURE_ARGS= --build=`./config.guess` --host=avr \ + --enable-doc --disable-versioned-doc +PLIST_DOC= ${PKGDIR}/pkg-plist.doc +.else +CONFIGURE_ARGS= --build=`./config.guess` --host=avr +PLIST_DOC= +.endif +# Work around the braind***ness introduced by <bsd.cpu.mk> in freebsd-5. +# Sorry, the user is no longer be able to override the optimization and +# debugging settings now. +MAKE_ENV= NO_CPU_CFLAGS=true +CFLAGS= -O +CXXFLAGS= -O + +do-install: + ${RM} -f ${TMPPLIST} +.if !defined(NOPORTDOCS) + (cd ${BUILD_WRKSRC}/doc/api/avr-libc-user-manual && \ + ${FIND} . -type f \ + \( -name '*.html' -or -name '*.css' -or \ + -name '*.jpg' -or -name '*.png' \) |\ + ${SORT} |\ + ${SED} -e 's|^\.|share/doc/avr-libc/avr-libc-user-manual|' \ + >> ${TMPPLIST}) + (cd ${BUILD_WRKSRC}/doc/api/man/man3 && \ + ${FIND} . -type f |\ + ${SORT} |\ + ${SED} -e 's|^\.|share/doc/avr-libc/man/man3|' \ + >> ${TMPPLIST}) + ${CAT} ${PLIST_DOC} >> ${TMPPLIST} +.else + -${MKDIR} ${DOCSDIR} +.endif + ${CAT} ${PLIST} >> ${TMPPLIST} + (cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} install) + ${INSTALL_DATA} \ + ${WRKDIR}/${DISTNAME}/LICENSE \ + ${WRKDIR}/${DISTNAME}/AUTHORS \ + ${DOCSDIR} + +.include <bsd.port.mk> diff --git a/devel/avr-libc-devel/distinfo b/devel/avr-libc-devel/distinfo new file mode 100644 index 000000000000..c4a738147436 --- /dev/null +++ b/devel/avr-libc-devel/distinfo @@ -0,0 +1,3 @@ +MD5 (avr-libc-1.5.1.20071029.tar.bz2) = 07c0b1e921ae971794ad248f9025c14e +SHA256 (avr-libc-1.5.1.20071029.tar.bz2) = 217c11fe5c326200fe9e95affc1b8a6c51e5763fb702fe701350cac1bc8454a9 +SIZE (avr-libc-1.5.1.20071029.tar.bz2) = 911898 diff --git a/devel/avr-libc-devel/pkg-descr b/devel/avr-libc-devel/pkg-descr new file mode 100644 index 000000000000..cd5af8f699a9 --- /dev/null +++ b/devel/avr-libc-devel/pkg-descr @@ -0,0 +1,10 @@ +avr-libc -- a C and math library for the Atmel AVR controller family + +This library implements a subset of common C library functions, some +Atmel AVR specific additions (like handling AVR's IO facilities, +EEPROM etc.), as well as a 32-bit floating point math library (-lm). + +Everything is designed and implemented to cooperate with avr-gcc and +avr-binutils. + +WWW: http://savannah.nongnu.org/projects/avr-libc diff --git a/devel/avr-libc-devel/pkg-plist b/devel/avr-libc-devel/pkg-plist new file mode 100644 index 000000000000..09557a1ea446 --- /dev/null +++ b/devel/avr-libc-devel/pkg-plist @@ -0,0 +1,301 @@ +avr/include/alloca.h +avr/include/assert.h +avr/include/avr/boot.h +avr/include/avr/common.h +avr/include/avr/crc16.h +avr/include/avr/delay.h +avr/include/avr/eeprom.h +avr/include/avr/fuse.h +avr/include/avr/interrupt.h +avr/include/avr/io.h +avr/include/avr/io1200.h +avr/include/avr/io2313.h +avr/include/avr/io2323.h +avr/include/avr/io2333.h +avr/include/avr/io2343.h +avr/include/avr/io43u32x.h +avr/include/avr/io43u35x.h +avr/include/avr/io4414.h +avr/include/avr/io4433.h +avr/include/avr/io4434.h +avr/include/avr/io76c711.h +avr/include/avr/io8515.h +avr/include/avr/io8534.h +avr/include/avr/io8535.h +avr/include/avr/io86r401.h +avr/include/avr/io90pwm1.h +avr/include/avr/io90pwm216.h +avr/include/avr/io90pwm2b.h +avr/include/avr/io90pwm316.h +avr/include/avr/io90pwm3b.h +avr/include/avr/io90pwmx.h +avr/include/avr/ioat94k.h +avr/include/avr/iocan128.h +avr/include/avr/iocan32.h +avr/include/avr/iocan64.h +avr/include/avr/iocanxx.h +avr/include/avr/iom103.h +avr/include/avr/iom128.h +avr/include/avr/iom1280.h +avr/include/avr/iom1281.h +avr/include/avr/iom16.h +avr/include/avr/iom161.h +avr/include/avr/iom162.h +avr/include/avr/iom163.h +avr/include/avr/iom164.h +avr/include/avr/iom165.h +avr/include/avr/iom165p.h +avr/include/avr/iom168.h +avr/include/avr/iom168p.h +avr/include/avr/iom169.h +avr/include/avr/iom169p.h +avr/include/avr/iom16hva.h +avr/include/avr/iom2560.h +avr/include/avr/iom2561.h +avr/include/avr/iom32.h +avr/include/avr/iom323.h +avr/include/avr/iom324.h +avr/include/avr/iom325.h +avr/include/avr/iom3250.h +avr/include/avr/iom328p.h +avr/include/avr/iom329.h +avr/include/avr/iom3290.h +avr/include/avr/iom406.h +avr/include/avr/iom48.h +avr/include/avr/iom48p.h +avr/include/avr/iom64.h +avr/include/avr/iom640.h +avr/include/avr/iom644.h +avr/include/avr/iom645.h +avr/include/avr/iom6450.h +avr/include/avr/iom649.h +avr/include/avr/iom6490.h +avr/include/avr/iom8.h +avr/include/avr/iom8515.h +avr/include/avr/iom8535.h +avr/include/avr/iom88.h +avr/include/avr/iom88p.h +avr/include/avr/iom8hva.h +avr/include/avr/iomx8.h +avr/include/avr/iomx8p.h +avr/include/avr/iomxx0_1.h +avr/include/avr/iomxx4.h +avr/include/avr/iomxxhva.h +avr/include/avr/iotn11.h +avr/include/avr/iotn12.h +avr/include/avr/iotn13.h +avr/include/avr/iotn15.h +avr/include/avr/iotn22.h +avr/include/avr/iotn2313.h +avr/include/avr/iotn24.h +avr/include/avr/iotn25.h +avr/include/avr/iotn26.h +avr/include/avr/iotn261.h +avr/include/avr/iotn28.h +avr/include/avr/iotn43u.h +avr/include/avr/iotn44.h +avr/include/avr/iotn45.h +avr/include/avr/iotn461.h +avr/include/avr/iotn48.h +avr/include/avr/iotn84.h +avr/include/avr/iotn85.h +avr/include/avr/iotn861.h +avr/include/avr/iotnx4.h +avr/include/avr/iotnx5.h +avr/include/avr/iotnx61.h +avr/include/avr/iousb1286.h +avr/include/avr/iousb1287.h +avr/include/avr/iousb162.h +avr/include/avr/iousb646.h +avr/include/avr/iousb647.h +avr/include/avr/iousb82.h +avr/include/avr/iousbxx2.h +avr/include/avr/iousbxx6_7.h +avr/include/avr/lock.h +avr/include/avr/parity.h +avr/include/avr/pgmspace.h +avr/include/avr/portpins.h +avr/include/avr/power.h +avr/include/avr/sfr_defs.h +avr/include/avr/signal.h +avr/include/avr/sleep.h +avr/include/avr/version.h +avr/include/avr/wdt.h +avr/include/compat/deprecated.h +avr/include/compat/ina90.h +avr/include/compat/twi.h +avr/include/ctype.h +avr/include/errno.h +avr/include/inttypes.h +avr/include/math.h +avr/include/setjmp.h +avr/include/stdint.h +avr/include/stdio.h +avr/include/stdlib.h +avr/include/string.h +avr/include/util/atomic.h +avr/include/util/crc16.h +avr/include/util/delay.h +avr/include/util/delay_basic.h +avr/include/util/parity.h +avr/include/util/setbaud.h +avr/include/util/twi.h +avr/lib/avr25/crt86401.o +avr/lib/avr25/crttn13.o +avr/lib/avr25/crttn2313.o +avr/lib/avr25/crttn24.o +avr/lib/avr25/crttn25.o +avr/lib/avr25/crttn261.o +avr/lib/avr25/crttn43u.o +avr/lib/avr25/crttn44.o +avr/lib/avr25/crttn45.o +avr/lib/avr25/crttn461.o +avr/lib/avr25/crttn48.o +avr/lib/avr25/crttn84.o +avr/lib/avr25/crttn85.o +avr/lib/avr25/crttn861.o +avr/lib/avr25/libc.a +avr/lib/avr25/libm.a +avr/lib/avr25/libprintf_flt.a +avr/lib/avr25/libprintf_min.a +avr/lib/avr25/libscanf_flt.a +avr/lib/avr25/libscanf_min.a +avr/lib/avr3/crt43320.o +avr/lib/avr3/crt43355.o +avr/lib/avr3/crt76711.o +avr/lib/avr3/crtm103.o +avr/lib/avr3/libc.a +avr/lib/avr3/libm.a +avr/lib/avr3/libprintf_flt.a +avr/lib/avr3/libprintf_min.a +avr/lib/avr3/libscanf_flt.a +avr/lib/avr3/libscanf_min.a +avr/lib/avr4/crt90pwm1.o +avr/lib/avr4/crt90pwm2.o +avr/lib/avr4/crt90pwm2b.o +avr/lib/avr4/crt90pwm3.o +avr/lib/avr4/crt90pwm3b.o +avr/lib/avr4/crtm48.o +avr/lib/avr4/crtm48p.o +avr/lib/avr4/crtm8.o +avr/lib/avr4/crtm8515.o +avr/lib/avr4/crtm8535.o +avr/lib/avr4/crtm88.o +avr/lib/avr4/crtm88p.o +avr/lib/avr4/crtm8hva.o +avr/lib/avr4/libc.a +avr/lib/avr4/libm.a +avr/lib/avr4/libprintf_flt.a +avr/lib/avr4/libprintf_min.a +avr/lib/avr4/libscanf_flt.a +avr/lib/avr4/libscanf_min.a +avr/lib/avr5/crt90pwm216.o +avr/lib/avr5/crt90pwm316.o +avr/lib/avr5/crtat94k.o +avr/lib/avr5/crtcan128.o +avr/lib/avr5/crtcan32.o +avr/lib/avr5/crtcan64.o +avr/lib/avr5/crtm128.o +avr/lib/avr5/crtm1280.o +avr/lib/avr5/crtm1281.o +avr/lib/avr5/crtm16.o +avr/lib/avr5/crtm161.o +avr/lib/avr5/crtm162.o +avr/lib/avr5/crtm163.o +avr/lib/avr5/crtm164p.o +avr/lib/avr5/crtm165.o +avr/lib/avr5/crtm165p.o +avr/lib/avr5/crtm168.o +avr/lib/avr5/crtm168p.o +avr/lib/avr5/crtm169.o +avr/lib/avr5/crtm169p.o +avr/lib/avr5/crtm16hva.o +avr/lib/avr5/crtm32.o +avr/lib/avr5/crtm323.o +avr/lib/avr5/crtm324p.o +avr/lib/avr5/crtm325.o +avr/lib/avr5/crtm3250.o +avr/lib/avr5/crtm3250p.o +avr/lib/avr5/crtm325p.o +avr/lib/avr5/crtm328p.o +avr/lib/avr5/crtm329.o +avr/lib/avr5/crtm3290.o +avr/lib/avr5/crtm3290p.o +avr/lib/avr5/crtm329p.o +avr/lib/avr5/crtm406.o +avr/lib/avr5/crtm64.o +avr/lib/avr5/crtm640.o +avr/lib/avr5/crtm644.o +avr/lib/avr5/crtm644p.o +avr/lib/avr5/crtm645.o +avr/lib/avr5/crtm6450.o +avr/lib/avr5/crtm649.o +avr/lib/avr5/crtm6490.o +avr/lib/avr5/crtusb1286.o +avr/lib/avr5/crtusb1287.o +avr/lib/avr5/crtusb162.o +avr/lib/avr5/crtusb646.o +avr/lib/avr5/crtusb647.o +avr/lib/avr5/crtusb82.o +avr/lib/avr5/libc.a +avr/lib/avr5/libm.a +avr/lib/avr5/libprintf_flt.a +avr/lib/avr5/libprintf_min.a +avr/lib/avr5/libscanf_flt.a +avr/lib/avr5/libscanf_min.a +avr/lib/avr6/crtm2560.o +avr/lib/avr6/crtm2561.o +avr/lib/avr6/libc.a +avr/lib/avr6/libm.a +avr/lib/avr6/libprintf_flt.a +avr/lib/avr6/libprintf_min.a +avr/lib/avr6/libscanf_flt.a +avr/lib/avr6/libscanf_min.a +avr/lib/crt86401.o +avr/lib/crtc8534.o +avr/lib/crts1200.o +avr/lib/crts2313.o +avr/lib/crts2323.o +avr/lib/crts2333.o +avr/lib/crts2343.o +avr/lib/crts4414.o +avr/lib/crts4433.o +avr/lib/crts4434.o +avr/lib/crts8515.o +avr/lib/crts8535.o +avr/lib/crttn11.o +avr/lib/crttn12.o +avr/lib/crttn13.o +avr/lib/crttn15.o +avr/lib/crttn22.o +avr/lib/crttn2313.o +avr/lib/crttn24.o +avr/lib/crttn25.o +avr/lib/crttn26.o +avr/lib/crttn261.o +avr/lib/crttn28.o +avr/lib/crttn44.o +avr/lib/crttn45.o +avr/lib/crttn461.o +avr/lib/crttn84.o +avr/lib/crttn85.o +avr/lib/crttn861.o +avr/lib/libc.a +avr/lib/libm.a +avr/lib/libprintf_flt.a +avr/lib/libprintf_min.a +avr/lib/libscanf_flt.a +avr/lib/libscanf_min.a +bin/avr-man +share/doc/avr-libc/AUTHORS +share/doc/avr-libc/LICENSE +@dirrm avr/include/util +@dirrm avr/include/compat +@dirrm avr/include/avr +@dirrm avr/include +@dirrm avr/lib/avr25 +@dirrm avr/lib/avr3 +@dirrm avr/lib/avr4 +@dirrm avr/lib/avr5 +@dirrm avr/lib/avr6 +@dirrm share/doc/avr-libc diff --git a/devel/avr-libc-devel/pkg-plist.doc b/devel/avr-libc-devel/pkg-plist.doc new file mode 100644 index 000000000000..b12b73dfec1a --- /dev/null +++ b/devel/avr-libc-devel/pkg-plist.doc @@ -0,0 +1,31 @@ +share/doc/avr-libc/avr-libc-user-manual.pdf +share/doc/avr-libc/avr-libc-user-manual.ps +share/doc/avr-libc/examples/asmdemo/Makefile +share/doc/avr-libc/examples/asmdemo/asmdemo.c +share/doc/avr-libc/examples/asmdemo/isrs.S +share/doc/avr-libc/examples/asmdemo/project.h +share/doc/avr-libc/examples/demo/Makefile +share/doc/avr-libc/examples/demo/demo.c +share/doc/avr-libc/examples/demo/iocompat.h +share/doc/avr-libc/examples/largedemo/Makefile +share/doc/avr-libc/examples/largedemo/largedemo.c +share/doc/avr-libc/examples/stdiodemo/Makefile +share/doc/avr-libc/examples/stdiodemo/defines.h +share/doc/avr-libc/examples/stdiodemo/hd44780.c +share/doc/avr-libc/examples/stdiodemo/hd44780.h +share/doc/avr-libc/examples/stdiodemo/lcd.c +share/doc/avr-libc/examples/stdiodemo/lcd.h +share/doc/avr-libc/examples/stdiodemo/stdiodemo.c +share/doc/avr-libc/examples/stdiodemo/uart.c +share/doc/avr-libc/examples/stdiodemo/uart.h +share/doc/avr-libc/examples/twitest/Makefile +share/doc/avr-libc/examples/twitest/twitest.c +@dirrm share/doc/avr-libc/examples/twitest +@dirrm share/doc/avr-libc/examples/stdiodemo +@dirrm share/doc/avr-libc/examples/largedemo +@dirrm share/doc/avr-libc/examples/demo +@dirrm share/doc/avr-libc/examples/asmdemo +@dirrm share/doc/avr-libc/examples +@dirrm share/doc/avr-libc/man/man3 +@dirrm share/doc/avr-libc/man +@dirrm share/doc/avr-libc/avr-libc-user-manual |