aboutsummaryrefslogtreecommitdiffstats
path: root/www/xpi-flashblock
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2011-12-27 05:09:45 +0800
committerrene <rene@FreeBSD.org>2011-12-27 05:09:45 +0800
commit7f6e0890ec8ec4dffdae2e6187d87078dce72b01 (patch)
treebf3bf724cf5ae63d31f8c634e05cb00a0630de41 /www/xpi-flashblock
parentea60af2be7dd6080b4b1cefd749073ea898ff56d (diff)
downloadfreebsd-ports-gnome-7f6e0890ec8ec4dffdae2e6187d87078dce72b01.tar.gz
freebsd-ports-gnome-7f6e0890ec8ec4dffdae2e6187d87078dce72b01.tar.zst
freebsd-ports-gnome-7f6e0890ec8ec4dffdae2e6187d87078dce72b01.zip
- Enable running this plugin with current and future Firefox versions. [1]
- Fix portlint error, PORTREVISION must be after DISTVERSION* PR: ports/163551 [1] Submitted by: maintainer
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>