pkgsrc/lang/brandybasic/Makefile

33 lines
959 B
Makefile

# $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"