aboutsummaryrefslogtreecommitdiff
path: root/devel/mspdebug/Makefile
blob: 22b8b5bd3b2f1f59a1e442786081191d264e8737 (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
# New ports collection makefile for:	mspdebug
# Date created:				30 Jan 2011
# Whom:					Peter Jeremy <peterjeremy@acm.org>
#
# $FreeBSD$
#
# Based on the OpenBSD port by:		Jasper Lievisse Adriaanse <jasper@openbsd.org>

PORTNAME=		mspdebug
PORTVERSION=		0.13
CATEGORIES=		devel
MASTER_SITES=		SF/${PORTNAME}

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

LICENSE=		GPLv2

MAN1=			mspdebug.1
USE_GMAKE=		yes

PLIST_FILES=		bin/mspdebug

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 800069
LIB_DEPENDS+=		usb:${PORTSDIR}/devel/libusb
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/mspdebug ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/mspdebug.man ${PREFIX}/man/man1/mspdebug.1

.include <bsd.port.post.mk>