summaryrefslogtreecommitdiff
path: root/www/seamonkey/options.mk
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2009-11-29 00:40:42 +0000
committertnn <tnn@pkgsrc.org>2009-11-29 00:40:42 +0000
commit7cbc5c742a3f52ebee4ceb40062698f1cad41532 (patch)
tree79bbd4ab6cfc484d628eaf1ce787965304321674 /www/seamonkey/options.mk
parent2fa8551333fefafef396b2009538c528b4892fb7 (diff)
downloadpkgsrc-7cbc5c742a3f52ebee4ceb40062698f1cad41532.tar.gz
Update to seamonkey-2.0, from pkgsrc-wip. Hijack maintainership.
Many, many changes; the biggest being that it's based on firefox 3.5. For an exhaustive list of changes, see: http://www.seamonkey-project.org/releases/seamonkey2.0/changes
Diffstat (limited to 'www/seamonkey/options.mk')
-rw-r--r--www/seamonkey/options.mk63
1 files changed, 28 insertions, 35 deletions
diff --git a/www/seamonkey/options.mk b/www/seamonkey/options.mk
index 1c0847a4246..48ff81c1883 100644
--- a/www/seamonkey/options.mk
+++ b/www/seamonkey/options.mk
@@ -1,28 +1,34 @@
-# $NetBSD: options.mk,v 1.15 2008/12/17 18:30:09 tnn Exp $
-# used by www/firefox/Makefile.common
-# used by www/firefox3/Makefile.common
-# used by www/seamonkey/Makefile.common
+# $NetBSD: options.mk,v 1.16 2009/11/29 00:40:42 tnn Exp $
-PKG_OPTIONS_VAR= PKG_OPTIONS.gecko
-PKG_SUPPORTED_OPTIONS= debug official-mozilla-branding
+PKG_OPTIONS_VAR= PKG_OPTIONS.seamonkey
+PKG_SUPPORTED_OPTIONS= debug mozilla-jemalloc gnome
-.if ( ${MOZILLA_BIN} == "firefox-bin" || ${MOZILLA_BIN} == "seamonkey-bin" || ${MOZILLA_BIN} == "thunderbird-bin" )
-PKG_SUPPORTED_OPTIONS += mozilla-single-profile
+PLIST_VARS+= gnome debug
+
+.if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
+PKG_SUGGESTED_OPTIONS+= mozilla-jemalloc
.endif
-.if ( ${MOZILLA} == "firefox3" )
-PKG_SUPPORTED_OPTIONS += mozilla-jemalloc
-. if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
-PKG_SUGGESTED_OPTIONS += mozilla-jemalloc
-. endif
+.if !empty(MACHINE_ARCH:Mi386) || !empty(MACHINE_ARCH:Msparc) || \
+ !empty(MACHINE_ARCH:Marm)
+PKG_SUPPORTED_OPTIONS+= mozilla-jit
+PKG_SUGGESTED_OPTIONS+= mozilla-jit
+NANOJIT_ARCH.i386= i386
+NANOJIT_ARCH.arm= ARM
+NANOJIT_ARCH.sparc= Sparc
.endif
.include "../../mk/bsd.options.mk"
-# including jemalloc can cause issues on some platforms (e.g. SunOS 5.11)
-# so expose an option to allow users to build FF without it.
-# NOTE: This currently has only been known to happen on SunOS 5.11 x86
-# as a full list of systems is unknown the default is to still use it
+.if !empty(PKG_OPTIONS:Mgnome)
+.include "../../devel/libgnomeui/buildlink3.mk"
+.include "../../sysutils/gnome-vfs/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-gnomevfs --enable-dbus --enable-gnomeui
+PLIST.gnome= yes
+.else
+CONFIGURE_ARGS+= --disable-gnomevfs --disable-dbus --disable-gnomeui
+.endif
+
.if !empty(PKG_OPTIONS:Mmozilla-jemalloc)
CONFIGURE_ARGS+= --enable-jemalloc
.else
@@ -31,26 +37,13 @@ CONFIGURE_ARGS+= --disable-jemalloc
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-debug
+PLIST.debug= yes
.else
CONFIGURE_ARGS+= --disable-debug
.endif
-.if !empty(PKG_OPTIONS:Mmozilla-single-profile)
-CONFIGURE_ARGS+= --enable-single-profile
-.endif
-
-# Enable Official mozilla.org Branding for Firefox or Thunderbird.
-# Note that you cannot distribute builds with Official Branding
-# without permission of the Mozilla Foundation.
-# See http://www.mozilla.org/foundation/trademarks/
-.if !empty(PKG_OPTIONS:Mofficial-mozilla-branding) && ${MOZILLA_BIN} != "seamonkey-bin"
-CONFIGURE_ARGS+= --enable-official-branding
-# Mozilla prohibits distribution of packages with their trademarks.
-# It is an open question if this makes the package non-Free. Mozilla
-# claims not, but currently pkgsrc has a "open source implies no
-# redistribution restrictions" notion.
-LICENSE= mozilla-trademark-license
-RESTRICTED= Trademark holder prohibits distribution of modified versions.
-NO_BIN_ON_CDROM= ${RESTRICTED}
-NO_BIN_ON_FTP= ${RESTRICTED}
+.if !empty(PKG_OPTIONS:Mmozilla-jit)
+CONFIGURE_ARGS+= --enable-jit
+.else
+CONFIGURE_ARGS+= --disable-jit
.endif