summaryrefslogtreecommitdiff
path: root/misc/ipbt
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 19:21:10 +0000
committerjlam <jlam>2008-03-04 19:21:10 +0000
commitcfcb73a7daae0a4628a69e74119df08f06aea0a7 (patch)
tree49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/ipbt
parent75e62b0b49c3ce7b99b2416889b080608416d847 (diff)
downloadpkgsrc-cfcb73a7daae0a4628a69e74119df08f06aea0a7.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'misc/ipbt')
-rw-r--r--misc/ipbt/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/misc/ipbt/Makefile b/misc/ipbt/Makefile
index a3bd0b1bf32..c2936fc02f8 100644
--- a/misc/ipbt/Makefile
+++ b/misc/ipbt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/06/08 06:07:25 pooka Exp $
+# $NetBSD: Makefile,v 1.2 2008/03/04 19:21:11 jlam Exp $
#
DISTNAME= ipbt-r7471
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.chiark.greenend.org.uk/~sgtatham/ipbt/
COMMENT= High-tech ttyrec player
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= perl
BUILD_TARGET= ipbt
@@ -22,10 +24,11 @@ post-build:
${WRKSRC}/ttygrep > ${WRKSRC}/ttygrep.path
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ipbt ${PREFIX}/bin/ipbt
- ${INSTALL_MAN} ${WRKSRC}/ipbt.1 ${PREFIX}/${PKGMANDIR}/man1/ipbt.1
- ${INSTALL_SCRIPT} ${WRKSRC}/ttydump.path ${PREFIX}/bin/ttydump
- ${INSTALL_SCRIPT} ${WRKSRC}/ttygrep.path ${PREFIX}/bin/ttygrep
+ ${INSTALL_PROGRAM} ${WRKSRC}/ipbt ${DESTDIR}${PREFIX}/bin/ipbt
+ ${INSTALL_MAN} ${WRKSRC}/ipbt.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ipbt.1
+ ${INSTALL_SCRIPT} ${WRKSRC}/ttydump.path ${DESTDIR}${PREFIX}/bin/ttydump
+ ${INSTALL_SCRIPT} ${WRKSRC}/ttygrep.path ${DESTDIR}${PREFIX}/bin/ttygrep
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"