From 19297be5ff1fef1fadfe94ff4ff3282865801054 Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Thu, 18 Apr 2002 19:50:14 +0000 Subject: Update to version 20020203. Since the author switched to use autoconf to maintain it, the entire build system changed quite a bit. In order to get it to use the correct tools (avr-gcc etc.) instead of the default C compiler, the package now contains wrapper scripts to configure and build it, so a good part of our ports framework doesn't apply anymore very well. As a side-effect, i can't get it to honor ${PREFIX} in any way right now. Maybe i'll switch away from the shipped scripts, and redo all their stuff within that Makefile in future. --- devel/avr-libc/Makefile | 20 ++++++++++++-------- devel/avr-libc/distinfo | 2 +- devel/avr-libc/pkg-plist | 3 +++ 3 files changed, 16 insertions(+), 9 deletions(-) (limited to 'devel/avr-libc') diff --git a/devel/avr-libc/Makefile b/devel/avr-libc/Makefile index a33ddaab6fba..ab9dc86b4749 100644 --- a/devel/avr-libc/Makefile +++ b/devel/avr-libc/Makefile @@ -6,7 +6,7 @@ # PORTNAME= avr-libc -PORTVERSION= 20011007 +PORTVERSION= 20020203 CATEGORIES= devel MASTER_SITES= http://www.amelek.gda.pl/avr/libc/ @@ -14,22 +14,26 @@ MAINTAINER= joerg@freebsd.org BUILD_DEPENDS= avr-as:${PORTSDIR}/devel/avr-binutils \ avr-ld:${PORTSDIR}/devel/avr-binutils \ - avr-gcc:${PORTSDIR}/devel/avr-gcc + avr-gcc:${PORTSDIR}/devel/avr-gcc \ + ${GMAKE}:${PORTSDIR}/devel/gmake 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 +HAS_CONFIGURE= yes +CONFIGURE_ENV= CC=avr-gcc +CONFIGURE_SCRIPT= doconf -MAKE_FLAGS= prefix=${PREFIX} +do-build: + (cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ./domake MAKE=${GMAKE}) -post-install: +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}/doc/LICENSE \ + ${WRKDIR}/${DISTNAME}/LICENSE \ + ${WRKDIR}/${DISTNAME}/AUTHORS \ ${WRKDIR}/${DISTNAME}/doc/register-usage.txt \ ${WRKDIR}/${DISTNAME}/doc/avr-libc-reference.html \ ${PREFIX}/share/doc/avr-libc diff --git a/devel/avr-libc/distinfo b/devel/avr-libc/distinfo index b7c909a07f43..8a83c9f23f21 100644 --- a/devel/avr-libc/distinfo +++ b/devel/avr-libc/distinfo @@ -1 +1 @@ -MD5 (avr-libc-20011007.tar.gz) = d61cdcc84c97fbc0f175d6bd7f28ab13 +MD5 (avr-libc-20020203.tar.gz) = fb80cdba885f5ed0f62422393062255f diff --git a/devel/avr-libc/pkg-plist b/devel/avr-libc/pkg-plist index 50bead1e0118..5f0fb0f0bf62 100644 --- a/devel/avr-libc/pkg-plist +++ b/devel/avr-libc/pkg-plist @@ -51,10 +51,12 @@ avr/include/io8534.h avr/include/io8535.h avr/include/ioat94k.h avr/include/iom103.h +avr/include/iom128.h avr/include/iom161.h avr/include/iom163.h avr/include/iom32.h avr/include/iom603.h +avr/include/iom8.h avr/include/iom83.h avr/include/iomacros.h avr/include/iotn11.h @@ -75,6 +77,7 @@ avr/include/timer.h avr/include/twi.h avr/include/wdt.h share/doc/avr-libc/LICENSE +share/doc/avr-libc/AUTHORS share/doc/avr-libc/register-usage.txt share/doc/avr-libc/avr-lib.pdf share/doc/avr-libc/avr-libc-reference.html -- cgit v1.2.3