summaryrefslogtreecommitdiff
path: root/www/xpi-clear_cache_button/Makefile
blob: 62a1e2d6680957857b8b52b2f368283ff19bc4aa (plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
# Created by: Barbara Guida <bar@FreeBSD.org>
# $FreeBSD$

PORTNAME=	clear_cache_button
PORTVERSION=	0.9f
DISTVERSIONSUFFIX=	-fx
PORTREVISION=	2
CATEGORIES=	www

MAINTAINER=	bar@FreeBSD.org
COMMENT=	Adds a button to the toolbar that clears the browser cache

USE_XPI=	*firefox*

SUB_FILES=	pkg-message

XPI_ID=		{563e4790-7e70-11da-a72b-0800200c9a66}
XPI_NUM=	1801
XPI_FILES=	chrome/content/options.js \
		chrome/content/options.xul \
		chrome/content/overlay.js \
		chrome/content/overlay.xul \
		chrome/locale/en-US/clearcache.properties \
		chrome/locale/en-US/overlay.dtd \
		chrome/skin/classic/logo_16.png \
		chrome/skin/classic/logo_24.png \
		chrome/skin/classic/logo_32.png \
		chrome/skin/classic/overlay.css \
		chrome.manifest \
		install.rdf

XPI_DIRS=	chrome/skin/classic chrome/skin \
		chrome/locale/en-US chrome/locale \
		chrome/content \
		chrome

.include "${.CURDIR}/../xpi-adblock/Makefile.xpi"

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

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

.include <bsd.port.mk>