summaryrefslogtreecommitdiff
path: root/wm/ratpoison
diff options
context:
space:
mode:
authorghen <ghen@pkgsrc.org>2006-03-09 14:50:31 +0000
committerghen <ghen@pkgsrc.org>2006-03-09 14:50:31 +0000
commit8cf271c6e87684e5c59b2dc80574a145a78c786f (patch)
tree5dfaf291a174bff9f21a03a3c2c7d0ff9f7c9c44 /wm/ratpoison
parent23a3bdbb82a2c960c25e3cc2bb660a5a6636bcaa (diff)
downloadpkgsrc-8cf271c6e87684e5c59b2dc80574a145a78c786f.tar.gz
Use REPLACE_INTERPRETER instead of a patch.
Diffstat (limited to 'wm/ratpoison')
-rw-r--r--wm/ratpoison/Makefile7
-rw-r--r--wm/ratpoison/distinfo4
-rw-r--r--wm/ratpoison/patches/patch-aa8
3 files changed, 9 insertions, 10 deletions
diff --git a/wm/ratpoison/Makefile b/wm/ratpoison/Makefile
index 6c0bd07fc9b..4836def4fd9 100644
--- a/wm/ratpoison/Makefile
+++ b/wm/ratpoison/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2006/02/16 11:12:13 tonio Exp $
+# $NetBSD: Makefile,v 1.19 2006/03/09 14:50:31 ghen Exp $
#
DISTNAME= ratpoison-1.4.0-beta4
@@ -15,6 +15,11 @@ USE_GNU_READLINE= YES
INFO_FILES= ratpoison.info
+REPLACE_INTERPRETER+= bash
+_REPLACE.bash.old= /usr/bin/env bash
+_REPLACE.bash.new= ${SH:Q}
+_REPLACE_FILES.bash= contrib/rpws
+
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/wm/ratpoison/distinfo b/wm/ratpoison/distinfo
index 55c2a4a146f..85bae164d1f 100644
--- a/wm/ratpoison/distinfo
+++ b/wm/ratpoison/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2006/02/16 11:12:13 tonio Exp $
+$NetBSD: distinfo,v 1.9 2006/03/09 14:50:31 ghen Exp $
SHA1 (ratpoison-1.4.0-beta4.tar.gz) = 78d682ae8321040a2ba8ae3f780f07d3c8d464ae
RMD160 (ratpoison-1.4.0-beta4.tar.gz) = 3e00d661cfcc43b5c75d77f90eb438d97c754976
Size (ratpoison-1.4.0-beta4.tar.gz) = 373068 bytes
-SHA1 (patch-aa) = dd1ede29e14bcd7948eb5f0336c017d392244ff5
+SHA1 (patch-aa) = f18b28f85dabb73be2ff3f371288326b29aa69be
diff --git a/wm/ratpoison/patches/patch-aa b/wm/ratpoison/patches/patch-aa
index 7390c8e4697..2ea00c187f1 100644
--- a/wm/ratpoison/patches/patch-aa
+++ b/wm/ratpoison/patches/patch-aa
@@ -1,13 +1,7 @@
-$NetBSD: patch-aa,v 1.2 2006/02/16 11:12:13 tonio Exp $
+$NetBSD: patch-aa,v 1.3 2006/03/09 14:50:31 ghen Exp $
--- contrib/rpws.orig 2004-11-17 17:27:38.000000000 +0100
+++ contrib/rpws
-@@ -1,4 +1,4 @@
--#!/usr/bin/env bash
-+#!/bin/sh
- #
- # Workspaces for ratpoison
- # Copyright (C) 2003 Shawn Betts
@@ -80,7 +80,7 @@ ws_save ()
ws_restore ()
{