blob: c0139c6e862eae2e960f1b1402d1caad71eaa8e1 (
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
|
# $NetBSD: Makefile,v 1.5 2008/01/04 12:17: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
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c++
REPLACE_INTERPRETER+= wsbasic
REPLACE.wsbasic.old= \.\./wsbasic
REPLACE.wsbasic.new= ${PREFIX}/bin/wsbasic
REPLACE_FILES.wsbasic= ${WRKSRC}/scripts/*
INSTALLATION_DIRS= bin share/wsbasic
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wsbasic ${DESTDIR}${PREFIX}/bin/
${INSTALL_SCRIPT} ${WRKSRC}/scripts/*.b ${DESTDIR}${PREFIX}/share/wsbasic/
${INSTALL_DATA} ${WRKSRC}/scripts/*.txt ${DESTDIR}${PREFIX}/share/wsbasic/
.include "../../mk/bsd.pkg.mk"
|