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/minischeme | |
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/minischeme')
-rw-r--r-- | lang/minischeme/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lang/minischeme/Makefile b/lang/minischeme/Makefile index 66941c38288..5b432a464c2 100644 --- a/lang/minischeme/Makefile +++ b/lang/minischeme/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2006/03/04 21:29:55 jlam Exp $ +# $NetBSD: Makefile,v 1.8 2008/03/04 16:38:12 jlam Exp $ DISTNAME= minischeme PKGNAME= minischeme-0.85 @@ -8,16 +8,18 @@ MASTER_SITES= ftp://ftp.cs.indiana.edu/pub/scheme-repository/imp/ MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Very tiny scheme interpreter +PKG_DESTDIR_SUPPORT= user-destdir INSTALLATION_DIRS= bin post-extract: ${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/miniscm ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/minischeme + ${INSTALL_PROGRAM} ${WRKSRC}/miniscm ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/minischeme for i in init.scm nextleaf.scm tools.scm; do \ - ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/minischeme; \ + ${INSTALL_DATA} ${WRKSRC}/$$i \ + ${DESTDIR}${PREFIX}/share/minischeme; \ done .include "../../mk/bsd.pkg.mk" |