pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/openoffice2 Use PKG_OPTIONS_OPTIONAL_GROUPS inste...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aae6dae27df0
branches:  trunk
changeset: 533938:aae6dae27df0
user:      hira <hira%pkgsrc.org@localhost>
date:      Mon Oct 08 07:05:14 2007 +0000

description:
Use PKG_OPTIONS_OPTIONAL_GROUPS instead of PKG_OPTIONS_REQUIRED_GROUPS.
Remove ooo-without-browser option.  Pointed out by wiz@.

diffstat:

 misc/openoffice2/options.mk |  31 +++++++++++--------------------
 1 files changed, 11 insertions(+), 20 deletions(-)

diffs (50 lines):

diff -r 6ade0a01aa33 -r aae6dae27df0 misc/openoffice2/options.mk
--- a/misc/openoffice2/options.mk       Mon Oct 08 01:15:01 2007 +0000
+++ b/misc/openoffice2/options.mk       Mon Oct 08 07:05:14 2007 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: options.mk,v 1.12 2007/10/08 01:15:01 hira Exp $
+# $NetBSD: options.mk,v 1.13 2007/10/08 07:05:14 hira Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.openoffice2
 PKG_SUPPORTED_OPTIONS=         cups gnome gtk2 kde
-PKG_OPTIONS_REQUIRED_GROUPS=   browser
-PKG_OPTIONS_GROUP.browser=     firefox seamonkey ooo-without-browser
-                               # firefox-gtk1 seamonkey-gtk1
+PKG_OPTIONS_OPTIONAL_GROUPS=   browser
+PKG_OPTIONS_GROUP.browser=     firefox seamonkey # firefox-gtk1 seamonkey-gtk1
 # The list from instsetoo_native/util/pack.lst:OpenOfficeLanguagepack.
 OO_SUPPORTED_LANGUAGES=                en-US af as-IN be-BY bg br bs ca cs da de dz \
                                el en-GB en-ZA es et fi fr ga gl gu he hi-IN \
@@ -29,24 +28,16 @@
 .if !empty(PKG_OPTIONS:Mfirefox)
 CONFIGURE_ARGS+=       --with-system-mozilla=firefox
 .include "../../www/firefox/buildlink3.mk"
-.endif
-
-.if !empty(PKG_OPTIONS:Mfirefox-gtk1)
-CONFIGURE_ARGS+=       --with-system-mozilla=firefox
-.include "../../www/firefox-gtk1/buildlink3.mk"
-.endif
-
-.if !empty(PKG_OPTIONS:Mseamonkey)
+.elif !empty(PKG_OPTIONS:Mseamonkey)
 CONFIGURE_ARGS+=       --with-system-mozilla=seamonkey
 .include "../../www/seamonkey/buildlink3.mk"
-.endif
-
-.if !empty(PKG_OPTIONS:Mseamonkey-gtk1)
-CONFIGURE_ARGS+=       --with-system-mozilla=seamonkey
-.include "../../www/seamonkey-gtk1/buildlink3.mk"
-.endif
-
-.if !empty(PKG_OPTIONS:Mooo-without-browser)
+#.elif !empty(PKG_OPTIONS:Mfirefox-gtk1)
+#CONFIGURE_ARGS+=      --with-system-mozilla=firefox
+#.include "../../www/firefox-gtk1/buildlink3.mk"
+#.elif !empty(PKG_OPTIONS:Mseamonkey-gtk1)
+#CONFIGURE_ARGS+=      --with-system-mozilla=seamonkey
+#.include "../../www/seamonkey-gtk1/buildlink3.mk"
+.else
 CONFIGURE_ARGS+=       --disable-mozilla
 .endif
 



Home | Main Index | Thread Index | Old Index