summaryrefslogtreecommitdiff
path: root/editors/openoffice-3/Makefile
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2012-06-08 02:42:29 +0000
committerMaho Nakata <maho@FreeBSD.org>2012-06-08 02:42:29 +0000
commit88b0a26e133a985af5ac6bca6f708d56f45628b5 (patch)
tree48851a7031a1ec716d74aff69bdaac43a27bea3b /editors/openoffice-3/Makefile
parent- Update to 1.7.2 (diff)
allow gconf2 and gnomevfs2 to be optional.
PR: 168781 Submitted by: scf@
Notes
Notes: svn path=/head/; revision=298718
Diffstat (limited to 'editors/openoffice-3/Makefile')
-rw-r--r--editors/openoffice-3/Makefile18
1 files changed, 17 insertions, 1 deletions
diff --git a/editors/openoffice-3/Makefile b/editors/openoffice-3/Makefile
index c2c1b08e2e2c..a092cc73969a 100644
--- a/editors/openoffice-3/Makefile
+++ b/editors/openoffice-3/Makefile
@@ -23,7 +23,7 @@ LICENSE= AL2
NO_LATEST_LINK= yes
-USE_GNOME= desktopfileutils gtk20 libxslt libidl gconf2 gnomevfs2 glib20
+USE_GNOME= desktopfileutils gtk20 libxslt libidl glib20
USE_XORG= x11 ice xaw xau xext xrender xrandr \
xi xt xcursor xdamage xcomposite xfixes
USE_GL= gl glu
@@ -36,6 +36,10 @@ USE_BZIP2= yes
WITHOUT_CPU_CFLAGS= true
MAKE_JOBS_SAFE= yes
+OPTIONS_DEFINE= GCONF GNOMEVFS
+OPTIONS_DEFAULT=GCONF GNOMEVFS
+GNOMEVFS_DESC= Enable GNOME Virtual File System
+
.include <bsd.port.pre.mk>
USE_JAVA= yes
@@ -43,6 +47,18 @@ JAVA_BUILD= jdk
JAVA_VENDOR= freebsd bsdjava openjdk
JAVA_VERSION= 1.5 1.6
+.if !defined(WITHOUT_GCONF)
+USE_GNOME+= gconf2
+.else
+CONFIGURE_ARGS+=--disable-gconf
+.endif
+
+.if !defined(WITHOUT_GNOMEVFS)
+USE_GNOME+= gnomevfs2
+.else
+CONFIGURE_ARGS+=--disable-gnome-vfs
+.endif
+
.include <${FILESDIR}/Makefile.localized>
ONLY_FOR_ARCHS= i386 amd64