From 2a9bc3777ad79bdeb0ded6f09aa35a3cdf8f6ee3 Mon Sep 17 00:00:00 2001 From: wiz Date: Fri, 14 Jun 2013 08:53:57 +0000 Subject: 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. --- textproc/urlview/Makefile | 9 +++++++-- textproc/urlview/PLIST | 3 ++- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'textproc/urlview') 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 -- cgit v1.2.3