diff options
author | heinz <heinz@pkgsrc.org> | 2008-01-03 23:18:07 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2008-01-03 23:18:07 +0000 |
commit | 61c20d526b2eae122d1ad13dce73aabd16b8da45 (patch) | |
tree | 170b0519d8968570a623ea56286e87d7e7634aec /editors | |
parent | 123c513c269160fb33775fd71e82627afa6ce3af (diff) | |
download | pkgsrc-61c20d526b2eae122d1ad13dce73aabd16b8da45.tar.gz |
Added support for installation to DESTDIR.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/vim/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile index ad930b30d86..10ab8794f50 100644 --- a/editors/vim/Makefile +++ b/editors/vim/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.65 2006/03/02 10:41:41 martti Exp $ +# $NetBSD: Makefile,v 1.66 2008/01/03 23:20:50 heinz Exp $ PKGNAME= vim-${VIM_VERSION}.${VIM_PATCHLEVEL} #PKGREVISION= 1 COMMENT= Vim editor (vi clone) without GUI +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../editors/vim-share/Makefile.common" DEPENDS+= vim-share-${VIM_VERSION}.${VIM_PATCHLEVEL}{,nb*}:../../editors/vim-share @@ -21,8 +23,8 @@ TEST_TARGET= check post-install: .for f in rvim rview - ${RM} -f ${PREFIX:Q}/bin/${f:Q} - ${LN} -s vim ${PREFIX:Q}/bin/${f:Q} + ${RM} -f ${DESTDIR:Q}${PREFIX:Q}/bin/${f:Q} + ${LN} -s vim ${DESTDIR:Q}${PREFIX:Q}/bin/${f:Q} .endfor .include "../../devel/ncurses/buildlink3.mk" |