summaryrefslogtreecommitdiff
path: root/misc/dvtm/Makefile
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2008-05-25 11:46:33 +0000
committertnn <tnn@pkgsrc.org>2008-05-25 11:46:33 +0000
commitaedab9a91240343e003b6f7fc43ca87fec680aa6 (patch)
treef6d7f2a851197265b876ae09046cc4a6addf16e4 /misc/dvtm/Makefile
parent2778c83e8bee350426b5a44fae397f444a32b9fa (diff)
downloadpkgsrc-aedab9a91240343e003b6f7fc43ca87fec680aa6.tar.gz
Update to dvtm-0.4.1. Contributed by Leonardo Taccari.
* Cursor key mode switching (this fixes arrow keys in vim) * Characters following an escape are passed to the underlying application, this fixes ALT+<n> key combination as used by irssi * A hack to make the keypad sort of work with putty * Mouse support is now compile time selectable * Destroy clients when an IO-error occurs * Correct signal handling (save and restore errno) * Destroy clients cleanly, prevent zombies * Added a note about copy & paste to the manual page (use SHIFT while selecting or pasting text) * Some source code formatting fixes
Diffstat (limited to 'misc/dvtm/Makefile')
-rw-r--r--misc/dvtm/Makefile18
1 files changed, 12 insertions, 6 deletions
diff --git a/misc/dvtm/Makefile b/misc/dvtm/Makefile
index d8d2ac99210..bed01263ff0 100644
--- a/misc/dvtm/Makefile
+++ b/misc/dvtm/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/03/09 17:20:47 tnn Exp $
+# $NetBSD: Makefile,v 1.2 2008/05/25 11:46:33 tnn Exp $
#
-DISTNAME= dvtm-0.4
+DISTNAME= dvtm-0.4.1
CATEGORIES= misc
MASTER_SITES= http://www.brain-dump.org/projects/dvtm/
@@ -14,11 +14,17 @@ PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c99
NO_CONFIGURE= yes
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+SUBST_CLASSES+= makefile
+SUBST_STAGE.makefile= pre-build
+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'
+SUBST_SED.makefile+= -e 's,^CFLAGS =,CFLAGS +=,'
+SUBST_SED.makefile+= -e 's,^LDFLAGS =,LDFLAGS +=,'
+SUBST_SED.makefile+= -e 's/cc/${CC:Q}/'
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/dvtm ${DESTDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/dvtm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
.include "options.mk"