openbsd-ports/www/firefox35/Makefile
ajacoutot f1d7d38b4b Extend the desktop file: add a couple of mime types (x-scheme-handler)
so that the mozilla browsers are properly recognized in the "default
browser" specification.

ok landry@ (maintainer)
2012-10-06 07:55:55 +00:00

64 lines
1.8 KiB
Makefile

# $OpenBSD: Makefile,v 1.83 2012/10/06 07:55:55 ajacoutot Exp $
COMMENT = Mozilla web browser
MOZILLA_VERSION = 3.5.19
MOZILLA_BRANCH = 1.9.1
MOZILLA_PROJECT = firefox35
MOZILLA_DIST = firefox
MOZILLA_CODENAME = browser
REVISION = 17
SO_VERSION = 24.0
# 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 \
xpcom xul nullplugin unixprintplugin
FLAVOR ?=
.if ${FLAVOR:L:Mdebug}
MOZILLA_LIBS += accessibility appcomps auth autoconfig caps chardet chrome \
commandlines composer cookie docshell embedcomponents fileview \
gkgfxthebes gklayout gkplugin htmlpars i18n imglib2 intlapp \
jar50 jsd mozfind necko nsappshell oji permissions \
pipboot pipnss pippki places pref rdf remoteservice \
satchel spellchecker storagecomps system-pref tkautocomplete \
toolkitcomps txmgr uconv ucvmath universalchardet \
unixproxy webbrwsr widget_gtk2 windowds xpconnect xpinstall \
zipwriter gfxpsshar gkgfx gtkxtbin jsj thebes xpcom_core
.endif
CATEGORIES = www
# mozilla public license
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES = www/mozilla devel/gettext lang/python
MODPY_RUNDEP = No
# Regression tests are too hard to adapt to run here
NO_REGRESS = Yes
CONFIGURE_STYLE = autoconf no-autoheader
CONFIGURE_ARGS += --enable-official-branding
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
pre-install:
ln -sf ${MOB}/firefox{,35}
ln -sf ${MOB}/firefox{,35}-bin
post-install:
${INSTALL_DATA} ${FILESDIR}/browserconfig.properties ${MOB}/LICENSE ${MOB}/blocklist.xml ${MOZ}
.include <bsd.port.mk>