openbsd-ports/www/mozilla-firefox/Makefile
landry ddce2813d1 Update to mozilla-firefox 3.6.11, tested by various on ports@ (thanks!)
Fixes (valid for other moz updates):
MFSA 2010-72 Insecure Diffie-Hellman key exchange
MFSA 2010-71 Unsafe library loading vulnerabilities
MFSA 2010-70 SSL wildcard certificate matching IP addresses
MFSA 2010-69 Cross-site information disclosure via modal calls
MFSA 2010-68 XSS in gopher parser when parsing hrefs
MFSA 2010-67 Dangling pointer vulnerability in LookupGetterOrSetter
MFSA 2010-66 Use-after-free error in nsBarProp
MFSA 2010-65 Buffer overflow and memory corruption using document.write
MFSA 2010-64 Miscellaneous memory safety hazards
2010-10-22 19:19:17 +00:00

67 lines
2.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.155 2010/10/22 19:19:17 landry Exp $
COMMENT = Mozilla web browser
# Don't forget to bump www/firefox-i18n after updates.
MOZILLA_VERSION = 3.6.11
MOZILLA_BRANCH = 1.9.2
MOZILLA_PROJECT = mozilla-firefox
MOZILLA_CODENAME = browser
SO_VERSION = 22.1
# NOTE: Must bump minor version if any shlib's are removed from the
# components dir to avoid pkg_add -r issues.
MOZILLA_LIBS = browsercomps browserdirprovider imgicon mozjs \
sqlite3 xpcom xul nullplugin unixprintplugin
CATEGORIES = www
# mozilla public license
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
# needed for convert xpm icon to png
BUILD_DEPENDS += ::graphics/netpbm
# lots of logic in mozilla.port.mk
MODULES = www/mozilla devel/gettext lang/python
MODPY_RUNDEP = No
USE_X11 = Yes
USE_GROFF = Yes
# Regression tests are too hard to adapt to run here
NO_REGRESS = Yes
CONFIGURE_STYLE = autoconf no-autoheader
CONFIGURE_ARGS += --enable-official-branding
# --with-system-png=${LOCALBASE}
# no system png : apng support not bundled in
# --enable-system-sqlite
# no system sqlite : requires SECURE_DELETE
MOZILLA_DATADIRS = chrome components defaults dictionaries extensions \
greprefs icons modules plugins res searchplugins
MOZILLA_AUTOCONF_DIRS += js/src
MOZILLA_SUBST_FILES += config/autoconf.mk.in
post-install:
${INSTALL_DATA} ${FILESDIR}/browserconfig.properties ${MOB}/LICENSE ${MOB}/blocklist.xml ${MOZ}
${SUBST_CMD} -o ${SHAREOWN} -g ${SHAREGRP} -c ${FILESDIR}/mozilla-firefox.1 \
${PREFIX}/man/man1/mozilla-firefox.1
ln -f ${PREFIX}/man/man1/mozilla-firefox.1 ${PREFIX}/man/man1/firefox.1
ln -f ${PREFIX}/bin/firefox ${PREFIX}/bin/mozilla-firefox
ln -f ${MOZ}/firefox-bin ${MOZ}/mozilla-firefox-bin
# create an xpm icon from the png one as nsWindow::SetWindowIconList
# fails to load png icons : confuses the png pixbuf loader from gtk, which
# differs from the libpng bundled in firefox
cd ${MOZ}/chrome/icons/default/ && \
${LOCALBASE}/bin/pngtopnm -alpha default48.png > ${WRKSRC}/alpha.pgm && \
${LOCALBASE}/bin/pngtopnm default48.png | \
${LOCALBASE}/bin/ppmtoxpm -alphamask=${WRKSRC}/alpha.pgm > default.xpm
.include <bsd.port.mk>