aboutsummaryrefslogtreecommitdiffstats
path: root/www/adblock/Makefile
blob: 12b2dc2191222bf1ecb4463eb625fbf3cae4bd78 (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
32
33
# 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=   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 ${GECKO}

USE_X_PREFIX=   yes

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>