aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2002-04-19 03:50:14 +0800
committerjoerg <joerg@FreeBSD.org>2002-04-19 03:50:14 +0800
commit75c35296eb3748ef38b5923dfda290e34a49984b (patch)
tree86cc6e1779adb9376a2d0ebfe5141b2b84e6f50f /devel
parent0648e381f2ee1d94542d278e197ba5c7676af8ac (diff)
downloadfreebsd-ports-gnome-75c35296eb3748ef38b5923dfda290e34a49984b.tar.gz
freebsd-ports-gnome-75c35296eb3748ef38b5923dfda290e34a49984b.tar.zst
freebsd-ports-gnome-75c35296eb3748ef38b5923dfda290e34a49984b.zip
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.
Diffstat (limited to 'devel')
-rw-r--r--devel/avr-libc/Makefile20
-rw-r--r--devel/avr-libc/distinfo2
-rw-r--r--devel/avr-libc/pkg-plist3
3 files changed, 16 insertions, 9 deletions
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