diff options
author | jlam <jlam> | 2008-03-04 16:38:11 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-04 16:38:11 +0000 |
commit | 94625269680b5597c061a1e864b87074eff20b47 (patch) | |
tree | 3b3e69289dd17a1030bb7365e1cb146dbfea41bd /lang/minischeme | |
parent | a29ce4f7d451f2d5d4a2d323b35045448aa1d767 (diff) | |
download | pkgsrc-94625269680b5597c061a1e864b87074eff20b47.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" |