aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2002-11-07 09:03:28 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2002-11-07 09:03:28 +0000
commit060ab004f2cbe69c0646f497f1727e7b68f02c3f (patch)
tree7dc45c4c8d6cce1391252685260c32ab55efa1f0 /devel
parentfd4b78651c6b5522b4a18ef9dc681b6944066788 (diff)
downloadports-060ab004f2cbe69c0646f497f1727e7b68f02c3f.tar.gz
ports-060ab004f2cbe69c0646f497f1727e7b68f02c3f.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/msp430-libc/Makefile36
-rw-r--r--devel/msp430-libc/distinfo1
-rw-r--r--devel/msp430-libc/pkg-comment1
-rw-r--r--devel/msp430-libc/pkg-descr10
-rw-r--r--devel/msp430-libc/pkg-plist116
6 files changed, 165 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index b6a0e0ecff8f..79adc1fea240 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -377,6 +377,7 @@
SUBDIR += msp430-binutils
SUBDIR += msp430-gcc
SUBDIR += msp430-gdb
+ SUBDIR += msp430-libc
SUBDIR += msrc0
SUBDIR += nana
SUBDIR += nasm
diff --git a/devel/msp430-libc/Makefile b/devel/msp430-libc/Makefile
new file mode 100644
index 000000000000..6fbab1f7fbe9
--- /dev/null
+++ b/devel/msp430-libc/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: msp430-libc
+# Date created: 15 October 2002
+# Whom: Lev Serebryakov <lev@serebryakov.spb.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libc
+PORTVERSION= 0.1.20021016
+CATEGORIES= devel
+MASTER_SITES= http://lev.serebryakov.spb.ru/download/msp430/
+PKGNAMEPREFIX= msp430-
+
+MAINTAINER= lev@serebryakov.spb.ru
+
+BUILD_DEPENDS= ${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}/src
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_REINPLACE= yes
+MAKE_ENV= PATH=${PREFIX}/bin:${PATH}
+
+PLIST_SUB+= LIBC_TARG=${PKGNAMEPREFIX:S/-$//}
+
+post-configure:
+ ${REINPLACE_CMD} "s|prefix = /usr/local/msp430|prefix = ${PREFIX}|" ${WRKSRC}/Makefile
+
+post-install:
+ @${MKDIR} ${PREFIX}/${PKGNAMEPREFIX:S/-$//}/share/mspgcc
+ @tar --exclude CVS -C ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME} -cf - examples doc | \
+ tar -xf - -C ${PREFIX}/${PKGNAMEPREFIX:S/-$//}/share/mspgcc
+
+.include <bsd.port.mk>
diff --git a/devel/msp430-libc/distinfo b/devel/msp430-libc/distinfo
new file mode 100644
index 000000000000..01fd10820312
--- /dev/null
+++ b/devel/msp430-libc/distinfo
@@ -0,0 +1 @@
+MD5 (libc-0.1.20021016.tar.bz2) = 0588d1b92316fa6ceb3639ce9e1b3292
diff --git a/devel/msp430-libc/pkg-comment b/devel/msp430-libc/pkg-comment
new file mode 100644
index 000000000000..398a42f4228c
--- /dev/null
+++ b/devel/msp430-libc/pkg-comment
@@ -0,0 +1 @@
+libc for TI's msp430 MCUs cross-development
diff --git a/devel/msp430-libc/pkg-descr b/devel/msp430-libc/pkg-descr
new file mode 100644
index 000000000000..8d71ed76bb93
--- /dev/null
+++ b/devel/msp430-libc/pkg-descr
@@ -0,0 +1,10 @@
+libc for TI's msp430 MCUs cross-development
+
+
+ This port installs libc, libm and some docs and examples.
+ Docs and examples could be found at ${PREFIX}/msp430/share/mspgcc
+
+GCC site: http://gcc.gnu.org/
+MSP430 site: http://www.ti.com/msp430/
+
+WWW: http://mspgcc.sf.net/
diff --git a/devel/msp430-libc/pkg-plist b/devel/msp430-libc/pkg-plist
new file mode 100644
index 000000000000..b37fe8c2c2c1
--- /dev/null
+++ b/devel/msp430-libc/pkg-plist
@@ -0,0 +1,116 @@
+%%LIBC_TARG%%/include/ctype.h
+%%LIBC_TARG%%/include/debug.h
+%%LIBC_TARG%%/include/errno.h
+%%LIBC_TARG%%/include/io.h
+%%LIBC_TARG%%/include/iomacros.h
+%%LIBC_TARG%%/include/limits.h
+%%LIBC_TARG%%/include/math.h
+%%LIBC_TARG%%/include/msp430/adc10.h
+%%LIBC_TARG%%/include/msp430/adc12.h
+%%LIBC_TARG%%/include/msp430/basic_clock.h
+%%LIBC_TARG%%/include/msp430/basic_timer.h
+%%LIBC_TARG%%/include/msp430/common.h
+%%LIBC_TARG%%/include/msp430/compa.h
+%%LIBC_TARG%%/include/msp430/eprom.h
+%%LIBC_TARG%%/include/msp430/flash.h
+%%LIBC_TARG%%/include/msp430/gpio.h
+%%LIBC_TARG%%/include/msp430/lcd.h
+%%LIBC_TARG%%/include/msp430/mpy.h
+%%LIBC_TARG%%/include/msp430/slopeadc.h
+%%LIBC_TARG%%/include/msp430/svs.h
+%%LIBC_TARG%%/include/msp430/system_clock.h
+%%LIBC_TARG%%/include/msp430/timer8.h
+%%LIBC_TARG%%/include/msp430/timera.h
+%%LIBC_TARG%%/include/msp430/timerb.h
+%%LIBC_TARG%%/include/msp430/timerport.h
+%%LIBC_TARG%%/include/msp430/usart.h
+%%LIBC_TARG%%/include/msp430x11x.h
+%%LIBC_TARG%%/include/msp430x11x1.h
+%%LIBC_TARG%%/include/msp430x12x.h
+%%LIBC_TARG%%/include/msp430x12x2.h
+%%LIBC_TARG%%/include/msp430x13x.h
+%%LIBC_TARG%%/include/msp430x14x.h
+%%LIBC_TARG%%/include/msp430x31x.h
+%%LIBC_TARG%%/include/msp430x32x.h
+%%LIBC_TARG%%/include/msp430x33x.h
+%%LIBC_TARG%%/include/msp430x41x.h
+%%LIBC_TARG%%/include/msp430x43x.h
+%%LIBC_TARG%%/include/msp430x44x.h
+%%LIBC_TARG%%/include/setjmp.h
+%%LIBC_TARG%%/include/signal.h
+%%LIBC_TARG%%/include/stdio.h
+%%LIBC_TARG%%/include/stdlib.h
+%%LIBC_TARG%%/include/string.h
+%%LIBC_TARG%%/include/sys/cdefs.h
+%%LIBC_TARG%%/include/sys/inttypes.h
+%%LIBC_TARG%%/include/sys/types.h
+%%LIBC_TARG%%/lib/crt430x110.o
+%%LIBC_TARG%%/lib/crt430x1101.o
+%%LIBC_TARG%%/lib/crt430x1111.o
+%%LIBC_TARG%%/lib/crt430x112.o
+%%LIBC_TARG%%/lib/crt430x1121.o
+%%LIBC_TARG%%/lib/crt430x122.o
+%%LIBC_TARG%%/lib/crt430x1222.o
+%%LIBC_TARG%%/lib/crt430x123.o
+%%LIBC_TARG%%/lib/crt430x1232.o
+%%LIBC_TARG%%/lib/crt430x133.o
+%%LIBC_TARG%%/lib/crt430x1331.o
+%%LIBC_TARG%%/lib/crt430x135.o
+%%LIBC_TARG%%/lib/crt430x1351.o
+%%LIBC_TARG%%/lib/crt430x147.o
+%%LIBC_TARG%%/lib/crt430x148.o
+%%LIBC_TARG%%/lib/crt430x149.o
+%%LIBC_TARG%%/lib/crt430x311.o
+%%LIBC_TARG%%/lib/crt430x312.o
+%%LIBC_TARG%%/lib/crt430x313.o
+%%LIBC_TARG%%/lib/crt430x314.o
+%%LIBC_TARG%%/lib/crt430x315.o
+%%LIBC_TARG%%/lib/crt430x323.o
+%%LIBC_TARG%%/lib/crt430x325.o
+%%LIBC_TARG%%/lib/crt430x336.o
+%%LIBC_TARG%%/lib/crt430x337.o
+%%LIBC_TARG%%/lib/crt430x412.o
+%%LIBC_TARG%%/lib/crt430x413.o
+%%LIBC_TARG%%/lib/crt430x435.o
+%%LIBC_TARG%%/lib/crt430x436.o
+%%LIBC_TARG%%/lib/crt430x437.o
+%%LIBC_TARG%%/lib/crt430x447.o
+%%LIBC_TARG%%/lib/crt430x448.o
+%%LIBC_TARG%%/lib/crt430x449.o
+%%LIBC_TARG%%/lib/libc.a
+%%LIBC_TARG%%/lib/libm.a
+%%LIBC_TARG%%/lib/msp1/libc.a
+%%LIBC_TARG%%/lib/msp1/libm.a
+%%LIBC_TARG%%/lib/msp2/libc.a
+%%LIBC_TARG%%/lib/msp2/libm.a
+%%LIBC_TARG%%/share/mspgcc/doc/FAQ
+%%LIBC_TARG%%/share/mspgcc/doc/devheaders.txt
+%%LIBC_TARG%%/share/mspgcc/doc/doc.txt
+%%LIBC_TARG%%/share/mspgcc/doc/volatil
+%%LIBC_TARG%%/share/mspgcc/examples/rawsources/README
+%%LIBC_TARG%%/share/mspgcc/examples/rawsources/flash.c
+%%LIBC_TARG%%/share/mspgcc/examples/rawsources/rand.c
+%%LIBC_TARG%%/share/mspgcc/examples/reed-solomon/README
+%%LIBC_TARG%%/share/mspgcc/examples/reed-solomon/nn4.c
+%%LIBC_TARG%%/share/mspgcc/examples/tcpip/README
+%%LIBC_TARG%%/share/mspgcc/examples/tcpip/cs8900.c
+%%LIBC_TARG%%/share/mspgcc/examples/tcpip/cs8900.h
+%%LIBC_TARG%%/share/mspgcc/examples/tcpip/easyweb.c
+%%LIBC_TARG%%/share/mspgcc/examples/tcpip/easyweb.h
+%%LIBC_TARG%%/share/mspgcc/examples/tcpip/tcpip.c
+%%LIBC_TARG%%/share/mspgcc/examples/tcpip/tcpip.h
+%%LIBC_TARG%%/share/mspgcc/examples/tcpip/webside.c
+@exec mkdir -p %D/%%LIBC_TARG%%/share/mspgcc/examples/adc
+@dirrm %%LIBC_TARG%%/include/msp430
+@dirrm %%LIBC_TARG%%/include/sys
+@dirrm %%LIBC_TARG%%/include
+@dirrm %%LIBC_TARG%%/lib/msp1
+@dirrm %%LIBC_TARG%%/lib/msp2
+@dirrm %%LIBC_TARG%%/share/mspgcc/doc
+@dirrm %%LIBC_TARG%%/share/mspgcc/examples/adc
+@dirrm %%LIBC_TARG%%/share/mspgcc/examples/rawsources
+@dirrm %%LIBC_TARG%%/share/mspgcc/examples/reed-solomon
+@dirrm %%LIBC_TARG%%/share/mspgcc/examples/tcpip
+@dirrm %%LIBC_TARG%%/share/mspgcc/examples
+@dirrm %%LIBC_TARG%%/share/mspgcc
+@unexec rmdir %D/%%LIBC_TARG%%/share 2>/dev/null || true