openbsd-ports/devel/mspdebug/Makefile
jasper 628f7cd63a import mspdebug 0.10
MSPDebug is a free debugger for use with MSP430 MCUs. It supports
FET430UIF, eZ430, RF2500 and Olimex MSP-JTAG-TINY programmers. It can be
used as a proxy for gdb or as an independent debugger with support for
programming, disassembly and reverse engineering.

With a patch from jakemsr@ to work around a ugen/libusb issue where
usb_bulk_read return 0 on timeout, which isn't deal with properly.

ok ajacoutot@
2010-12-02 10:35:04 +00:00

34 lines
708 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2010/12/02 10:35:04 jasper Exp $
COMMENT= debugger for use with MSP 430 MCUs
DISTNAME= mspdebug-0.10
CATEGORIES= devel
HOMEPAGE= http://mspdebug.sourceforge.net/
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mspdebug/}
WANTLIB += c readline termcap elf usb
LIB_DEPENDS= devel/libelf \
devel/libusb
USE_GMAKE= Yes
NO_REGRESS= Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mspdebug ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/mspdebug.man ${PREFIX}/man/man1/mspdebug.1
.include <bsd.port.mk>