summaryrefslogtreecommitdiff
path: root/lang/baci/Makefile
blob: 703c05b60707a26310d73fd4e6589727e15d5eaf (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
# $NetBSD: Makefile,v 1.3 2000/10/21 22:42:46 wiz Exp $
#

DISTNAME=	bacisrc
PKGNAME=	baci-20000725
CATEGORIES=	lang
MASTER_SITES=	http://www.mines.edu/fs_home/tcamp/baci/
DISTFILES=	bacisrc.tar.gz \
		bacidoc.tar.gz

MAINTAINER=	wulf@netbsd.org
HOMEPAGE=	http://www.mines.edu/fs_home/tcamp/baci/

DEPENDS+=	bison-*:../../devel/bison

PLIST_SRC=      ${WRKDIR}/PLIST

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

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