pkgsrc/lang/baci/Makefile
jlam 8216d744ac Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-04 16:38:11 +00:00

37 lines
1,021 B
Makefile

# $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"