summaryrefslogtreecommitdiff
path: root/lang/bwbasic/Makefile
blob: 0ee00fdfde146c8c54185efa0894f92d0df69edb (plain) (blame)
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
29
30
31
32
33
# New ports collection makefile for:	bwbasic
# Date created:		16 Jan 1997
# Whom:			msmith@gsoft.com.au
#
# $FreeBSD$
#

PORTNAME=	bwbasic
PORTVERSION=	2.20p2
CATEGORIES=	lang
MASTER_SITES=	ftp://ftp.rahul.net/pub2/rhn/www/files/
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	msmith@FreeBSD.org

GNU_CONFIGURE=	yes
WRKTOP=		${WRKDIR}/${DISTNAME}
WRKSUBDIR=	bwbasic-2.20
WRKSRC=		${WRKTOP}/${WRKSUBDIR}

pre-patch:
	cd ${WRKTOP} && ${MV} bwb-2.20-patch01/* ${WRKSUBDIR}
	cd ${WRKTOP} && ${MV} bwb-2.20-patch02/* ${WRKSUBDIR}

# This puts the documentation in ${PREFIX}/share/bwbasic, and the
# test programs in ${PREFIX}/share/bwbasic/bwbtest.

post-install:
	-${MKDIR} ${PREFIX}/share/bwbasic
	${CP} ${WRKSRC}/bwbasic.doc ${PREFIX}/share/bwbasic/
	${CP} -r ${WRKSRC}/bwbtest ${PREFIX}/share/bwbasic/

.include <bsd.port.mk>