summaryrefslogtreecommitdiff
path: root/lang/baci/Makefile
blob: e13204a08f2c7aa575985585ac91fc63fdf8fa56 (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
29
30
31
32
# $NetBSD: Makefile,v 1.18 2020/01/26 17:31:26 rillig Exp $

DISTNAME=	bacisrc
PKGNAME=	baci-20000725
CATEGORIES=	lang
MASTER_SITES=	${MASTER_SITE_BACKUP}
DISTFILES=	bacisrc.tar.gz \
		bacidoc.tar.gz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://inside.mines.edu/~tcamp/baci/baci_index.html
COMMENT=	Ben-Ari Concurrent Interpreter

USE_TOOLS+=	flex bison:run

INSTALLATION_DIRS=	bin

do-build:
	cd ${WRKSRC}/ccomp && ${MAKE}
	cd ${WRKSRC}/disasm && ${MAKE}
	cd ${WRKSRC}/interp && ${MAKE}
	cd ${WRKSRC}/pascomp && ${MAKE}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/ccomp/bacc ${DESTDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/disasm/badis ${DESTDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/interp/bainterp ${DESTDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/pascomp/bapas ${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/baci
	${INSTALL_DATA} ${WRKDIR}/bacidoc/* ${DESTDIR}${PREFIX}/share/doc/baci

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