openbsd-ports/www/firefox35/Makefile
2010-10-24 20:58:58 +00:00

64 lines
1.6 KiB
Makefile

# $OpenBSD: Makefile,v 1.48 2010/10/24 21:40:09 ajacoutot Exp $
COMMENT = Mozilla web browser
MOZILLA_VERSION = 3.5.14
MOZILLA_BRANCH = 1.9.1
MOZILLA_PROJECT = firefox35
MOZILLA_CODENAME = browser
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
CATEGORIES = www
FLAVORS = debug
FLAVOR ?=
HOMEPAGE= http://www.mozilla.org/projects/firefox/
# mozilla public license
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES = http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${MOZILLA_VERSION}/source/
DISTNAME = firefox-${MOZILLA_VERSION}.source
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
CONFIGURE_ARGS += --enable-system-sqlite
LIB_DEPENDS += :sqlite3->=3.6.16:databases/sqlite3
WANTLIB += sqlite3.>=13.3
.if ${FLAVOR:L:Mdebug}
CONFIGURE_ARGS+=--enable-debug
.endif
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>