summaryrefslogtreecommitdiff
path: root/misc/ipbt
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 19:21:10 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 19:21:10 +0000
commit39843c2c61acd3e8f1b7d0fa6eb0f76884067d10 (patch)
tree49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/ipbt
parent0523c1825d9b781d6f10c2ef70daf0a164e0f142 (diff)
downloadpkgsrc-39843c2c61acd3e8f1b7d0fa6eb0f76884067d10.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"