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 user-destdir support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2baa5f06f515
branches:  trunk
changeset: 572578:2baa5f06f515
user:      obache <obache%pkgsrc.org@localhost>
date:      Wed Mar 03 09:18:14 2010 +0000

description:
Add user-destdir support.

diffstat:

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

diffs (27 lines):

diff -r 1c5aa623b334 -r 2baa5f06f515 editors/nvi-m17n/Makefile
--- a/editors/nvi-m17n/Makefile Wed Mar 03 08:58:54 2010 +0000
+++ b/editors/nvi-m17n/Makefile Wed Mar 03 09:18:14 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2009/12/17 22:12:49 abs Exp $
+# $NetBSD: Makefile,v 1.43 2010/03/03 09:18:14 obache Exp $
 
 DISTNAME=      nvi-1.79
 PKGNAME=       nvi-m17n-1.79.20040401
@@ -15,6 +15,8 @@
 
 CONFLICTS=     vigor-[0-9]* nvi-[0-9]*
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 CONFIGURE_DIRS=        ${WRKSRC}/build
 GNU_CONFIGURE= YES
 
@@ -29,6 +31,8 @@
 USE_TOOLS+=    sh perl:run
 
 CPPFLAGS+=     -DGTAGS
+INSTALL_MAKE_FLAGS+=   prefix=${DESTDIR}${PREFIX}
+INSTALL_MAKE_FLAGS+=   mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
 
 .include "options.mk"
 



Home | Main Index | Thread Index | Old Index