# New ports collection makefile for:	xpi-live_http_headers
# Date created:			29 June 2008
# Whom:				Dominic Fandrey <kamikaze@bsdforen.de>
#
# $FreeBSD: ports/www/xpi-live_http_headers/Makefile,v 1.7 2011/11/25 18:20:26 miwi Exp $
#

PORTNAME=	live_http_headers
PORTVERSION=	0.17
DISTVERSIONSUFFIX=	-fx+sm
PORTREVISION=	3
CATEGORIES=	www
PKGNAMEPREFIX=	xpi-

MAINTAINER=	kamikaze@bsdforen.de
COMMENT=	A firefox extension to view HTTP headers

XPI_NUM=	3829
XPI_ID=		{8f8fe09b-0bd3-4470-bc1b-8cad42b8203a}

XPI_FILES=	TODO.txt \
		chrome/icons/default/LiveHTTPHeaders.ico \
		chrome/icons/default/LiveHTTPHeaders.xpm \
		chrome/livehttpheaders.jar \
		chrome.manifest \
		components/nsHeaderInfo.js \
		defaults/preferences/prefs.js \
		install.js \
		install.rdf

XPI_DIRS=	chrome/icons/default \
		chrome/icons \
		chrome \
		components \
		defaults/preferences \
		defaults

USE_DOS2UNIX=	yes
DOS2UNIX_REGEX=	.*\.(js|rdf|txt)

post-patch:
	@${FIND} ${WRKSRC} -name \*.orig -exec ${RM} \{} \;

.include "../xpi-adblock/Makefile.xpi"
.include <bsd.port.mk>
