blob: 704554aed5f6d73687b9d7162508e83cfb4d05f3 (
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
|
# $NetBSD: Makefile,v 1.13 2008/03/04 16:38:11 jlam 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
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= flex
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"
|