pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/dvtm Import dvtm-0.4 as pkgsrc/misc/dvtm.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bcd4530d3871
branches:  trunk
changeset: 539613:bcd4530d3871
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Mar 09 17:20:47 2008 +0000

description:
Import dvtm-0.4 as pkgsrc/misc/dvtm.

dvtm brings the concept of tiling window management, popularized by X11-window
managers like dwm to the console. As a console window manager it tries to make
it easy to work with multiple console based programs like vim, mutt, cmus or
irssi.

Packaged by Leonardo Taccari in pkgsrc-wip.

diffstat:

 misc/dvtm/DESCR            |   4 ++++
 misc/dvtm/Makefile         |  25 +++++++++++++++++++++++++
 misc/dvtm/PLIST            |   3 +++
 misc/dvtm/distinfo         |   6 ++++++
 misc/dvtm/options.mk       |  17 +++++++++++++++++
 misc/dvtm/patches/patch-aa |  26 ++++++++++++++++++++++++++
 6 files changed, 81 insertions(+), 0 deletions(-)

diffs (105 lines):

diff -r 44cb76b1a0e0 -r bcd4530d3871 misc/dvtm/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/dvtm/DESCR   Sun Mar 09 17:20:47 2008 +0000
@@ -0,0 +1,4 @@
+dvtm brings the concept of tiling window management, popularized by X11-window
+managers like dwm to the console. As a console window manager it tries to make
+it easy to work with multiple console based programs like vim, mutt, cmus or
+irssi.
diff -r 44cb76b1a0e0 -r bcd4530d3871 misc/dvtm/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/dvtm/Makefile        Sun Mar 09 17:20:47 2008 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/03/09 17:20:47 tnn Exp $
+#
+
+DISTNAME=      dvtm-0.4
+CATEGORIES=    misc
+MASTER_SITES=  http://www.brain-dump.org/projects/dvtm/
+
+MAINTAINER=    leot1990%users.sourceforge.net@localhost
+HOMEPAGE=      http://www.brain-dump.org/projects/dvtm/
+COMMENT=       Dynamic virtual terminal manager
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_LANGUAGES=         c99
+NO_CONFIGURE=          yes
+
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/dvtm ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/dvtm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "options.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r 44cb76b1a0e0 -r bcd4530d3871 misc/dvtm/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/dvtm/PLIST   Sun Mar 09 17:20:47 2008 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/03/09 17:20:47 tnn Exp $
+bin/dvtm
+man/man1/dvtm.1
diff -r 44cb76b1a0e0 -r bcd4530d3871 misc/dvtm/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/dvtm/distinfo        Sun Mar 09 17:20:47 2008 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/03/09 17:20:47 tnn Exp $
+
+SHA1 (dvtm-0.4.tar.gz) = bcb12317fb2cd02e6b492560d945d672fcc8e856
+RMD160 (dvtm-0.4.tar.gz) = 80f86da540aff047c2ee8cc01cc73c8fb2a1c0b1
+Size (dvtm-0.4.tar.gz) = 20761 bytes
+SHA1 (patch-aa) = 9a0563e52dd957a35c26087fa1b4cc6750772b1b
diff -r 44cb76b1a0e0 -r bcd4530d3871 misc/dvtm/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/dvtm/options.mk      Sun Mar 09 17:20:47 2008 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: options.mk,v 1.1.1.1 2008/03/09 17:20:47 tnn Exp $
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.dvtm
+PKG_SUPPORTED_OPTIONS=         wide-curses
+PKG_SUGGESTED_OPTIONS=         wide-curses
+PKG_OPTIONS_LEGACY_OPTS+=      ncursesw:wide-curses
+
+.include "../../mk/bsd.options.mk"
+
+USE_NCURSES=   yes     # mouse extensions (not X/Open Curses compliant)
+
+.if !empty(PKG_OPTIONS:Mwide-curses)
+.  include "../../devel/ncursesw/buildlink3.mk"
+BUILD_TARGET=  unicode
+.else
+.  include "../../devel/ncurses/buildlink3.mk"
+.endif
diff -r 44cb76b1a0e0 -r bcd4530d3871 misc/dvtm/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/dvtm/patches/patch-aa        Sun Mar 09 17:20:47 2008 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/03/09 17:20:47 tnn Exp $
+
+--- config.mk.orig     2008-02-06 17:30:25.000000000 +0100
++++ config.mk
+@@ -3,16 +3,13 @@ VERSION = 0.4
+ 
+ # Customize below to fit your system
+ 
+-PREFIX = /usr/local
+-MANPREFIX = ${PREFIX}/share/man
++MANPREFIX = ${DESTDIR}${PREFIX}/${PKGMANDIR}
+ 
+ INCS = -I. -I/usr/include -I/usr/local/include 
+-LIBS = -lc -lutil -lncurses
+-LIBS_UTF8 = -lc -lutil -lncursesw
++LIBS = -lc -lutil -lncurses -L/usr/lib -L${DESTDIR}${PREFIX}/lib
++LIBS_UTF8 = -lc -lutil -lncursesw -L/usr/lib -L${DESTDIR}${PREFIX}/lib
+ 
+-CFLAGS = -std=c99 -Os ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG
+-LDFLAGS = -L/usr/lib -L/usr/local/lib ${LIBS}
++CFLAGS += ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG
++LDFLAGS += ${LIBS}
+ 
+ DEBUG_CFLAGS = -std=c99 -O0 -g -ggdb ${INCS} -Wall -DVERSION=\"${VERSION}\"
+-
+-CC = cc



Home | Main Index | Thread Index | Old Index