summaryrefslogtreecommitdiff
path: root/lang/wsbasic/Makefile
blob: eb30680e99c9f37d1091891edb70dd55c1be6645 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $NetBSD: Makefile,v 1.3 2005/12/13 12:15:16 ghen Exp $

DISTNAME=	wsbasic-1_2_5
PKGNAME=	${DISTNAME:S/_/./g}
CATEGORIES=	lang
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=wsbasic/}

MAINTAINER=	ghen@NetBSD.org
HOMEPAGE=	http://wsbasic.sourceforge.net/
COMMENT=	Simple BASIC interpreter

SUBST_CLASSES+=			interpreter
SUBST_STAGE.interpreter=	pre-install
SUBST_FILES.interpreter=	scripts/*.b
SUBST_SED.interpreter=		-e 's,^\#!\.\./wsbasic,\#!${PREFIX}/bin/wsbasic,'

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/wsbasic ${PREFIX}/bin/
	${INSTALL_SCRIPT_DIR} ${PREFIX}/share/wsbasic
	${INSTALL_SCRIPT} ${WRKSRC}/scripts/*.b ${PREFIX}/share/wsbasic/
	${INSTALL_DATA} ${WRKSRC}/scripts/*.txt ${PREFIX}/share/wsbasic/

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