aboutsummaryrefslogtreecommitdiff
path: root/www/xpi-flashblock
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2011-12-26 21:09:45 +0000
committerRene Ladan <rene@FreeBSD.org>2011-12-26 21:09:45 +0000
commite062a42ebbf062ac22a9a0661edcd93f386d1e4c (patch)
tree76f1e5efeedf681749d42b8f4cdcec4ff19f3e51 /www/xpi-flashblock
parentfaccfa4f3e7f754405287961ebd045bce1ef563e (diff)
downloadports-e062a42ebbf062ac22a9a0661edcd93f386d1e4c.tar.gz
ports-e062a42ebbf062ac22a9a0661edcd93f386d1e4c.zip
Notes
Diffstat (limited to 'www/xpi-flashblock')
-rw-r--r--www/xpi-flashblock/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/www/xpi-flashblock/Makefile b/www/xpi-flashblock/Makefile
index 00bb9d349bd6..e15ff0468fb6 100644
--- a/www/xpi-flashblock/Makefile
+++ b/www/xpi-flashblock/Makefile
@@ -7,8 +7,8 @@
PORTNAME= flashblock
PORTVERSION= 1.5.15.1
-PORTREVISION= 1
DISTVERSIONSUFFIX= -fx
+PORTREVISION= 2
CATEGORIES= www
MAINTAINER= barbara.xxx1975@libero.it
@@ -21,5 +21,12 @@ XPI_NUM= 433
XPI_FILES= chrome/flashblock.jar chrome.manifest defaults/preferences/flashblock.js install.rdf
XPI_DIRS= chrome defaults/preferences defaults
+post-patch:
+ @${REINPLACE_CMD} -e 's|<em:maxVersion>8\.0<|<em:maxVersion>99.*<|' \
+ ${WRKSRC}/install.rdf
+
+pre-install:
+ @${RM} -f ${WRKSRC}/install.rdf.bak
+
.include "${.CURDIR}/../xpi-adblock/Makefile.xpi"
.include <bsd.port.mk>