summaryrefslogtreecommitdiff
path: root/emulators/swarm/Makefile
blob: 4ffd0b4ec760f5e03c97f1a0621ae0a334356cb1 (plain)
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
# $NetBSD: Makefile,v 1.15 2008/03/03 19:21:38 jlam Exp $
#

DISTNAME=	swarm-0.61
CATEGORIES=	emulators
MASTER_SITES=	http://www.cl.cam.ac.uk/~mwd24/phd/bin/

MAINTAINER=	agc@NetBSD.org
HOMEPAGE=	http://www.cl.cam.ac.uk/~mwd24/phd/swarm.html
COMMENT=	Software arm7M core emulator

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=		${WRKDIR}/swarm
BUILD_DIRS=	src

USE_LANGUAGES=	c++

INSTALLATION_DIRS=	bin

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/swarm ${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/swarm
	${INSTALL_DATA} ${WRKSRC}/doc/swarm.pdf \
		${DESTDIR}${PREFIX}/share/doc/swarm

.include "../../mk/bsd.pkg.mk"