summaryrefslogtreecommitdiff
path: root/misc/ipbt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/ipbt/Makefile')
-rw-r--r--misc/ipbt/Makefile30
1 files changed, 16 insertions, 14 deletions
diff --git a/misc/ipbt/Makefile b/misc/ipbt/Makefile
index c2936fc02f8..b79a35dd8f5 100644
--- a/misc/ipbt/Makefile
+++ b/misc/ipbt/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2008/03/04 19:21:11 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2009/12/06 23:32:56 dholland Exp $
#
-DISTNAME= ipbt-r7471
-PKGNAME= ipbt-7471
+DISTNAME= ipbt-r8765
+PKGNAME= ipbt-8765
CATEGORIES= misc
MASTER_SITES= http://www.chiark.greenend.org.uk/~sgtatham/ipbt/
@@ -12,23 +12,25 @@ COMMENT= High-tech ttyrec player
PKG_DESTDIR_SUPPORT= user-destdir
-USE_TOOLS+= perl
-BUILD_TARGET= ipbt
+USE_TOOLS+= perl
+REPLACE_PERL= ttydump ttygrep
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
-INCOMPAT_CURSES=NetBSD-*-*
+BUILD_TARGET= ipbt
-post-build:
- ${SED} -e "s,/usr/bin/perl,${PERL5}," \
- ${WRKSRC}/ttydump > ${WRKSRC}/ttydump.path
- ${SED} -e "s,/usr/bin/perl,${PERL5}," \
- ${WRKSRC}/ttygrep > ${WRKSRC}/ttygrep.path
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+# NetBSD's curses do not work
+USE_BUILTIN.ncursesw= no
+.endif
do-install:
${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
+ ${INSTALL_SCRIPT} ${WRKSRC}/ttydump ${DESTDIR}${PREFIX}/bin/ttydump
+ ${INSTALL_SCRIPT} ${WRKSRC}/ttygrep ${DESTDIR}${PREFIX}/bin/ttygrep
-.include "../../devel/ncurses/buildlink3.mk"
+.include "../../devel/ncursesw/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"