summaryrefslogtreecommitdiff
path: root/www/adblock
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2006-09-06 06:45:02 +0000
committerThierry Thomas <thierry@FreeBSD.org>2006-09-06 06:45:02 +0000
commit9adcc4e9d6145ec9e051bc9ce75fcea84fdfa34f (patch)
treea8e84d73f1c63efb783c4c3d4a64e635f00461ae /www/adblock
parent- fix build error in 4.x (diff)
Add Seamonkey's support, with some cleaning.
Notes
Notes: svn path=/head/; revision=172378
Diffstat (limited to 'www/adblock')
-rw-r--r--www/adblock/Makefile15
-rw-r--r--www/adblock/pkg-descr2
2 files changed, 9 insertions, 8 deletions
diff --git a/www/adblock/Makefile b/www/adblock/Makefile
index cd27a09fe35e..12b2dc219122 100644
--- a/www/adblock/Makefile
+++ b/www/adblock/Makefile
@@ -5,27 +5,28 @@
# $FreeBSD$
#
-PORTNAME?= adblock
+PORTNAME= adblock
DISTVERSION= 0.5-dev
-PORTREVISION?= 0
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= thierry
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= thierry@FreeBSD.org
-COMMENT?= A content filtering plug-in for Mozilla
+COMMENT= A content filtering plug-in for ${GECKO}
USE_X_PREFIX= yes
-PLIST_FILES= %%MOZDIR%%/chrome/adblock.jar \
- %%MOZDIR%%/chrome/overlayinfo/mozapps/content/overlays.rdf
-
-SLAVEDIRS= www/adblock-firefox
+PLIST_FILES= %%MOZDIR%%/chrome/adblock.jar
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/www/mozex/Makefile.xpi"
+.if ${GECKO} == mozilla
+PLIST_FILES+= %%MOZDIR%%/chrome/overlayinfo/mozapps/content/overlays.rdf
+.endif
+
do-install:
@${INSTALL_DATA} ${WRKDIR}/chrome/adblock.jar ${MOZDIR}/chrome
diff --git a/www/adblock/pkg-descr b/www/adblock/pkg-descr
index 069779f951b9..9c8a689fb2c8 100644
--- a/www/adblock/pkg-descr
+++ b/www/adblock/pkg-descr
@@ -1,4 +1,4 @@
-Adblock is a content filtering plug-in for the Mozilla and Firefox browsers.
+Adblock is a content filtering plug-in for the Mozilla and Seamonkey 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