summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorwiz <wiz>2013-06-14 08:53:57 +0000
committerwiz <wiz>2013-06-14 08:53:57 +0000
commitf7a84b379b126ce91d2741dcaea616857b2ee8f3 (patch)
treede8c6d3f74b98a5926610766476fc066ca2d7e97 /textproc
parent1dd91738891cb0418b0c5025dfa93cedf713ae9c (diff)
downloadpkgsrc-f7a84b379b126ce91d2741dcaea616857b2ee8f3.tar.gz
Install url_handler.sh, from Dario Niedermann on pkgsrc-users.
Fix bash call in script and add run-time-dependency on bash for the script. Bump PKGREVISION.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/urlview/Makefile9
-rw-r--r--textproc/urlview/PLIST3
2 files changed, 9 insertions, 3 deletions
diff --git a/textproc/urlview/Makefile b/textproc/urlview/Makefile
index 904b89957e9..7de62ee4033 100644
--- a/textproc/urlview/Makefile
+++ b/textproc/urlview/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.19 2012/10/25 06:57:05 asau Exp $
+# $NetBSD: Makefile,v 1.20 2013/06/14 08:53:57 wiz Exp $
DISTNAME= urlview-0.9
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= textproc
MASTER_SITES= ftp://ftp.mutt.org/pub/mutt/contrib/ \
ftp://ftp.uib.no/pub/mutt/contrib/
@@ -10,6 +10,11 @@ MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Extract URLs from text files and display them in a menu
INSTALLATION_DIRS= ${PKGMANDIR}/man1
+REPLACE_BASH= url_handler.sh
+USE_TOOLS+= bash:run
+
+post-install:
+ cp -p ${WRKSRC}/url_handler.sh ${DESTDIR}/${PREFIX}/bin/
GNU_CONFIGURE= yes
diff --git a/textproc/urlview/PLIST b/textproc/urlview/PLIST
index 7f494758135..2c88f9ecbb0 100644
--- a/textproc/urlview/PLIST
+++ b/textproc/urlview/PLIST
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:59:09 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2013/06/14 08:53:57 wiz Exp $
bin/urlview
+bin/url_handler.sh
man/man1/urlview.1