pkgsrc/lang/stalin/Makefile

34 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.10 2001/06/25 17:48:34 jtb Exp $
DISTNAME= stalin-0.9
CATEGORIES= lang
MASTER_SITES= ftp://ftp.nj.nec.com/pub/qobi/
EXTRACT_SUFX= .tgz
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.neci.nj.nec.com/homepages/qobi/software.html
COMMENT= Aggressively optimizing Scheme compiler
DEPENDS+= boehm-gc-*:../../devel/boehm-gc
USE_MESA= yes
post-patch:
${SED} -e 's:@PREFIX@:${PREFIX}:g' \
-e 's:@LOCALBASE@:${LOCALBASE}:g' \
-e 's:@X11BASE@:${X11BASE}:g' \
${FILESDIR}/stalin.sh > ${WRKSRC}/stalin.sh
do-install:
${INSTALL_PROGRAM_DIR} ${PREFIX}/lib/stalin
${INSTALL_PROGRAM} ${WRKSRC}/stalin ${PREFIX}/lib/stalin
${INSTALL_SCRIPT} ${WRKSRC}/stalin.sh ${PREFIX}/bin/stalin
${INSTALL_DATA} ${WRKSRC}/include/*.sc ${PREFIX}/lib/stalin
${INSTALL_DATA} ${WRKSRC}/libstalin.a ${PREFIX}/lib/stalin
${INSTALL_MAN} ${WRKSRC}/stalin.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/stalin
cd ${WRKSRC} && ${INSTALL_DATA} ANNOUNCEMENT COPYING README \
stalin.el ${PREFIX}/share/doc/stalin/
.include "../../mk/bsd.pkg.mk"