summaryrefslogtreecommitdiff
path: root/lang/brandybasic/Makefile
blob: 1d531a90897db6f721e1799f4fb12ca1723c2f69 (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
28
29
# $NetBSD: Makefile,v 1.11 2005/06/16 06:57:59 jlam Exp $
#

DISTNAME=	b116
PKGNAME=	brandybasic-1.0.16
CATEGORIES=	lang
MASTER_SITES=	http://www.argonet.co.uk/users/dave_daniels/
EXTRACT_SUFX=	.tgz

MAINTAINER=	abs@NetBSD.org
HOMEPAGE=	http://www.argonet.co.uk/users/dave_daniels/
COMMENT=	Brandy Basic V interpreter - Acorn ARM Computers BASIC dialect

WRKSRC=		${WRKDIR}/brandy-1.0.16
DOCDIR=		${PREFIX}/share/doc/brandy
EXAMPLEDIR=	${PREFIX}/share/examples/brandy
BUILD_TARGET=	nodebug

PKGSRC_USE_TOOLS+=	gtar
INSTALLATION_DIRS=	bin

do-install:
	${INSTALL_DATA_DIR} ${DOCDIR}
	${INSTALL_DATA_DIR} ${EXAMPLEDIR}
	cd ${WRKSRC}/docs && ${GTAR} -cf - `ls |grep -v .orig` | (cd ${DOCDIR} && tar xf -)
	cd ${WRKSRC}/examples && ${GTAR} -cf - [a-z]* | (cd ${EXAMPLEDIR} && tar xf -)
	${INSTALL_PROGRAM} ${WRKSRC}/brandy ${PREFIX}/bin/brandy

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