aboutsummaryrefslogtreecommitdiff
path: root/www/xpi-modify_headers
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2011-07-14 15:04:39 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2011-07-14 15:04:39 +0000
commit3438eb987e5fe5c9956c7899a8833c6eb8b07eb3 (patch)
tree6f9f298f161f5296e0dd2b4645c0260e1f4d8098 /www/xpi-modify_headers
parent9a3433d6e76baab132faba895430caed891115d2 (diff)
downloadports-3438eb987e5fe5c9956c7899a8833c6eb8b07eb3.tar.gz
ports-3438eb987e5fe5c9956c7899a8833c6eb8b07eb3.zip
Notes
Diffstat (limited to 'www/xpi-modify_headers')
-rw-r--r--www/xpi-modify_headers/Makefile4
-rw-r--r--www/xpi-modify_headers/files/patch-install.rdf11
2 files changed, 15 insertions, 0 deletions
diff --git a/www/xpi-modify_headers/Makefile b/www/xpi-modify_headers/Makefile
index dc6c47536fa6..d790579ba91a 100644
--- a/www/xpi-modify_headers/Makefile
+++ b/www/xpi-modify_headers/Makefile
@@ -8,6 +8,7 @@
PORTNAME= modify_headers
PORTVERSION= 0.7.0.2
DISTVERSIONSUFFIX= -fx+sm
+PORTREVISION= 1
CATEGORIES= www
MAINTAINER= kamikaze@bsdforen.de
@@ -65,5 +66,8 @@ XPI_DIRS= chrome/content/bindings \
defaults/preferences \
defaults
+post-patch:
+ @${FIND} ${WRKSRC} -name \*.orig -exec ${RM} \{} \;
+
.include "../xpi-adblock/Makefile.xpi"
.include <bsd.port.mk>
diff --git a/www/xpi-modify_headers/files/patch-install.rdf b/www/xpi-modify_headers/files/patch-install.rdf
new file mode 100644
index 000000000000..5c80bf3cfb6a
--- /dev/null
+++ b/www/xpi-modify_headers/files/patch-install.rdf
@@ -0,0 +1,11 @@
+--- install.rdf.orig 2011-07-03 23:37:16.000000000 +0200
++++ install.rdf 2011-07-03 23:37:28.000000000 +0200
+@@ -21,7 +21,7 @@
+ <Description>
+ <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
+ <em:minVersion>3.6</em:minVersion>
+- <em:maxVersion>4.0.*</em:maxVersion>
++ <em:maxVersion>6.*</em:maxVersion>
+ </Description>
+ </em:targetApplication>
+