1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/devel/avr-libc/Makefile
Joerg Wunsch 517156ba03 Upgrade to current version. The tree layout has changed a bit, constants
are now according to Atmel's documentation, etc. pp.

Requires an up-to-date avr-gcc.
2001-04-20 13:54:18 +00:00

44 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= 20010331
CATEGORIES= devel
MASTER_SITES= http://www.amelek.gda.pl/avr/libc/
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 \
${WRKDIR}/${DISTNAME}/doc/LICENSE \
${WRKDIR}/${DISTNAME}/doc/register-usage.txt \
${PREFIX}/share/doc/avr-libc
@for f in avr-recv.c io.c prg printf.h 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>