pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/texi2roff DESTDIR support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cbe4bf79f2ee
branches:  trunk
changeset: 556603:cbe4bf79f2ee
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Mar 23 00:32:10 2009 +0000

description:
DESTDIR support

diffstat:

 textproc/texi2roff/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r d761b5ddaf08 -r cbe4bf79f2ee textproc/texi2roff/Makefile
--- a/textproc/texi2roff/Makefile       Mon Mar 23 00:31:15 2009 +0000
+++ b/textproc/texi2roff/Makefile       Mon Mar 23 00:32:10 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2007/01/07 09:14:14 rillig Exp $
+# $NetBSD: Makefile,v 1.10 2009/03/23 00:32:10 joerg Exp $
 
 DISTNAME=              texi2roff-2.0
 CATEGORIES=            textproc
@@ -8,11 +8,13 @@
 HOMEPAGE=              http://texinfo.org/texi2roff/
 COMMENT=               Texinfo-to-ROFF direct translator
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 BUILD_TARGET=
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/texi2roff ${PREFIX}/bin
-       ${INSTALL_MAN} ${WRKSRC}/texi2roff.1 ${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_PROGRAM} ${WRKSRC}/texi2roff ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/texi2roff.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index