summaryrefslogtreecommitdiff
path: root/www/adblock/Makefile
blob: 841910a6c8ebdc8ae1a777e8c77d5c05bde14a17 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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=	3
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 ${GECKO}

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

.include <bsd.port.post.mk>