aboutsummaryrefslogtreecommitdiffstats
path: root/devel/msp430-gcc3
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2002-11-06 18:16:08 +0800
committerjkoshy <jkoshy@FreeBSD.org>2002-11-06 18:16:08 +0800
commitf11ccbc96f57ed7a786c15b655a20ee5455e9162 (patch)
tree3166f26eaee650630529f04427f27202d18ad57b /devel/msp430-gcc3
parentdb17f0c34dda887d5668341708c1a6b172dc656a (diff)
downloadfreebsd-ports-gnome-f11ccbc96f57ed7a786c15b655a20ee5455e9162.tar.gz
freebsd-ports-gnome-f11ccbc96f57ed7a786c15b655a20ee5455e9162.tar.zst
freebsd-ports-gnome-f11ccbc96f57ed7a786c15b655a20ee5455e9162.zip
GCC Cross compiler for the Texas Instruments MSP430 architecture.
PR: ports/44139 Submitted by: Lev A. Serbryakov <lev@serebryakov.spb.ru>
Diffstat (limited to 'devel/msp430-gcc3')
-rw-r--r--devel/msp430-gcc3/Makefile56
-rw-r--r--devel/msp430-gcc3/distinfo2
-rw-r--r--devel/msp430-gcc3/pkg-comment1
-rw-r--r--devel/msp430-gcc3/pkg-descr11
-rw-r--r--devel/msp430-gcc3/pkg-plist41
5 files changed, 111 insertions, 0 deletions
diff --git a/devel/msp430-gcc3/Makefile b/devel/msp430-gcc3/Makefile
new file mode 100644
index 000000000000..ade5fd816e06
--- /dev/null
+++ b/devel/msp430-gcc3/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: msp430-gcc
+# Date created: 15 October 2002
+# Whom: Lev Serebryakov <lev@serebryakov.spb.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gcc
+PORTVERSION= ${GCCVERSION}.${PATCHVERSION}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
+ http://lev.serebryakov.spb.ru/download/msp430/:patches/
+MASTER_SITE_SUBDIR= ${PORTNAME}/releases/${PORTNAME}-${GCCVERSION}
+PKGNAMEPREFIX= msp430-
+DISTFILES= ${PORTNAME}-core-${GCCVERSION}${EXTRACT_SUFX} \
+ ${PKGNAMEPREFIX}${PORTNAME}-${GCCVERSION}.${PATCHVERSION}${EXTRACT_SUFX}:patches
+
+MAINTAINER= lev@serebryakov.spb.ru
+
+BUILD_DEPENDS= ${PKGNAMEPREFIX}as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils \
+ ${PKGNAMEPREFIX}ld:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils
+RUN_DEPENDS= ${PKGNAMEPREFIX}as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils \
+ ${PKGNAMEPREFIX}ld:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils
+
+GCCVERSION= 3.2
+PATCHVERSION= 20021016
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${GCCVERSION}
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+CONFIGURE_ARGS= --target=${PKGNAMEPREFIX:S/-$//} \
+ --enable-languages=c
+MAKE_ENV= PATH=${PREFIX}/bin:${PATH}
+LIBTOOLFILES= configure gcc/configure
+MAN1= ${PKGNAMEPREFIX}gcc.1 cpp.1 gcov.1
+MAN7= fsf-funding.7 gfdl.7 gpl.7
+
+PLIST_SUB+= PORTVERSION=${PORTVERSION} GCC_TARG=${PKGNAMEPREFIX:S/-$//} \
+ GCC_REV=${GCCVERSION}
+
+BINARIES = gcc cpp
+
+post-configure:
+ @${PERL} -pi.bak -e 's,^(TARGET_CONFIGDIRS\s*=).+$$,\1,' ${WRKSRC}/Makefile
+ @${PERL} -pi.bak -e 's,^(install-info:),\1\ndonot-\1,' ${WRKSRC}/gcc/Makefile
+
+post-install:
+.for F in ${BINARIES}
+ @strip ${PREFIX}/bin/${PKGNAMEPREFIX}$F
+ @${LN} -f ${PREFIX}/bin/${PKGNAMEPREFIX}$F \
+ ${PREFIX}/${PKGNAMEPREFIX:S/-$//}/bin/$F
+.endfor
+
+.include <bsd.port.mk>
diff --git a/devel/msp430-gcc3/distinfo b/devel/msp430-gcc3/distinfo
new file mode 100644
index 000000000000..de6567ae7a7d
--- /dev/null
+++ b/devel/msp430-gcc3/distinfo
@@ -0,0 +1,2 @@
+MD5 (gcc-core-3.2.tar.bz2) = 237d1cd956518f89a618172467d97811
+MD5 (msp430-gcc-3.2.20021016.tar.bz2) = 2fcbacbb5214e68adbf2a1216a40f920
diff --git a/devel/msp430-gcc3/pkg-comment b/devel/msp430-gcc3/pkg-comment
new file mode 100644
index 000000000000..015342042dc2
--- /dev/null
+++ b/devel/msp430-gcc3/pkg-comment
@@ -0,0 +1 @@
+FSF gcc-3.2 for TI's msp430 MCUs cross-development
diff --git a/devel/msp430-gcc3/pkg-descr b/devel/msp430-gcc3/pkg-descr
new file mode 100644
index 000000000000..6b6fbcc50e6b
--- /dev/null
+++ b/devel/msp430-gcc3/pkg-descr
@@ -0,0 +1,11 @@
+FSF gcc-3.2 for TI's msp430 MCUs cross-development
+
+This brings the gcc compiler for the Texas Instruments MSP430 16-bit
+RISC-like family of microcontrollers.
+
+Includes only C compiler.
+
+GCC site: http://gcc.gnu.org/
+MSP430 site: http://www.ti.com/msp430/
+
+WWW: http://mspgcc.sf.net/
diff --git a/devel/msp430-gcc3/pkg-plist b/devel/msp430-gcc3/pkg-plist
new file mode 100644
index 000000000000..00eec4aa877b
--- /dev/null
+++ b/devel/msp430-gcc3/pkg-plist
@@ -0,0 +1,41 @@
+%%GCC_TARG%%/bin/cpp
+%%GCC_TARG%%/bin/gcc
+bin/%%GCC_TARG%%-cpp
+bin/%%GCC_TARG%%-gcc
+bin/%%GCC_TARG%%-gccbug
+bin/%%GCC_TARG%%-gcov
+lib/charset.alias
+lib/libiberty.a
+lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/cc1
+lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/collect2
+lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/cpp0
+lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/README
+lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/fixed
+lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/float.h
+lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/iso646.h
+lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/limits.h
+lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/stdarg.h
+lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/stdbool.h
+lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/stddef.h
+lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/syslimits.h
+lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/varargs.h
+lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/libgcc.a
+lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/msp1/libgcc.a
+lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/msp2/libgcc.a
+lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/specs
+lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/tradcpp0
+share/locale/da/LC_MESSAGES/gcc.mo
+share/locale/el/LC_MESSAGES/gcc.mo
+share/locale/es/LC_MESSAGES/gcc.mo
+share/locale/fr/LC_MESSAGES/gcc.mo
+share/locale/ja/LC_MESSAGES/gcc.mo
+share/locale/nl/LC_MESSAGES/gcc.mo
+share/locale/sv/LC_MESSAGES/gcc.mo
+share/locale/tr/LC_MESSAGES/gcc.mo
+@dirrm lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include
+@dirrm lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/msp1
+@dirrm lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/msp2
+@dirrm lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%
+@dirrm lib/gcc-lib/%%GCC_TARG%%
+@dirrm lib/gcc-lib
+