pkgsrc/www/firefox52-l10n/Makefile
nia 0770051ff3 firefox*-l10n: Avoid building these if Firefox doesn't get built.
Basically add an explicit DEPENDS line on the main firefox packages, these
language packs aren't useful without firefox.
2020-03-13 15:46:21 +00:00

33 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.18 2020/03/13 15:46:21 nia Exp $
FIREFOX_VER= 52.9.0esr
PKGNAME= firefox52-l10n-${FIREFOX_VER:S/esr//}
DISTNAME= # empty
CATEGORIES= www
#MASTER_SITES= ${MASTER_SITE_MOZILLA_ALL:=firefox/releases/${FIREFOX_VER}/linux-i686/xpi/}
MASTER_SITES= ${MASTER_SITE_MOZILLA:=firefox/releases/${FIREFOX_VER}/linux-i686/xpi/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.mozilla.com/en-US/firefox/
COMMENT= Language packs for www/firefox (version ${PKGVERSION_NOREV:C/\..*//})
DEPENDS+= firefox52>=${PKGVERSION_NOREV}:../../www/firefox52
DIST_SUBDIR= ${PKGNAME_NOREV}
DISTFILES= ${XPI_FILES}
NO_BUILD= yes
FIREFOX_LOCALES= ach af an ar as ast az bg bn-BD bn-IN br bs ca cs \
cy da de dsb el en-GB en-ZA eo es-AR es-CL es-ES \
es-MX et eu fa ff fi fr fy-NL ga-IE gd gl gn gu-IN \
he hi-IN hr hsb hu hy-AM id is it ja ka kab kk km kn ko \
lij lt lv mai mk ml mr ms nb-NO nl nn-NO or pa-IN pl \
pt-BR pt-PT rm ro ru si sk sl son sq sr sv-SE ta te th \
tr uk uz vi xh zh-CN zh-TW
EXTENSIONS_DIR= ${PREFIX}/lib/firefox52/browser/extensions
XPI_FILES= ${FIREFOX_LOCALES:=.xpi}
.include "../../www/firefox52/xpi.mk"
.include "../../mk/bsd.pkg.mk"