# New ports collection makefile for:	xpi-quick-locale-switcher
# Date created:		05 February 2007
# Whom:			Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD: ports/www/xpi-quick-locale-switcher/Makefile,v 1.9 2007/10/29 16:42:36 sat Exp $
#

PORTNAME=	quick-locale-switcher
PORTVERSION=	1.6.3.4
DISTVERSIONSUFFIX=	-fx+mz+tb+sb+nvu+ns+sm+fl
PORTREVISION=	1
CATEGORIES=	www

MAINTAINER=	infofarmer@FreeBSD.org
COMMENT=	Quickly change and apply a different locale from the tools menu

XPI_DISTNAME=	quick_locale_switcher
XPI_ID=		{25A1388B-6B18-46c3-BEBA-A81915D0DE8F}
XPI_NUM=	1333
XPI_FILES=	chrome/qls.jar chrome.manifest defaults/preferences/prefs.js install.js install.rdf
XPI_DIRS=	chrome defaults/preferences defaults

post-patch:
	@${REINPLACE_CMD} -e '/maxVersion/s|0.5|0.7|' ${WRKSRC}/install.rdf
	@${RM} -f ${WRKSRC}/install.rdf.bak

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