ports/141148: textproc/urlview: fix install and replace obsolete browsers.

Thierry Thomas thierry at FreeBSD.org
Thu Dec 3 21:50:01 UTC 2009


>Number:         141148
>Category:       ports
>Synopsis:       textproc/urlview: fix install and replace obsolete browsers.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 03 21:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Thierry Thomas
>Release:        FreeBSD 8.0-STABLE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 8.0-STABLE FreeBSD 8.0-STABLE #1: Tue Dec 1 22:24:50 CET 2009 thierry at graf.pompo.net:/usr/obj/usr/src/sys/GRAF090829 i386


	
>Description:
	- Since PR ports/102954, urlview tries to use a script gecko.sh;
	  this script is built, but not installed.

	- Since Sep 2006, this PR was outdated:
	  . firefox is the default, but it is forbidden;
	  . firefox-devel and mozilla have been removed;
	  . the syntax of USE_GECKO has changed, and it does'nt support anymore
	    RUN_DEPENDS to a browser.

>How-To-Repeat:
	Try to install urlview-0.9_3.

>Fix:
	Please apply the following patch:

--- urlview.diff begins here ---
diff -urN textproc/urlview.orig/Makefile textproc/urlview/Makefile
--- textproc/urlview.orig/Makefile	2009-11-29 09:24:49.000000000 +0100
+++ textproc/urlview/Makefile	2009-12-03 22:25:58.000000000 +0100
@@ -8,7 +8,7 @@
 
 PORTNAME=	urlview
 PORTVERSION=	0.9
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	textproc www
 MASTER_SITES=	ftp://ftp.mutt.org/mutt/contrib/ \
 		ftp://ftp.sunsite.auc.dk/pub/mail/mutt/contrib/ \
@@ -27,11 +27,12 @@
 
 .include <bsd.port.pre.mk>
 
-.if defined(WITH_GECKO)
-USE_GECKO=	firefox firefox-devel seamonkey mozilla
-.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
+.if defined(WITH_SEAMONKEY)
+RUN_DEPENDS+=	${LOCALBASE}/lib/seamonkey/seamonkey-bin:${PORTSDIR}/www/seamonkey
+GECKO=		seamonkey
 .else
-GECKO=		firefox
+RUN_DEPENDS+=	${LOCALBASE}/lib/firefox3/firefox:${PORTSDIR}/www/firefox35
+GECKO=		firefox3
 .endif
 
 post-patch:
@@ -41,6 +42,7 @@
 		"s,/etc/urlview.conf,${PREFIX}/etc/urlview.conf,g" ${WRKSRC}/*
 
 post-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/url_handler.sh ${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/url_handler.sh ${WRKDIR}/gecko.sh	\
+		${PREFIX}/bin
 
 .include <bsd.port.post.mk>
--- urlview.diff ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list