summaryrefslogtreecommitdiff
path: root/lang/vscm/Makefile
blob: b033b9cae1244da7f0045dcd2046e4943502cba6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $NetBSD: Makefile,v 1.2 2000/11/17 13:59:50 wiz Exp $

DISTNAME=	vscmV0r4
PKGNAME=	vscm-0.4
CATEGORIES=	lang
MASTER_SITES=	ftp://ftp.cs.indiana.edu/pub/scheme-repository/imp/vscm/

PATCHFILES=	bugfix.txt
PATCH_SITES=	${MASTER_SITES}

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://www.cs.princeton.edu/~blume/vscm/

USE_GMAKE=	yes

post-patch:
	${SED} -e "s,@PREFIX@,${PREFIX}," <${FILESDIR}/path.h >${WRKSRC}/path.h

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/scheme ${PREFIX}/bin
	${MKDIR} ${PREFIX}/lib/vscm
	${INSTALL_DATA} ${WRKSRC}/.scheme-boot ${PREFIX}/lib/vscm/scheme-boot
	${MKDIR} ${PREFIX}/share/examples/vscm
	for i in README INSTALL DESCRIPTION; do \
		${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/examples/vscm; \
	done

.include "../../mk/bsd.pkg.mk"