diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 19:21:10 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 19:21:10 +0000 |
commit | 2ff2716acf781c9b1b039a6b95e38ecb3d95ed08 (patch) | |
tree | 49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/ipbt/Makefile | |
parent | b7a420b59c401cc1e9a58c6d5a9f19b4f93074f8 (diff) | |
download | pkgsrc-2ff2716acf781c9b1b039a6b95e38ecb3d95ed08.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/Makefile')
-rw-r--r-- | misc/ipbt/Makefile | 13 |
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" |