diff options
author | tnn <tnn@pkgsrc.org> | 2008-03-09 17:20:47 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-03-09 17:20:47 +0000 |
commit | e2098168826197e13a83c9e9d6cb66ee5d654006 (patch) | |
tree | 56549c953b3b9e5a7bcc6c186cbca7b28eb95f03 /misc/dvtm | |
parent | ac5efafc93f3469d244f3e21655fc77d1a70ed48 (diff) | |
download | pkgsrc-e2098168826197e13a83c9e9d6cb66ee5d654006.tar.gz |
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 (limited to 'misc/dvtm')
-rw-r--r-- | misc/dvtm/DESCR | 4 | ||||
-rw-r--r-- | misc/dvtm/Makefile | 25 | ||||
-rw-r--r-- | misc/dvtm/PLIST | 3 | ||||
-rw-r--r-- | misc/dvtm/distinfo | 6 | ||||
-rw-r--r-- | misc/dvtm/options.mk | 17 | ||||
-rw-r--r-- | misc/dvtm/patches/patch-aa | 26 |
6 files changed, 81 insertions, 0 deletions
diff --git a/misc/dvtm/DESCR b/misc/dvtm/DESCR new file mode 100644 index 00000000000..d90bdca38a0 --- /dev/null +++ b/misc/dvtm/DESCR @@ -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 --git a/misc/dvtm/Makefile b/misc/dvtm/Makefile new file mode 100644 index 00000000000..d8d2ac99210 --- /dev/null +++ b/misc/dvtm/Makefile @@ -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 +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 --git a/misc/dvtm/PLIST b/misc/dvtm/PLIST new file mode 100644 index 00000000000..d7030aca586 --- /dev/null +++ b/misc/dvtm/PLIST @@ -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 --git a/misc/dvtm/distinfo b/misc/dvtm/distinfo new file mode 100644 index 00000000000..6ea1d994402 --- /dev/null +++ b/misc/dvtm/distinfo @@ -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 --git a/misc/dvtm/options.mk b/misc/dvtm/options.mk new file mode 100644 index 00000000000..f586d631532 --- /dev/null +++ b/misc/dvtm/options.mk @@ -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 --git a/misc/dvtm/patches/patch-aa b/misc/dvtm/patches/patch-aa new file mode 100644 index 00000000000..215ee6fcc57 --- /dev/null +++ b/misc/dvtm/patches/patch-aa @@ -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 |