2014-07-25 17:21:39 +02:00
|
|
|
# $NetBSD: Makefile,v 1.23 2014/07/25 15:21:39 jperkin Exp $
|
1999-08-06 11:43:30 +02:00
|
|
|
|
|
|
|
DISTNAME= siod
|
|
|
|
PKGNAME= siod-3.0
|
2012-10-21 13:39:12 +02:00
|
|
|
PKGREVISION= 2
|
1999-08-06 11:43:30 +02:00
|
|
|
CATEGORIES= lang
|
2011-03-11 13:55:09 +01:00
|
|
|
MASTER_SITES= # ftp://ftp.std.com/pub/gjc/
|
1999-08-06 11:43:30 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2001-06-22 16:00:19 +02:00
|
|
|
HOMEPAGE= http://people.delphi.com/gjc/siod.html
|
2001-02-17 10:06:56 +01:00
|
|
|
COMMENT= Small-footprint implementation of the Scheme programming language
|
1999-08-06 11:43:30 +02:00
|
|
|
|
2012-10-21 13:39:12 +02:00
|
|
|
CONFLICTS= siag-[0-9]*
|
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
2006-09-09 04:41:53 +02:00
|
|
|
MAKE_FILE= makefile
|
2008-08-28 15:15:27 +02:00
|
|
|
MAKE_JOBS_SAFE= no
|
2012-05-23 08:58:15 +02:00
|
|
|
BUILD_TARGET= ${OPSYS:S/Linux/linux/}
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_ENV+= CC=${CC:Q}
|
2002-08-12 18:21:12 +02:00
|
|
|
CPPFLAGS+= -Dunix=1
|
1999-08-06 11:43:30 +02:00
|
|
|
|
2014-07-25 17:21:39 +02:00
|
|
|
# XXX: cannot check as WRKSRC == WRKDIR so paths are stripped
|
|
|
|
CHECK_SHLIBS_SUPPORTED= no
|
|
|
|
|
2006-06-19 04:28:52 +02:00
|
|
|
REPLACE_INTERPRETER+= siod
|
|
|
|
REPLACE.siod.old= /usr/local/bin/siod
|
|
|
|
REPLACE.siod.new= ${PREFIX}/bin/siod
|
|
|
|
REPLACE_FILES.siod= *.scm
|
|
|
|
|
1999-08-06 11:43:30 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "SunOS"
|
|
|
|
MAKE_ENV+= CPPFLAGS=
|
|
|
|
.endif
|
|
|
|
|
1999-08-06 12:39:30 +02:00
|
|
|
post-patch:
|
|
|
|
${MV} ${WRKSRC}/siod.man ${WRKSRC}/prefix-siod.man
|
|
|
|
${SED} -e 's|@PREFIX@|${PREFIX}|g' ${WRKSRC}/prefix-siod.man > ${WRKSRC}/siod.man
|
|
|
|
|
2005-04-05 12:25:13 +02:00
|
|
|
.include "../../databases/sdbm/buildlink3.mk"
|
1999-08-06 11:43:30 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|