Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2001 11:38:49 -0500 (CDT)
From:      Glenn Johnson <gjohnson@srrc.ars.usda.gov>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/30402: Have urlview install url_handler.sh
Message-ID:  <200109061638.f86Gcnv11185@node7.cluster.srrc.usda.gov>

next in thread | raw e-mail | index | archive | help

>Number:         30402
>Category:       ports
>Synopsis:       Have urlview install url_handler.sh
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 06 09:40:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Glenn Johnson
>Release:        FreeBSD 4.4-RC i386
>Organization:
USDA, ARS, SRRC
>Environment:
System: FreeBSD node7.cluster.srrc.usda.gov 4.4-RC FreeBSD 4.4-RC #4: Tue Sep 4 16:55:10 CDT 2001 root@node7.cluster.srrc.usda.gov:/usr/obj/usr/src/sys/CLUSTER-UP i386


	
>Description:
        The urlview port does not install the url_handler script.  The
        enclosed patch changes the port to install it.
>How-To-Repeat:
	
>Fix:

	Apply the enclosed patch to the textproc/urlview port.

diff -ruN urlview.old/Makefile urlview/Makefile
--- urlview.old/Makefile	Thu Sep  6 11:29:34 2001
+++ urlview/Makefile	Thu Sep  6 11:31:09 2001
@@ -8,6 +8,7 @@
 
 PORTNAME=	urlview
 PORTVERSION=	0.9
+PORTREVISION=	1
 CATEGORIES=	textproc www
 MASTER_SITES=	ftp://ftp.mutt.org/pub/mutt/contrib/ \
 		ftp://ftp.cs.hmc.edu/pub/me/ \
@@ -27,5 +28,8 @@
 post-patch:
 	${PERL} -pi.prefix -e 's.!!PREFIX!!.${PREFIX}.g' \
 		${WRKSRC}/url_handler.sh
+
+post-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/url_handler.sh ${PREFIX}/bin
 
 .include <bsd.port.mk>
diff -ruN urlview.old/pkg-plist urlview/pkg-plist
--- urlview.old/pkg-plist	Thu Sep  6 11:29:34 2001
+++ urlview/pkg-plist	Thu Sep  6 11:31:22 2001
@@ -1,2 +1,3 @@
 @comment $FreeBSD: ports/textproc/urlview/pkg-plist,v 1.3 2000/11/22 00:57:33 obrien Exp $
 bin/urlview
+bin/url_handler.sh
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109061638.f86Gcnv11185>