From 9adcc4e9d6145ec9e051bc9ce75fcea84fdfa34f Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Wed, 6 Sep 2006 06:45:02 +0000 Subject: Add Seamonkey's support, with some cleaning. --- www/adblock/Makefile | 15 ++++++++------- www/adblock/pkg-descr | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) (limited to 'www/adblock') 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 .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 -- cgit v1.2.3