1 # $NetBSD: Makefile,v 1.14 2012/06/23 21:17:17 dholland Exp $
3 DISTNAME
= umb-scheme-3.2
6 MASTER_SITES
= ftp
://ftp.cs.umb.edu
/pub
/scheme
/
9 MAINTAINER
= pkgsrc-users@NetBSD.org
10 COMMENT
= UMB Scheme interpreter
12 WRKSRC
= ${WRKDIR}/scheme-3.2
14 INSTALLATION_DIRS
= bin
${PKGMANDIR}/man1
17 ${MV} ${WRKSRC}/scheme
.1 ${WRKSRC}/scheme
.1.
dist
18 ${SED} -e
's:\$$::g' ${WRKSRC}/scheme
.1.
dist > ${WRKSRC}/scheme
.1.tmp
21 ${SED} -e
"s,@PREFIX@,${PREFIX}," ${FILESDIR}/path.h
>${WRKSRC}/path.h
22 ${SED} -e
"s,@PREFIX@,${PREFIX}," ${WRKSRC}/scheme
.1.tmp \
24 ${MV} ${WRKSRC}/prelude.scheme
${WRKSRC}/prelude.scheme.
dist
25 ${SED} -e
"s,@PREFIX@,${PREFIX}," ${WRKSRC}/prelude.scheme.
dist \
26 >${WRKSRC}/prelude.scheme
27 ${MV} ${WRKSRC}/SLIB-for-umb-scheme.init \
28 ${WRKSRC}/SLIB-for-umb-scheme.init.
dist
29 ${SED} -e
"s,@PREFIX@,${PREFIX}," \
30 ${WRKSRC}/SLIB-for-umb-scheme.init.
dist \
31 >${WRKSRC}/SLIB-for-umb-scheme.init
34 ${INSTALL_PROGRAM} ${WRKSRC}/umb-scheme
${DESTDIR}${PREFIX}/bin
35 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share
/umb-scheme
36 ${INSTALL_DATA} ${WRKSRC}/prelude.scheme \
37 ${DESTDIR}${PREFIX}/share
/umb-scheme
38 ${INSTALL_DATA} ${WRKSRC}/SLIB-for-umb-scheme.init \
39 ${DESTDIR}${PREFIX}/share
/umb-scheme
40 ${INSTALL_MAN} ${WRKSRC}/scheme
.1 \
41 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
/umb-scheme
.1
42 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share
/umb-scheme
/slib
43 ${INSTALL_DATA} ${WRKSRC}/slib
/*.scm \
44 ${DESTDIR}${PREFIX}/share
/umb-scheme
/slib
46 .
include "../../mk/bsd.pkg.mk"