mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
ec53eb5005
documentation file. Still not the most recent version though, since that one would require a more recent (still beta) gcc.
41 lines
1.1 KiB
Makefile
41 lines
1.1 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= 20000514
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www1.itnet.pl/amelektr/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 \
|
|
${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>
|