aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2002-11-06 10:16:08 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2002-11-06 10:16:08 +0000
commitd81276d5688bfe582582d88ca3e5f721d76fcd0c (patch)
tree21af000066e11c373e638c396a7532d833059f16 /devel
parent28e9f4e1d27f8fff4af1f4d52409836c5db9ddb9 (diff)
downloadports-d81276d5688bfe582582d88ca3e5f721d76fcd0c.tar.gz
ports-d81276d5688bfe582582d88ca3e5f721d76fcd0c.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/msp430-gcc/Makefile56
-rw-r--r--devel/msp430-gcc/distinfo2
-rw-r--r--devel/msp430-gcc/pkg-comment1
-rw-r--r--devel/msp430-gcc/pkg-descr11
-rw-r--r--devel/msp430-gcc/pkg-plist41
-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
11 files changed, 223 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 25f43aeb9a08..528c69970670 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -375,6 +375,7 @@
SUBDIR += motor
SUBDIR += mprof
SUBDIR += msp430-binutils
+ SUBDIR += msp430-gcc
SUBDIR += msrc0
SUBDIR += nana
SUBDIR += nasm
diff --git a/devel/msp430-gcc/Makefile b/devel/msp430-gcc/Makefile
new file mode 100644
index 000000000000..ade5fd816e06
--- /dev/null
+++ b/devel/msp430-gcc/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-gcc/distinfo b/devel/msp430-gcc/distinfo
new file mode 100644
index 000000000000..de6567ae7a7d
--- /dev/null
+++ b/devel/msp430-gcc/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-gcc/pkg-comment b/devel/msp430-gcc/pkg-comment
new file mode 100644
index 000000000000..015342042dc2
--- /dev/null
+++ b/devel/msp430-gcc/pkg-comment
@@ -0,0 +1 @@
+FSF gcc-3.2 for TI's msp430 MCUs cross-development
diff --git a/devel/msp430-gcc/pkg-descr b/devel/msp430-gcc/pkg-descr
new file mode 100644
index 000000000000..6b6fbcc50e6b
--- /dev/null
+++ b/devel/msp430-gcc/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-gcc/pkg-plist b/devel/msp430-gcc/pkg-plist
new file mode 100644
index 000000000000..00eec4aa877b
--- /dev/null
+++ b/devel/msp430-gcc/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
+
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
+