diff options
Diffstat (limited to 'editors/openoffice-3/Makefile')
-rw-r--r-- | editors/openoffice-3/Makefile | 18 |
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 |