See https://www.mozilla.org/en-US/firefox/60.0.1/releasenotes/ After numerous reports of pledge aborts when saving files (while for some reason i'm not experiencing it) add 'getpw' to main process promises. Also add 'mcast', because sometimes a setsockopt() seems to be called with IP_MULTICAST_TTL. Improve README: - drop the now deprecated section about plugins - improve section about debugging with pledge info - add a section advising users to make sure a session dbus instance is running when starting their X session, otherwise for some reason the content process might try to spawn one via glib, and this is forbidden by pledge. You don't want the content process to be able to spawn processes, right ?
61 lines
1.6 KiB
Makefile
61 lines
1.6 KiB
Makefile
# $OpenBSD: Makefile.inc,v 1.108 2018/05/18 19:36:47 landry Exp $
|
|
|
|
# Unversioned distfiles
|
|
PORTROACH = ignore:1
|
|
|
|
# keep in sync with working archs.. sigh
|
|
ONLY_FOR_ARCHS = amd64 i386
|
|
|
|
PKG_ARCH = *
|
|
|
|
FV = 60.0.1
|
|
V = ${FV:C/b.$//}
|
|
NAME = firefox-i18n
|
|
|
|
CATEGORIES = www
|
|
|
|
HOMEPAGE = https://wiki.mozilla.org/L10n:Home_Page
|
|
|
|
MAINTAINER = Landry Breuil <landry@openbsd.org>
|
|
|
|
# Mozilla public license
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MASTER_SITES = https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${FV}/linux-i686/xpi/ \
|
|
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${FV}/linux-i686/xpi/
|
|
|
|
LANGUAGES = ach af an ar as ast az bg bn-BD bn-IN br bs ca cs cy da de dsb el en-GB en-US en-ZA eo \
|
|
es-AR es-CL es-ES es-MX et eu fa ff fi fr fy-NL ga-IE gd gl gu-IN he \
|
|
hi-IN hr hsb hu hy-AM id \
|
|
is it ja 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 vi xh zh-CN zh-TW
|
|
|
|
BUILD_DEPENDS = archivers/unzip
|
|
RUN_DEPENDS = firefox-${FV:S/b/beta/}:www/mozilla-firefox
|
|
|
|
DIST_SUBDIR = mozilla/${NAME}-${FV}
|
|
NO_BUILD = Yes
|
|
NO_TEST = Yes
|
|
EXTRACT_ONLY =
|
|
|
|
.for i in ${LANGUAGES}
|
|
SUPDISTFILES += $i.xpi
|
|
.endfor
|
|
|
|
PKGNAME = ${NAME}-$L-${FV:S/b/beta/}
|
|
COMMENT = $L language pack for Firefox
|
|
DISTFILES = $L.xpi
|
|
|
|
# use the same for all subpackages
|
|
PKGDIR = ${.CURDIR}/../pkg
|
|
PLIST = ${PKGDIR}/PLIST
|
|
DESCR = ${PKGDIR}/DESCR
|
|
CHECKSUM_FILE = ${.CURDIR}/../distinfo
|
|
MESSAGE= ${PKGDIR}/MESSAGE
|
|
SUBST_VARS = V L
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/firefox-$V/browser/extensions
|
|
${INSTALL_DATA} ${FULLDISTDIR}/$L.xpi ${PREFIX}/lib/firefox-$V/browser/extensions/langpack-$L@firefox.mozilla.org.xpi
|