pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/nvi-m17n Add DESTDIR to install target - not s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f8b7bbd6f59c
branches:  trunk
changeset: 568766:f8b7bbd6f59c
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Dec 17 22:12:49 2009 +0000

description:
Add DESTDIR to install target - not sufficient for PKG_DESTDIR_SUPPORT

diffstat:

 editors/nvi-m17n/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r 9fdc6f7cf4d0 -r f8b7bbd6f59c editors/nvi-m17n/Makefile
--- a/editors/nvi-m17n/Makefile Thu Dec 17 22:12:08 2009 +0000
+++ b/editors/nvi-m17n/Makefile Thu Dec 17 22:12:49 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2007/11/28 11:40:35 obache Exp $
+# $NetBSD: Makefile,v 1.42 2009/12/17 22:12:49 abs Exp $
 
 DISTNAME=      nvi-1.79
 PKGNAME=       nvi-m17n-1.79.20040401
@@ -70,11 +70,11 @@
 
 post-install:
 .for encoding in ${ENCODINGS}
-       ${INSTALL_SCRIPT} ${WRKDIR}/nvi-${encoding} ${PREFIX}/bin
+       ${INSTALL_SCRIPT} ${WRKDIR}/nvi-${encoding} ${DESTDIR}${PREFIX}/bin
 .endfor
        ${INSTALL_DATA} ${WRKSRC}/README.english \
-               ${PREFIX}/share/vi/
+               ${DESTDIR}${PREFIX}/share/vi/
        ${INSTALL_DATA} ${WRKSRC}/README.japanese \
-               ${PREFIX}/share/vi/
+               ${DESTDIR}${PREFIX}/share/vi/
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index