summaryrefslogtreecommitdiff
path: root/lang/bwbasic/Makefile
blob: c33d7d8127b487e7ff330dd6502182ec86cf009a (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
# $NetBSD: Makefile,v 1.7 2004/01/27 00:53:11 heinz Exp $

DISTNAME=	bwbasic-2.20
PKGREVISION=	1
CATEGORIES=	lang
MASTER_SITES=	ftp://ftp.rahul.net/pub/rhn/
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	jspath@bcpl.net
COMMENT=	The Bywater Basic interpreter

WRKSRC=		${WRKDIR}/bwbasic-2.20p2/${PKGNAME_NOREV}
DIST_SUBDIR=	${PKGNAME_NOREV}
GNU_CONFIGURE=	yes

SHARE_DIR=	${PREFIX}/share/bwbasic

post-install:
	${INSTALL_DATA_DIR} ${SHARE_DIR}
	${CP} -r ${WRKSRC}/bwbtest ${SHARE_DIR}
	${FIND} ${SHARE_DIR} -type d -print | ${XARGS} ${CHMOD} ${BINMODE}
	${FIND} ${SHARE_DIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE}
	${INSTALL_MAN} ${WRKSRC}/bwbasic.doc ${PREFIX}/man/man1/bwbasic.1

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