1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/www/xpi-jslib/Makefile
2014-01-26 15:10:59 +00:00

27 lines
874 B
Makefile

# Created by: Lapo Luchini <lapo@lapo.it>
# $FreeBSD$
PORTNAME= jslib
PORTVERSION= 0.1.371
CATEGORIES= www
MASTER_SITES= http://lapo.it/freebsd/
DISTNAME= jslib_${PORTVERSION}_lite
MAINTAINER= lapo@lapo.it
COMMENT= Library of common useful routines for XPI developers
LICENSE= MPL
XPI_ID= {DF8E5247-8E0A-4de6-B393-0735A39DFD80}
XPI_FILES= application.ini chrome/jslib.jar chrome/jsliblive/contents.rdf chrome/jsliblive/jsliblive.xul chrome.manifest \
components/jslib-dom.js components/jslib-service.js components/jslib.xpt defaults/preferences/prefs.js \
install.js install.rdf
XPI_DIRS= chrome/jsliblive chrome components defaults/preferences defaults
post-patch:
${REINPLACE_CMD} -Ee '/Suite/,/Flock/s/>2[.]0[.][*]</>2.4.*</' ${WRKSRC}/install.rdf
${RM} -f ${WRKSRC}/install.rdf.bak
.include "${.CURDIR}/../xpi-adblock/Makefile.xpi"
.include <bsd.port.mk>