summaryrefslogtreecommitdiff
path: root/lang/bwbasic/Makefile
blob: 60b33c22c6be90afc59278b6e0a19a92578a0cbf (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.6 2004/01/20 12:19:16 agc 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 | ${XARGS} ${CHMOD} ${BINMODE}
	${FIND} ${SHARE_DIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
	${INSTALL_MAN} ${WRKSRC}/bwbasic.doc ${PREFIX}/man/man1/bwbasic.1

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