aboutsummaryrefslogtreecommitdiffstats
path: root/devel/mspdebug/Makefile
blob: 30ffaf766c15eb947e70f794014eb6992684624c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Created by: Peter Jeremy <peterjeremy@acm.org>
# $FreeBSD$

PORTNAME=   mspdebug
PORTVERSION=    0.23.20151024
CATEGORIES= devel

MAINTAINER= peterjeremy@acm.org
COMMENT=    Debugger for use with MSP 430 MCUs

LICENSE=    GPLv2

USE_GITHUB= yes
GH_ACCOUNT= dlbeer
GH_TAGNAME= 38ea614

OPTIONS_DEFINE=     READLINE LIBMSP430
OPTIONS_DEFAULT=    READLINE LIBMSP430
LIBMSP430_DESC=     Use TI libmsp430 USB driver

READLINE_USES=      readline ncurses pkgconfig
READLINE_MAKE_ARGS_OFF= WITHOUT_READLINE=1

LIBMSP430_LIB_DEPENDS=  libmsp430.so:devel/msp430-debug-stack

USES=       gmake

PLIST_FILES=    bin/mspdebug \
        man/man1/mspdebug.1.gz \
        share/mspdebug/ti_3410.fw.ihex \
        share/mspdebug/ti_3410.fw.txt \
        share/doc/mspdebug/EmbeddedMode.txt \
        share/doc/mspdebug/README

post-patch:
    @${REINPLACE_CMD} -e 's|-ltermcap||' ${WRKSRC}/Makefile

.include <bsd.port.mk>