pkgsrc/lang/siod/Makefile

36 lines
908 B
Makefile

# $NetBSD: Makefile,v 1.16 2006/06/19 02:28:52 rillig Exp $
DISTNAME= siod
PKGNAME= siod-3.0
PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ftp://ftp.std.com/pub/gjc/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://people.delphi.com/gjc/siod.html
COMMENT= Small-footprint implementation of the Scheme programming language
WRKSRC= ${WRKDIR}
MAKEFILE= makefile
BUILD_TARGET= ${OPSYS}
MAKE_ENV+= CC=${CC:Q}
CPPFLAGS+= -Dunix=1
REPLACE_INTERPRETER+= siod
REPLACE.siod.old= /usr/local/bin/siod
REPLACE.siod.new= ${PREFIX}/bin/siod
REPLACE_FILES.siod= *.scm
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
MAKE_ENV+= CPPFLAGS=
.endif
post-patch:
${MV} ${WRKSRC}/siod.man ${WRKSRC}/prefix-siod.man
${SED} -e 's|@PREFIX@|${PREFIX}|g' ${WRKSRC}/prefix-siod.man > ${WRKSRC}/siod.man
.include "../../databases/sdbm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"