diff options
author | ryoon <ryoon@pkgsrc.org> | 2017-04-27 13:38:18 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2017-04-27 13:38:18 +0000 |
commit | f252193acac494999c6e8b12495bb2980192b113 (patch) | |
tree | 80b8e2ca1b43e35740f8c0d5133f6a1afefa4e6f /mail/thunderbird45/options.mk | |
parent | 92e8a631ebb2ce6cd34f9c4c5e1f2b4c4a4d990b (diff) | |
download | pkgsrc-f252193acac494999c6e8b12495bb2980192b113.tar.gz |
Import thunderbird45-45.8.0 as mail/thunderbird45.
Mozilla Thunderbird is a redesign of the Mozilla mail component. The
goal is to produce a cross platform stand alone mail application using
the XUL user interface language. This version uses the gtk2 toolkit.
Diffstat (limited to 'mail/thunderbird45/options.mk')
-rw-r--r-- | mail/thunderbird45/options.mk | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/mail/thunderbird45/options.mk b/mail/thunderbird45/options.mk new file mode 100644 index 00000000000..66c770fb853 --- /dev/null +++ b/mail/thunderbird45/options.mk @@ -0,0 +1,76 @@ +# $NetBSD: options.mk,v 1.1 2017/04/27 13:38:18 ryoon Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.thunderbird45 +PKG_SUPPORTED_OPTIONS= alsa debug mozilla-jemalloc gnome \ + official-mozilla-branding pulseaudio \ + mozilla-lightning +PKG_SUGGESTED_OPTIONS= mozilla-lightning + +PLIST_VARS+= branding nobranding debug gnome jemalloc + +PKG_SUGGESTED_OPTIONS.Linux+= alsa mozilla-jemalloc +PKG_SUGGESTED_OPTIONS.*+= pulseaudio + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Malsa) +CONFIGURE_ARGS+= --enable-alsa +.include "../../audio/alsa-lib/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-alsa +.endif + +.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) +PLIST.jemalloc= yes +CONFIGURE_ARGS+= --enable-jemalloc +.else +CONFIGURE_ARGS+= --disable-jemalloc +.endif + +.if !empty(PKG_OPTIONS:Mdebug) +CONFIGURE_ARGS+= --enable-debug --enable-debug-symbols --disable-optimize +CONFIGURE_ARGS+= --disable-install-strip +PLIST.debug= yes +.else +CONFIGURE_ARGS+= --disable-debug +CONFIGURE_ARGS+= --enable-optimize=-O2 +CONFIGURE_ARGS+= --enable-install-strip +BUILDLINK_TRANSFORM+= rm:-g +.endif + +.if !empty(PKG_OPTIONS:Mpulseaudio) +.include "../../audio/pulseaudio/buildlink3.mk" +CONFIGURE_ARGS+= --enable-pulseaudio +.else +CONFIGURE_ARGS+= --disable-pulseaudio +.endif + +.if !empty(PKG_OPTIONS:Mmozilla-lightning) +CONFIGURE_ARGS+= --enable-calendar +PLIST_SRC+= PLIST.lightning +XPI_FILES+= ${WRKSRC}/${OBJDIR}/dist/xpi-stage/gdata-provider.xpi +XPI_FILES+= ${WRKSRC}/${OBJDIR}/dist/xpi-stage/lightning.xpi +.else +CONFIGURE_ARGS+= --disable-calendar +.endif + +.if !empty(PKG_OPTIONS:Mofficial-mozilla-branding) +CONFIGURE_ARGS+= --enable-official-branding +PLIST.branding= yes +LICENSE= mozilla-trademark-license +RESTRICTED= Trademark holder prohibits distribution of modified versions. +NO_BIN_ON_CDROM= ${RESTRICTED} +NO_BIN_ON_FTP= ${RESTRICTED} +.else +CONFIGURE_ARGS+= --disable-official-branding +PLIST.nobranding= yes +.endif |