From 9a92c338cbbe6a15bac7330c8774873010f83f07 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 4 Feb 2010 16:47:05 +0000 Subject: DESTDIR support --- misc/xtail/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'misc') 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" -- cgit v1.2.3