aboutsummaryrefslogtreecommitdiff
path: root/www/xpi-server_spy/Makefile
blob: d0e6580c75a04db5726468ae7dd34a85373ef5af (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Created by:	Barbara Guida <bar@FreeBSD.org>
# $FreeBSD$

PORTNAME=	server_spy
PORTVERSION=	0.2.1
DISTVERSIONSUFFIX=	-fx
PORTREVISION=	1
CATEGORIES=	www

MAINTAINER=	bar@FreeBSD.org
COMMENT=	Indicates what brand of HTTP server runs on the visited site

USE_XPI=	*firefox*

XPI_ID=		ServerSpy@jacquet.eu.org
XPI_NUM=	2036
XPI_FILES=	defaults/preferences/prefs.js \
		chrome/chromeFiles/locale/fr-FR/ui.properties \
		chrome/chromeFiles/locale/fr-FR/ui.ent \
		chrome/chromeFiles/locale/fr-FR/contents.rdf \
		chrome/chromeFiles/locale/en-US/ui.properties \
		chrome/chromeFiles/locale/en-US/ui.ent \
		chrome/chromeFiles/locale/en-US/contents.rdf \
		chrome/chromeFiles/content/unknown.png \
		chrome/chromeFiles/content/statusbar.xul \
		chrome/chromeFiles/content/serverspy.js \
		chrome/chromeFiles/content/serverspy-32.png \
		chrome/chromeFiles/content/overlay.xul \
		chrome/chromeFiles/content/options.xul \
		chrome/chromeFiles/content/n.png \
		chrome/chromeFiles/content/addonbar.xul \
		chrome/chromeFiles/content/about.xul \
		chrome/chromeFiles/content/L.png \
		chrome/chromeFiles/content/I.png \
		chrome/chromeFiles/content/G.png \
		chrome/chromeFiles/content/A.png \
		chrome.manifest \
		install.rdf

XPI_DIRS=	defaults/preferences defaults \
		chrome/chromeFiles/locale/fr-FR \
		chrome/chromeFiles/locale/en-US \
		chrome/chromeFiles/locale \
		chrome/chromeFiles/content chrome/chromeFiles chrome

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

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

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