2022-08-11 07:08:00 +02:00
|
|
|
# $NetBSD: Makefile,v 1.43 2022/08/11 05:08:55 gutteridge Exp $
|
2000-12-10 12:07:31 +01:00
|
|
|
|
2001-06-25 19:48:34 +02:00
|
|
|
DISTNAME= stalin-0.9
|
2022-08-11 07:08:00 +02:00
|
|
|
PKGREVISION= 10
|
2000-12-10 12:07:31 +01:00
|
|
|
CATEGORIES= lang
|
2012-01-04 01:58:36 +01:00
|
|
|
MASTER_SITES= ftp://ftp.ecn.purdue.edu/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
|
2012-01-04 01:58:36 +01:00
|
|
|
HOMEPAGE= http://cobweb.ecn.purdue.edu/~qobi/software.html
|
|
|
|
#HOMEPAGE+= https://github.com/barak/stalin
|
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
|
2007-09-23 17:30:23 +02:00
|
|
|
CPPFLAGS+= -I${BUILDLINK_PREFIX.boehm-gc}/include/gc
|
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:
|
2008-03-04 17:38:11 +01:00
|
|
|
${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/lib/stalin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/stalin ${DESTDIR}${PREFIX}/lib/stalin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/stalin.sh ${DESTDIR}${PREFIX}/bin/stalin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/include/*.sc ${DESTDIR}${PREFIX}/lib/stalin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libstalin.a ${DESTDIR}${PREFIX}/lib/stalin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/stalin.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/stalin
|
2001-06-25 19:48:34 +02:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ANNOUNCEMENT COPYING README \
|
2008-03-04 17:38:11 +01:00
|
|
|
stalin.el ${DESTDIR}${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"
|
2019-08-30 20:12:29 +02:00
|
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
|
|
.include "../../graphics/glu/buildlink3.mk"
|
2021-12-27 07:32:10 +01:00
|
|
|
.include "../../graphics/freeglut/buildlink3.mk"
|
2000-12-10 12:07:31 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|