pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/xtail DESTDIR support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/20053fff9e26
branches:  trunk
changeset: 570892:20053fff9e26
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Feb 04 16:47:05 2010 +0000

description:
DESTDIR support

diffstat:

 misc/xtail/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 79bed6a65cce -r 20053fff9e26 misc/xtail/Makefile
--- a/misc/xtail/Makefile       Thu Feb 04 16:45:50 2010 +0000
+++ b/misc/xtail/Makefile       Thu Feb 04 16:47:05 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2006/03/04 21:30:13 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2010/02/04 16:47:05 joerg Exp $
 #
 
 DISTNAME=      xtail-2.1
@@ -9,6 +9,14 @@
 HOMEPAGE=      http://www.unicom.com/sw/xtail/
 COMMENT=       Like "tail -f" on a bunch of files at once
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE= YES
 
+INSTALLATION_DIRS+=    bin ${PKGMANDIR}/man1
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/xtail ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/xtail.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index