summaryrefslogtreecommitdiff
path: root/lang/brandybasic/Makefile
blob: a0e4c113144e610417432ec80b394bfe6c3a3869 (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.19 2015/01/04 03:14:00 dholland 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

BROKEN_ON_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"