summaryrefslogtreecommitdiff
path: root/www/adblock/Makefile
blob: cd27a09fe35e581e1cb2681f6db7525b8f99b5b7 (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
# 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=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	thierry
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>