mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
1eea003ec2
This is the first version that is taken from a CVS snapshot of the current development version. The documentation project has made substantial progress in the time being, so there's quite a bit of up-to-date documentation shipping now.
58 lines
1.7 KiB
Makefile
58 lines
1.7 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= 2002.09.01
|
|
CATEGORIES= devel
|
|
# There are currently no official master sites for it. Everything is
|
|
# in savannah.gnu.org's CVS only.
|
|
#MASTER_SITES= http://www.amelek.gda.pl/avr/libc/
|
|
MASTER_SITES= http://people.freebsd.org/~joerg/
|
|
|
|
MAINTAINER= joerg@freebsd.org
|
|
|
|
BUILD_DEPENDS= avr-as:${PORTSDIR}/devel/avr-binutils \
|
|
avr-ld:${PORTSDIR}/devel/avr-binutils \
|
|
avr-gcc:${PORTSDIR}/devel/avr-gcc \
|
|
${GMAKE}:${PORTSDIR}/devel/gmake \
|
|
doxygen:${PORTSDIR}/devel/doxygen \
|
|
latex:${PORTSDIR}/print/teTeX
|
|
RUN_DEPENDS= avr-as:${PORTSDIR}/devel/avr-binutils \
|
|
avr-ld:${PORTSDIR}/devel/avr-binutils \
|
|
avr-gcc:${PORTSDIR}/devel/avr-gcc
|
|
|
|
USE_BZIP2= yes
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ENV= CC=avr-gcc PREFIX=${PREFIX}
|
|
CONFIGURE_SCRIPT= doconf
|
|
# get rid of that silly -mcpu=pentiumpro -current is so fond of. :-(
|
|
MAKE_ENV= CPUTYPE=foo
|
|
|
|
PDFDOC= avr-tools.pdf
|
|
|
|
do-build:
|
|
(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ./domake MAKE=${GMAKE})
|
|
|
|
do-install:
|
|
(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ./domake MAKE=${GMAKE} install)
|
|
${MKDIR} ${PREFIX}/share/doc/avr-libc
|
|
${MKDIR} ${PREFIX}/share/doc/avr-libc/examples
|
|
${INSTALL_DATA} \
|
|
${WRKDIR}/${DISTNAME}/LICENSE \
|
|
${WRKDIR}/${DISTNAME}/AUTHORS \
|
|
${WRKDIR}/${DISTNAME}/doc/register-usage.txt \
|
|
${WRKDIR}/${DISTNAME}/doc/avr-libc-reference.html \
|
|
${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
|
|
|
|
.include <bsd.port.mk>
|