aboutsummaryrefslogtreecommitdiffstats
path: root/www/xpi-adblock/Makefile
blob: 01205f92d6afcb3f8bfd9e6b9cbdeb5cb2d553ae (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
# New ports collection makefile for:    xpi-adblock
# Date created:     28 March 2006
# Whom:         Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   adblock
PORTVERSION=    0.5.3.043
DISTVERSIONSUFFIX=  -fx+fl+mz+ns
CATEGORIES= www

MAINTAINER= ports@FreeBSD.org
COMMENT=    A content filtering extension

XPI_NUM=    10
XPI_ID=     {34274bf4-1d97-a289-e984-17e546307e4f}
XPI_FILES=  chrome/adblock.jar chrome.manifest components/.autoreg components/nsAdblock.js \
        defaults/preferences/adblock.js install.js install.rdf license.txt
XPI_DIRS=   chrome/adblock chrome components defaults/preferences defaults

post-patch:
    @${REINPLACE_CMD} -e 's|2.0a3|2.0.*|g' ${WRKSRC}/install.rdf
    @${RM} -f ${WRKSRC}/install.rdf?*

.include "${.CURDIR}/../xpi-adblock/Makefile.xpi"
.include <bsd.port.mk>