summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-3/files/Makefile.knobs
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice.org-3/files/Makefile.knobs')
-rw-r--r--editors/openoffice.org-3/files/Makefile.knobs30
1 files changed, 30 insertions, 0 deletions
diff --git a/editors/openoffice.org-3/files/Makefile.knobs b/editors/openoffice.org-3/files/Makefile.knobs
index 57c658657278..990b8c9a623b 100644
--- a/editors/openoffice.org-3/files/Makefile.knobs
+++ b/editors/openoffice.org-3/files/Makefile.knobs
@@ -58,6 +58,19 @@ CONFIGURE_ARGS+= --with-system-icu=yes
CONFIGURE_ARGS+= --with-system-icu=no
.endif
+.if defined(WITH_GRAPHITE)
+CONFIGURE_ARGS+= --enable-graphite=yes --without-stlport
+.else
+CONFIGURE_ARGS+= --enable-graphite=no
+.endif
+
+.if defined(WITH_SYSTEM_GRAPHITE) && defined(WITH_GRAPHITE)
+LIB_DEPENDS+= graphite.3:${PORTSDIR}/graphics/silgraphite
+CONFIGURE_ARGS+= --with-system-graphite=yes
+.else
+CONFIGURE_ARGS+= --with-system-graphite=no
+.endif
+
pre-fetch:
@${ECHO} "OPTIONS:"
.if !defined(WITH_DEBUG)
@@ -80,6 +93,23 @@ pre-fetch:
@${ECHO} "You can compile OOo with devel/icu from ports with"
@${ECHO} "make -DWITH_SYSTEM_ICU"
.endif
+.if !defined(WITH_GRAPHITE)
+ @${ECHO}
+ @${ECHO} "You can compile OOo with Graphite smart font rendering with"
+ @${ECHO} "make -DWITH_GRAPHITE"
+.else
+ @${ECHO}
+ @${ECHO} "WARNING: Graphite support enabled, --without-stlport added"
+ @${ECHO} "to configure arguments."
+.endif
+.if !defined(WITH_SYSTEM_GRAPHITE)
+ @${ECHO}
+ @${ECHO} "You can compile OOo with graphics/silgraphite from ports with"
+ @${ECHO} "make -DWITH_SYSTEM_GRAPHITE"
+.elif !defined(WITH_GRAPHITE)
+ @${ECHO}
+ @${ECHO} "To use system Graphite, WITH_GRAPHITE must be set as well."
+.endif
.if !defined(WITHOUT_CUPS)
@${ECHO}
@${ECHO} "You can compile OOo without CUPS support with"