summaryrefslogtreecommitdiff
path: root/misc/xtail
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-04 16:47:05 +0000
committerjoerg <joerg>2010-02-04 16:47:05 +0000
commit65f2ad8d11f0f626f9cbf49e544b58d4d3296d6c (patch)
tree59ba22aeb60a5c1bb4a406c5919d9a2cf21525c4 /misc/xtail
parent07bc6cbe963874565111aab7092b2adff51296a6 (diff)
downloadpkgsrc-65f2ad8d11f0f626f9cbf49e544b58d4d3296d6c.tar.gz
DESTDIR support
Diffstat (limited to 'misc/xtail')
-rw-r--r--misc/xtail/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/misc/xtail/Makefile b/misc/xtail/Makefile
index 384e3364f82..fd465f111c6 100644
--- a/misc/xtail/Makefile
+++ b/misc/xtail/Makefile
@@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org
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"