Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2011 23:09:41 GMT
From:      Barbara <barbara.xxx1975@libero.it>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/162448: www/xpi-clear_cache_button: make it working with firefox in ports
Message-ID:  <201111102309.pAAN9fUG079813@red.freebsd.org>
Resent-Message-ID: <201111102310.pAANA7Ci052527@freefall.freebsd.org>

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

>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@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:



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