pkgsrc/lang/brandybasic/Makefile

25 lines
820 B
Makefile

# $NetBSD: Makefile,v 1.6 2004/01/20 12:19:16 agc Exp $
#
DISTNAME= b110
PKGNAME= brandybasic-1.0.10
CATEGORIES= lang
MASTER_SITES= http://www.argonet.co.uk/users/dave_daniels/
EXTRACT_SUFX= .tgz
MAINTAINER= abs
HOMEPAGE= http://www.argonet.co.uk/users/dave_daniels/
COMMENT= Brandy Basic V interpreter - Acorn ARM Computers BASIC dialect
WRKSRC= ${WRKDIR}/brandy-1.0.10
DOCDIR= ${PREFIX}/share/doc/brandy
EXAMPLEDIR= ${PREFIX}/share/examples/brandy
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"