ports/162448: www/xpi-clear_cache_button: make it working with firefox in ports

Barbara barbara.xxx1975 at libero.it
Thu Nov 10 23:10:08 UTC 2011


>Number:         162448
>Category:       ports
>Synopsis:       www/xpi-clear_cache_button: make it working with firefox in ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 10 23:10:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Barbara
>Release:        RELENG_8
>Organization:
>Environment:
FreeBSD satanasso.local.net 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat Oct  8 13:50:17 CEST 2011     root at satanasso.local.net:/usr/obj/usr/src/sys/SATANASSO  i386

>Description:
Make it working with the current version of firefox fixing maxVersion in install.rdf
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2011-09-17 21:40:23.000000000 +0200
+++ Makefile	2011-11-10 23:49:40.000000000 +0100
@@ -7,7 +7,7 @@
 
 PORTNAME=	clear_cache_button
 PORTVERSION=	0.9f
-PORTREVISION=	1
+PORTREVISION=	2
 DISTVERSIONSUFFIX=	-fx
 CATEGORIES=	www
 
@@ -38,9 +38,14 @@
 		chrome/content \
 		chrome
 
-.include "${.CURDIR}/../xpi-adblock/Makefile.xpi"
+post-patch:
+	@${REINPLACE_CMD} -e 's|6\.\*|8.*|' ${WRKSRC}/install.rdf
+
+pre-install:
+	@${RM} -f ${WRKSRC}/install.rdf.bak
 
 post-install:
 	@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
 
+.include "${.CURDIR}/../xpi-adblock/Makefile.xpi"
 .include <bsd.port.mk>


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



More information about the freebsd-ports-bugs mailing list