pkgsrc/lang/baci/Makefile
hans 7d9c271160 Convert the remaining few packages that explicitly set DEPENDS or
BUILD_DEPENDS on bison to USE_TOOLS=bison. The minimum bison version
required in mk/tools/bison.mk is good enough for all of them.
2012-01-14 00:51:36 +00:00

35 lines
997 B
Makefile

# $NetBSD: Makefile,v 1.15 2012/01/14 00:51:36 hans 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= http://www.mines.edu/fs_home/tcamp/baci/
COMMENT= Ben-Ari Concurrent Interpreter
PKG_DESTDIR_SUPPORT= user-destdir
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"