aboutsummaryrefslogtreecommitdiffstats
path: root/devel/avr-gcc-3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/avr-gcc-3/Makefile')
-rw-r--r--devel/avr-gcc-3/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/devel/avr-gcc-3/Makefile b/devel/avr-gcc-3/Makefile
new file mode 100644
index 000000000000..0141a8d741c2
--- /dev/null
+++ b/devel/avr-gcc-3/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: avr-gcc
+# Date created: 29 Nov 2000
+# Whom: Joerg Wunsch <joerg@freebsd.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gcc
+PORTVERSION= 2.95.2
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GNU}
+MASTER_SITE_SUBDIR= gcc
+PKGNAMEPREFIX= avr-
+DISTNAME= gcc-core-${PORTVERSION}
+
+PATCH_SITES= http://home.overta.ru/users/denisc/gcc/
+PATCHFILES= ${DISTNAME}-avr-patch-1.1.gz
+PATCH_DIST_STRIP= -p1
+
+MAINTAINER= joerg@freebsd.org
+
+BUILD_DEPENDS= avr-as:${PORTSDIR}/devel/avr-binutils \
+ avr-ld:${PORTSDIR}/devel/avr-binutils
+RUN_DEPENDS= avr-as:${PORTSDIR}/devel/avr-binutils \
+ avr-ld:${PORTSDIR}/devel/avr-binutils
+
+WRKSRC= ${WRKDIR}/gcc-${PORTVERSION}
+
+# Unfortunately, only some mirrors have it as a .bz2 file, while
+# the original master site still uses .gz.
+#USE_BZIP2= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+
+CONFIGURE_ARGS= --target=avr
+
+MAKE_FLAGS= LANGUAGES="c"
+
+MAN1= cccp.1 avr-gcc.1
+
+.include <bsd.port.mk>