summaryrefslogtreecommitdiff
path: root/lang/brandybasic/Makefile
blob: 9b78675fc0112d5fae14e7ff8c8839752de042e7 (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
30
31
32
33
# $NetBSD: Makefile,v 1.18 2012/10/02 20:11:36 asau Exp $
#

DISTNAME=	b116
PKGNAME=	brandybasic-1.0.16
PKGREVISION=	1
CATEGORIES=	lang
MASTER_SITES=	http://jaguar.orpheusweb.co.uk/
# http://jaguar.orpheusweb.co.uk/brandy_119.tgz
EXTRACT_SUFX=	.tgz

MAINTAINER=	abs@NetBSD.org
HOMEPAGE=	http://jaguar.orpheusweb.co.uk/branpage.html
COMMENT=	Brandy Basic V interpreter - Acorn ARM Computers BASIC dialect

NOT_FOR_PLATFORM=	SunOS-*-* # needs porting

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

USE_TOOLS+=		gtar
INSTALLATION_DIRS=	bin ${DOCDIR} ${EXAMPLEDIR}

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

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