summaryrefslogtreecommitdiff
path: root/lang/bwbasic/Makefile
blob: 0ba05c87485d9ed3541b01dc664563b13e5f1c4a (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
# $NetBSD: Makefile,v 1.16 2012/10/02 20:11:36 asau Exp $

DISTNAME=	bwbasic-2.50
CATEGORIES=	lang
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=bwbasic/}
EXTRACT_SUFX=	.zip

MAINTAINER=	jspath@bcpl.net
HOMEPAGE=	http://sourceforge.net/projects/bwbasic/
COMMENT=	The Bywater Basic interpreter
LICENSE=	gnu-gpl-v2

WRKSRC=		${WRKDIR}
GNU_CONFIGURE=	yes

SHARE_DIR=	${PREFIX}/share/bwbasic

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1 ${SHARE_DIR}

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

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