2007-09-23 16:34:38 +02:00
|
|
|
# $NetBSD: Makefile,v 1.30 2007/09/23 14:34:38 obache Exp $
|
2000-12-10 12:07:31 +01:00
|
|
|
|
2001-06-25 19:48:34 +02:00
|
|
|
DISTNAME= stalin-0.9
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 5
|
2000-12-10 12:07:31 +01:00
|
|
|
CATEGORIES= lang
|
2007-09-23 16:34:38 +02:00
|
|
|
MASTER_SITES= ftp://ftp.nj.nec.com/pub/qobi/
|
2001-06-25 19:48:34 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
2000-12-10 12:07:31 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2007-09-23 16:34:38 +02:00
|
|
|
HOMEPAGE= http://www.neci.nj.nec.com/homepages/qobi/software.html
|
2001-02-17 10:06:56 +01:00
|
|
|
COMMENT= Aggressively optimizing Scheme compiler
|
2000-12-10 12:07:31 +01:00
|
|
|
|
2002-01-27 01:38:56 +01:00
|
|
|
# Only ported to these 4 archs
|
|
|
|
ONLY_FOR_PLATFORM= *-*-i386 *-*-sparc *-*-alpha *-*-mips
|
|
|
|
|
2002-11-13 03:13:57 +01:00
|
|
|
UNLIMIT_RESOURCES= stacksize datasize
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if (${MACHINE_ARCH} == "sparc")
|
|
|
|
CFLAGS:= ${CFLAGS:C/-O[0-9]*/-O0/}
|
|
|
|
.endif
|
2000-12-10 12:07:31 +01:00
|
|
|
|
2007-01-07 10:13:46 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
2005-06-16 08:57:37 +02:00
|
|
|
|
2000-12-10 12:07:31 +01:00
|
|
|
post-patch:
|
2001-06-25 19:48:34 +02:00
|
|
|
${SED} -e 's:@PREFIX@:${PREFIX}:g' \
|
|
|
|
-e 's:@LOCALBASE@:${LOCALBASE}:g' \
|
|
|
|
-e 's:@X11BASE@:${X11BASE}:g' \
|
|
|
|
${FILESDIR}/stalin.sh > ${WRKSRC}/stalin.sh
|
2000-12-10 12:07:31 +01:00
|
|
|
|
|
|
|
do-install:
|
2001-06-25 19:48:34 +02:00
|
|
|
${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
|
2001-01-21 03:04:56 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/libstalin.a ${PREFIX}/lib/stalin
|
2007-01-07 10:13:46 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/stalin.1 ${PREFIX}/${PKGMANDIR}/man1
|
2001-06-25 19:48:34 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/stalin
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ANNOUNCEMENT COPYING README \
|
|
|
|
stalin.el ${PREFIX}/share/doc/stalin/
|
2000-12-10 12:07:31 +01:00
|
|
|
|
2004-04-28 07:06:28 +02:00
|
|
|
.include "../../devel/boehm-gc/buildlink3.mk"
|
|
|
|
.include "../../graphics/Mesa/buildlink3.mk"
|
2000-12-10 12:07:31 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|