summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authortnn <tnn>2009-02-17 10:08:15 +0000
committertnn <tnn>2009-02-17 10:08:15 +0000
commit976eb4d57f390c22cf481c2ca544ed3f9e2a74fc (patch)
tree51c13198fb26f52789dcc5b76183f2e64781ffaf /misc
parentb35deb32e1f9bb484715fb36af3dd3878cdddb82 (diff)
downloadpkgsrc-976eb4d57f390c22cf481c2ca544ed3f9e2a74fc.tar.gz
Update to dvtm-0.5.1 (patch from maintainer in private mail)
Plain ncurses doesn't seem to be supported anymore, so switch over to use ncursesw by default and remove the corresponding PKG_OPTION. 0.5.1 changes: o Compile fix for missing set_escdelay function o Correct escape codes for HOME / END keys o The Makefile links against libncursesw by default, make unicode is gone 0.5 changes: o Scrollback support o 256 color support o Reduced latency on some keystrokes (lower $ESCDELAY value by default) o Statusbar should now support wide characters o $DVTM environment variable which is set to the current version o Screen lock functionality with Mod+X o Support for shifted arrow keys o Mod+? now displays the dvtm man page o Cygwin compile fix o Code cleanups and shrinkage by adding lots of static modifiers o Top stack layout (not compiled in by default) o Scripting interface over a named pipe (not compiled in by default)
Diffstat (limited to 'misc')
-rw-r--r--misc/dvtm/Makefile12
-rw-r--r--misc/dvtm/distinfo10
-rw-r--r--misc/dvtm/patches/patch-aa13
3 files changed, 19 insertions, 16 deletions
diff --git a/misc/dvtm/Makefile b/misc/dvtm/Makefile
index bed01263ff0..83fc1d334c1 100644
--- a/misc/dvtm/Makefile
+++ b/misc/dvtm/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2008/05/25 11:46:33 tnn Exp $
+# $NetBSD: Makefile,v 1.3 2009/02/17 10:08:15 tnn Exp $
#
-DISTNAME= dvtm-0.4.1
+DISTNAME= dvtm-0.5.1
CATEGORIES= misc
MASTER_SITES= http://www.brain-dump.org/projects/dvtm/
@@ -11,12 +11,13 @@ COMMENT= Dynamic virtual terminal manager
PKG_DESTDIR_SUPPORT= user-destdir
-USE_LANGUAGES= c99
NO_CONFIGURE= yes
+USE_LANGUAGES= c99
+USE_NCURSES= yes
SUBST_CLASSES+= makefile
SUBST_STAGE.makefile= pre-build
-SUBST_MESSAGE.makefile= Fixing config.mk...
+SUBST_MESSAGE.makefile= Fixing config.mk
SUBST_FILES.makefile= config.mk
SUBST_SED.makefile+= -e 's,/usr/local,${PREFIX},g'
SUBST_SED.makefile+= -e 's,share/man,${PKGMANDIR},g'
@@ -26,6 +27,5 @@ SUBST_SED.makefile+= -e 's/cc/${CC:Q}/'
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
-.include "options.mk"
-
+.include "../../devel/ncursesw/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/misc/dvtm/distinfo b/misc/dvtm/distinfo
index db3536fd811..0a1fcd87a09 100644
--- a/misc/dvtm/distinfo
+++ b/misc/dvtm/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2008/05/25 11:46:33 tnn Exp $
+$NetBSD: distinfo,v 1.3 2009/02/17 10:08:15 tnn Exp $
-SHA1 (dvtm-0.4.1.tar.gz) = 44e032d6f4334ce0dfe92cc0121c6cb46d2d95bb
-RMD160 (dvtm-0.4.1.tar.gz) = bfaf0869c74bf180da1e13ba35a87c68844799a5
-Size (dvtm-0.4.1.tar.gz) = 21729 bytes
-SHA1 (patch-aa) = 5cf00f7d62eb2f4cf46798c1518dd54c477b8d83
+SHA1 (dvtm-0.5.1.tar.gz) = 8b5691e3d28e21e675791266bfe15ce09350ae3a
+RMD160 (dvtm-0.5.1.tar.gz) = 28259981a0c33ca44ab641a99183f228dcf5e3ae
+Size (dvtm-0.5.1.tar.gz) = 26238 bytes
+SHA1 (patch-aa) = 241923f9be8ca7613ca424b7fcc270d45c925d41
diff --git a/misc/dvtm/patches/patch-aa b/misc/dvtm/patches/patch-aa
index 7abb33a1caf..e5b39bef9b3 100644
--- a/misc/dvtm/patches/patch-aa
+++ b/misc/dvtm/patches/patch-aa
@@ -1,6 +1,9 @@
-$NetBSD: patch-aa,v 1.2 2008/05/25 11:46:33 tnn Exp $
+$NetBSD: patch-aa,v 1.3 2009/02/17 10:08:15 tnn Exp $
---- Makefile.orig 2008-05-10 18:39:01.000000000 +0200
+Do not use rudimentary mkdir(1), cp(1) and chmod(1): install(1) is
+simpler and more elegant to install binaries.
+
+--- Makefile.orig 2009-02-08 22:52:37.000000000 +0100
+++ Makefile
@@ -20,6 +20,7 @@ ${OBJ}: config.h config.mk
dvtm: ${OBJ}
@@ -8,9 +11,9 @@ $NetBSD: patch-aa,v 1.2 2008/05/25 11:46:33 tnn Exp $
@${CC} -o $@ ${OBJ} ${LDFLAGS}
+ @sed "s/VERSION/${VERSION}/g" < dvtm.1 > dvtm.1.out
- unicode: clean
- @make LIBS='${LIBS_UTF8}' CFLAGS='${CFLAGS} -DUSE_UTF8'
-@@ -45,15 +46,12 @@ install: dvtm
+ debug: clean
+ @make CFLAGS='${DEBUG_CFLAGS}'
+@@ -43,15 +44,12 @@ install: dvtm
@echo stripping executable
@strip -s dvtm
@echo installing executable file to ${DESTDIR}${PREFIX}/bin