diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 16:38:11 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 16:38:11 +0000 |
commit | 8216d744ac7ee52a87a0c54540fc68d487f4ad1f (patch) | |
tree | 3b3e69289dd17a1030bb7365e1cb146dbfea41bd /lang/mit-scheme-bin/Makefile | |
parent | 642995a0c4f1913cc6893865f1f5905084199dc1 (diff) | |
download | pkgsrc-8216d744ac7ee52a87a0c54540fc68d487f4ad1f.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'lang/mit-scheme-bin/Makefile')
-rw-r--r-- | lang/mit-scheme-bin/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/lang/mit-scheme-bin/Makefile b/lang/mit-scheme-bin/Makefile index bcfa85b8925..9fa260069c5 100644 --- a/lang/mit-scheme-bin/Makefile +++ b/lang/mit-scheme-bin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2007/07/29 05:19:27 jlam Exp $ +# $NetBSD: Makefile,v 1.5 2008/03/04 16:38:12 jlam Exp $ # DISTNAME= mit-scheme-7.7.1-ix86-gnu-linux @@ -13,6 +13,8 @@ COMMENT= MIT/GNU Scheme (Linux binary) EMUL_PLATFORMS= linux-i386 EMUL_MODULES.linux= base +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} INSTALLATION_DIRS= bin libexec @@ -22,12 +24,12 @@ do-build: > ${WRKSRC}/bchscheme do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/bchscheme ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/scheme ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/bin/bchscheme ${PREFIX}/libexec - ${INSTALL_PROGRAM} ${WRKSRC}/bin/scheme ${PREFIX}/libexec - ${INSTALL_DATA_DIR} ${PREFIX}/lib/mit-scheme - cd ${WRKSRC}/lib && ${PAX} -rw mit-scheme ${PREFIX}/lib - ${RMDIR} ${PREFIX}/lib/mit-scheme/lib + ${INSTALL_SCRIPT} ${WRKSRC}/bchscheme ${DESTDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/scheme ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/bin/bchscheme ${DESTDIR}${PREFIX}/libexec + ${INSTALL_PROGRAM} ${WRKSRC}/bin/scheme ${DESTDIR}${PREFIX}/libexec + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/mit-scheme + cd ${WRKSRC}/lib && ${PAX} -rw mit-scheme ${DESTDIR}${PREFIX}/lib + ${RMDIR} ${DESTDIR}${PREFIX}/lib/mit-scheme/lib .include "../../mk/bsd.pkg.mk" |