aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2002-11-06 18:18:28 +0800
committerjkoshy <jkoshy@FreeBSD.org>2002-11-06 18:18:28 +0800
commit6ce6c8ae7ea2b4e1d393c69d7df9e65edbff7df5 (patch)
treed9fd68d2d4c2fd7dba229340e443aa1470d04deb /devel
parentf11ccbc96f57ed7a786c15b655a20ee5455e9162 (diff)
downloadfreebsd-ports-gnome-6ce6c8ae7ea2b4e1d393c69d7df9e65edbff7df5.tar.gz
freebsd-ports-gnome-6ce6c8ae7ea2b4e1d393c69d7df9e65edbff7df5.tar.zst
freebsd-ports-gnome-6ce6c8ae7ea2b4e1d393c69d7df9e65edbff7df5.zip
GDB support for the Texas Instruments MSP430 architecture.
PR: ports/44141 Submitted by: Lev A. Serbryakov <lev@serebryakov.spb.ru>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/msp430-gdb/Makefile51
-rw-r--r--devel/msp430-gdb/distinfo2
-rw-r--r--devel/msp430-gdb/pkg-comment1
-rw-r--r--devel/msp430-gdb/pkg-descr10
-rw-r--r--devel/msp430-gdb/pkg-plist5
6 files changed, 70 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 528c69970670..b6a0e0ecff8f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -376,6 +376,7 @@
SUBDIR += mprof
SUBDIR += msp430-binutils
SUBDIR += msp430-gcc
+ SUBDIR += msp430-gdb
SUBDIR += msrc0
SUBDIR += nana
SUBDIR += nasm
diff --git a/devel/msp430-gdb/Makefile b/devel/msp430-gdb/Makefile
new file mode 100644
index 000000000000..6405c3a2c572
--- /dev/null
+++ b/devel/msp430-gdb/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: msp430-gdb
+# Date created: 16 October 2002
+# Whom: Lev Serebryakov <lev@serebryakov.spb.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gdb
+PORTVERSION= ${GDBVERSION}.${PATCHVERSION}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
+ http://lev.serebryakov.spb.ru/download/msp430/:patches
+MASTER_SITE_SUBDIR= ${PORTNAME}/old-releases
+PKGNAMEPREFIX= msp430-
+DISTFILES= ${PORTNAME}-${GDBVERSION}${EXTRACT_SUFX} \
+ ${PKGNAMEPREFIX}${PORTNAME}-${GDBVERSION}.${PATCHVERSION}${EXTRACT_SUFX}:patches
+
+MAINTAINER= lev@serebryakov.spb.ru
+
+GDBVERSION= 5.1.1
+PATCHVERSION= 20021016
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${GDBVERSION}
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+CONFIGURE_ARGS= --target=${PKGNAMEPREFIX:S/-$//}
+MAKE_ENV= PATH=${PREFIX}/bin:${PATH}
+LIBTOOLFILES= configure opcodes/configure bfd/configure
+MAN1= ${PKGNAMEPREFIX}gdb.1 ${PKGNAMEPREFIX}run.1
+
+PLIST_SUB+= PORTVERSION=${PORTVERSION} GDB_TARG=${PKGNAMEPREFIX:S/-$//} \
+ GDB_REV=${GDBVERSION}
+
+BINARIES = gdb:gdb run:sim/msp430
+MANPAGES = gdb.1:gdb run.1:sim/common
+
+do-install:
+ @${MKDIR} ${PREFIX}/${PKGNAMEPREFIX:S/-$//}/bin
+.for F in ${BINARIES}
+ ${INSTALL_PROGRAM} ${WRKSRC}/${F:C/^.+://}/${F:C/:.+$//} ${PREFIX}/bin/${PKGNAMEPREFIX}${F:C/:.+$//}
+ @${LN} -f ${PREFIX}/bin/${PKGNAMEPREFIX}${F:C/:.+$//} \
+ ${PREFIX}/${PKGNAMEPREFIX:S/-$//}/bin/${F:C/:.+$//}
+.endfor
+.for F in ${MANPAGES}
+ ${INSTALL_MAN} ${WRKSRC}/${F:C/^.+://}/${F:C/:.+$//} ${PREFIX}/man/man${F:C/^.+\.([0-9]).+$/\1/}/${PKGNAMEPREFIX}${F:C/:.+$//}
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/sim/msp430/libsim.a ${PREFIX}/lib/libmsp430-sim.a
+
+.include <bsd.port.mk>
diff --git a/devel/msp430-gdb/distinfo b/devel/msp430-gdb/distinfo
new file mode 100644
index 000000000000..6b07c602ea73
--- /dev/null
+++ b/devel/msp430-gdb/distinfo
@@ -0,0 +1,2 @@
+MD5 (gdb-5.1.1.tar.bz2) = ad07a75320fd04fa4f80ac0f38cbd2eb
+MD5 (msp430-gdb-5.1.1.20021016.tar.bz2) = bb420ac44c9864e026128c4591aef63e
diff --git a/devel/msp430-gdb/pkg-comment b/devel/msp430-gdb/pkg-comment
new file mode 100644
index 000000000000..3431e8ab86b4
--- /dev/null
+++ b/devel/msp430-gdb/pkg-comment
@@ -0,0 +1 @@
+FSF gdb-5.1.1 for TI's msp430 MCUs cross-development
diff --git a/devel/msp430-gdb/pkg-descr b/devel/msp430-gdb/pkg-descr
new file mode 100644
index 000000000000..95eb05502e14
--- /dev/null
+++ b/devel/msp430-gdb/pkg-descr
@@ -0,0 +1,10 @@
+FSF gdb-5.1.1 for TI's msp430 MCUs cross-development
+
+This brings the gdb cdebugger for the Texas Instruments MSP430 16-bit
+RISC-like family of microcontrollers.
+
+This debugger contains built-in simulator for MSP430 ALU.
+
+MSP430 site: http://www.ti.com/msp430/
+
+WWW: http://mspgcc.sf.net/
diff --git a/devel/msp430-gdb/pkg-plist b/devel/msp430-gdb/pkg-plist
new file mode 100644
index 000000000000..e79df8f22a88
--- /dev/null
+++ b/devel/msp430-gdb/pkg-plist
@@ -0,0 +1,5 @@
+bin/%%GDB_TARG%%-gdb
+bin/%%GDB_TARG%%-run
+%%GDB_TARG%%/bin/gdb
+%%GDB_TARG%%/bin/run
+lib/lib%%GDB_TARG%%-sim.a