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/vscm | |
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/vscm')
-rw-r--r-- | lang/vscm/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/lang/vscm/Makefile b/lang/vscm/Makefile index bc60ca0dc4c..f6da3eb09d2 100644 --- a/lang/vscm/Makefile +++ b/lang/vscm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2006/03/04 21:29:57 jlam Exp $ +# $NetBSD: Makefile,v 1.16 2008/03/04 16:38:13 jlam Exp $ DISTNAME= vscmV0r4 PKGNAME= vscm-0.4 @@ -13,6 +13,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.cs.princeton.edu/~blume/vscm/ COMMENT= Portable scheme implementation +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake INSTALLATION_DIRS= bin @@ -21,11 +23,12 @@ post-patch: ${SED} -e "s,@PREFIX@,${PREFIX}," ${FILESDIR}/path.h >${WRKSRC}/path.h do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/vscm ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/lib/vscm - ${INSTALL_DATA} ${WRKSRC}/.scheme-boot ${PREFIX}/lib/vscm/vscm-boot - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vscm + ${INSTALL_PROGRAM} ${WRKSRC}/vscm ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/vscm + ${INSTALL_DATA} ${WRKSRC}/.scheme-boot \ + ${DESTDIR}${PREFIX}/lib/vscm/vscm-boot + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/vscm cd ${WRKSRC} && ${INSTALL_DATA} README INSTALL DESCRIPTION \ - ${PREFIX}/share/doc/vscm + ${DESTDIR}${PREFIX}/share/doc/vscm .include "../../mk/bsd.pkg.mk" |