blob: 340840584a3240348d7afc04a8c7adbc2f5c2ee3 (
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
29
30
31
32
33
34
35
36
37
38
39
|
# $NetBSD: Makefile,v 1.7 2003/03/29 12:41:27 jmmv Exp $
DISTNAME= mzscheme.src.unix
PKGNAME= mzscheme-200
WRKSRC= ${WRKDIR}/plt/src/mzscheme
CATEGORIES= lang
MASTER_SITES= http://download.plt-scheme.org/bundles/200/mzscheme/
DIST_SUBDIR= ${PKGNAME_NOREV}
PKGREVISION= 1
MAINTAINER= pooka@netbsd.org
HOMEPAGE= http://www.plt-scheme.org/software/mzscheme/
COMMENT= R5RS-compliant scheme
CONFLICTS+= drscheme*:../drscheme
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ../configure
ONLY_FOR_PLATFORM= NetBSD-*-i386
post-patch:
@for patchee in ${WRKDIR}/plt/man/man1/mzscheme.1 \
${WRKDIR}/plt/collects/slibinit/init.ss ; do \
${MV} -f $$patchee ${WRKSRC}/foo ; \
${SED} -e 's@XXXPREFIXXXX@${PREFIX}@g' <${WRKSRC}/foo \
> $$patchee ; \
done
@${RM} -f ${WRKSRC}/foo
do-install:
@(cd ${WRKDIR}/plt/src/mzscheme/mzscheme ; ${MAKE} normal-install)
@${INSTALL_DATA_DIR} ${PREFIX}/include/mzscheme
@${INSTALL_DATA} ${WRKDIR}/plt/include/*.h ${PREFIX}/include/mzscheme
@${INSTALL_MAN} ${WRKDIR}/plt/man/man1/mzscheme.1 ${PREFIX}/man/man1
@([ -d ${PREFIX}/lib/plt ] || ${INSTALL_DATA_DIR} ${PREFIX}/lib/plt)
@${CP} -R ${WRKDIR}/plt/collects ${PREFIX}/lib/plt
.include "../../mk/bsd.pkg.mk"
|