summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2005-08-28 13:04:53 +0000
committerThierry Thomas <thierry@FreeBSD.org>2005-08-28 13:04:53 +0000
commit3b6d5a5903273a4b785e08059bca509e75e27fb6 (patch)
tree1f76194930bc7915d86b8d7c76233a276bef5dbf /www
parentFix typo in pkg-message. (diff)
Add adblock, a content filtering plug-in for Mozilla.
Notes
Notes: svn path=/head/; revision=141112
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/adblock/Makefile34
-rw-r--r--www/adblock/distinfo2
-rw-r--r--www/adblock/files/installed-chrome.txt1
-rw-r--r--www/adblock/pkg-descr7
5 files changed, 45 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 053484e89a30..fb0247abbde2 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -7,6 +7,7 @@
SUBDIR += MT-PM
SUBDIR += WebMagick
SUBDIR += abcache
+ SUBDIR += adblock
SUBDIR += admuser
SUBDIR += adzap
SUBDIR += adzap2squirm
diff --git a/www/adblock/Makefile b/www/adblock/Makefile
new file mode 100644
index 000000000000..d4e341bfd9f1
--- /dev/null
+++ b/www/adblock/Makefile
@@ -0,0 +1,34 @@
+# Ports collection makefile for: adblock
+# Date created: Thu Aug 4, 2005
+# Whom: Thierry Thomas (<thierry@pompo.net>)
+#
+# $FreeBSD$
+#
+
+PORTNAME?= adblock
+DISTVERSION= 0.5-dev
+PORTREVISION?= 0
+CATEGORIES= www
+MASTER_SITES= http://www.devlib.org/mozdev/adblock/ \
+ http://downloads.mozdev.org/adblock/ \
+ http://ftp.ntua.gr/pub/www/mozdev/adblock/ \
+ http://ftp.iasi.roedu.net/mirrors/mozdev.org/adblock/
+DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= thierry@FreeBSD.org
+COMMENT?= A content filtering plug-in for Mozilla
+
+USE_X_PREFIX= yes
+
+PLIST_FILES= %%MOZDIR%%/chrome/adblock.jar \
+ %%MOZDIR%%/chrome/overlayinfo/mozapps/content/overlays.rdf
+
+SLAVEDIRS= www/adblock-firefox
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/www/mozex/Makefile.xpi"
+
+do-install:
+ @${INSTALL_DATA} ${WRKDIR}/chrome/adblock.jar ${MOZDIR}/chrome
+
+.include <bsd.port.post.mk>
diff --git a/www/adblock/distinfo b/www/adblock/distinfo
new file mode 100644
index 000000000000..ffcc57b7745e
--- /dev/null
+++ b/www/adblock/distinfo
@@ -0,0 +1,2 @@
+MD5 (adblock-0.5.d/adblock-0.5-dev.xpi) = bf938b034e2439e3e137cb892906afb8
+SIZE (adblock-0.5.d/adblock-0.5-dev.xpi) = 72084
diff --git a/www/adblock/files/installed-chrome.txt b/www/adblock/files/installed-chrome.txt
new file mode 100644
index 000000000000..37af91024fa3
--- /dev/null
+++ b/www/adblock/files/installed-chrome.txt
@@ -0,0 +1 @@
+content,install,url,jar:resource:/chrome/adblock.jar!/content/
diff --git a/www/adblock/pkg-descr b/www/adblock/pkg-descr
new file mode 100644
index 000000000000..069779f951b9
--- /dev/null
+++ b/www/adblock/pkg-descr
@@ -0,0 +1,7 @@
+Adblock is a content filtering plug-in for the Mozilla and Firefox browsers.
+It is both more robust and more precise than the built-in image blocker.
+
+Adblock allows the user to specify filters, which remove unwanted content based
+on the source-address.
+
+WWW: http://adblock.mozdev.org/