summaryrefslogtreecommitdiff
path: root/lang/baci/Makefile
blob: 74bed46f4efd9097ee7e25de7d4ae3a67b686d7a (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
33
34
35
36
37
38
# $NetBSD: Makefile,v 1.12 2007/02/22 19:26:37 wiz Exp $
#

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

MAINTAINER=	wulf@NetBSD.org
HOMEPAGE=	http://www.mines.edu/fs_home/tcamp/baci/
COMMENT=	Ben-Ari Concurrent Interpreter

DEPENDS+=	bison-[0-9]*:../../devel/bison

USE_TOOLS+=	flex

PLIST_SRC=	${WRKDIR}/PLIST

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 ${PREFIX}/bin
		${INSTALL_PROGRAM} ${WRKSRC}/disasm/badis ${PREFIX}/bin
		${INSTALL_PROGRAM} ${WRKSRC}/interp/bainterp ${PREFIX}/bin
		${INSTALL_PROGRAM} ${WRKSRC}/pascomp/bapas ${PREFIX}/bin
		${INSTALL_DATA_DIR} ${PREFIX}/share/doc/baci
		${INSTALL_DATA} ${WRKDIR}/bacidoc/* ${PREFIX}/share/doc/baci
		${CP} ${PKGDIR}/PLIST ${WRKDIR}

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