freebsd-ports/devel/avr-libc/Makefile
Joerg Wunsch 8b68d52148 Atmel AVR cross-development, part #3: a C and floating point math
library.  This port also installs some documentation which actually
describes the combo of all three ports (avr-binutils, avr-gcc,
avr-libc).
2000-12-05 15:23:17 +00:00

45 lines
1.2 KiB
Makefile

# New ports collection makefile for: avr-libc
# Date created: 04 Dec 2000
# Whom: Joerg Wunsch <joerg@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= avr-libc
PORTVERSION= 20000207
CATEGORIES= devel
MASTER_SITES= http://www.gwdg.de/~mrickma/avr/snapshot/
DISTNAME= ${PORTNAME}-nma-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= joerg@freebsd.org
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
WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_GMAKE= yes
MAKE_FLAGS= prefix=${PREFIX}
post-install:
${MKDIR} ${PREFIX}/share/doc/avr-libc
${MKDIR} ${PREFIX}/share/doc/avr-libc/examples
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/README \
${PREFIX}/share/doc/avr-libc
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/README.too \
${PREFIX}/share/doc/avr-libc
@for f in avr-recv.c io.c prg progmem.c send_byte.s signal.c;\
do \
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/examples/$$f \
${PREFIX}/share/doc/avr-libc/examples; \
done
${INSTALL_DATA} ${FILESDIR}/avr-lib.pdf ${PREFIX}/share/doc/avr-libc
.include <bsd.port.mk>