aboutsummaryrefslogtreecommitdiffstats
path: root/www/xpi-flashblock/Makefile
blob: e15ff0468fb6245bffdf7da4ac4c033b8226cfd5 (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
# New ports collection makefile for:    flashblock
# Date created:     14 May 2006
# Whom:         Simon Olofsson
#
# $FreeBSD$
#

PORTNAME=   flashblock
PORTVERSION=    1.5.15.1
DISTVERSIONSUFFIX=  -fx
PORTREVISION=   2
CATEGORIES= www

MAINTAINER= barbara.xxx1975@libero.it
COMMENT=    Replaces Flash objects with a button you can click to view them

USE_XPI=    *firefox*

XPI_ID=     {3d7eb24f-2740-49df-8937-200b1cc08f8a}
XPI_NUM=    433
XPI_FILES=  chrome/flashblock.jar chrome.manifest defaults/preferences/flashblock.js install.rdf
XPI_DIRS=   chrome defaults/preferences defaults

post-patch:
    @${REINPLACE_CMD} -e 's|<em:maxVersion>8\.0<|<em:maxVersion>99.*<|' \
        ${WRKSRC}/install.rdf

pre-install:
    @${RM} -f ${WRKSRC}/install.rdf.bak

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