Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
# Makefile for knobs
|
|
|
|
# Whom: Maho Nakata <maho@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
2008-04-03 09:36:17 +02:00
|
|
|
# Makefile for knobs
|
|
|
|
# Whom: Maho Nakata <maho@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
|
2006-09-07 23:43:21 +02:00
|
|
|
CONFIGURE_ARGS+= --with-jdk-home="${JAVA_HOME}" --with-ant-home="${LOCALBASE}/share/java/apache-ant"
|
2007-05-26 23:45:56 +02:00
|
|
|
|
2010-02-14 00:50:49 +01:00
|
|
|
.if defined(WITH_KDE4)
|
|
|
|
CONFIGURE_ARGS+= --enable-kde4 QT4DIR="${QT_PREFIX}" QT4LIB="${QT_LIBDIR}" QT4INC="${QT_INCDIR}" KDE4DIR="${KDE4_PREFIX}"
|
2010-02-19 01:34:46 +01:00
|
|
|
QT_COMPONENTS+= moc_build
|
2010-02-14 00:50:49 +01:00
|
|
|
.endif
|
2010-07-17 01:52:02 +02:00
|
|
|
|
2005-02-07 11:31:07 +01:00
|
|
|
.if defined(WITH_KDE)
|
2005-04-24 15:23:15 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-kde QTDIR="${QT_PREFIX}"
|
2005-02-07 11:31:07 +01:00
|
|
|
.endif
|
|
|
|
|
2008-04-03 23:30:51 +02:00
|
|
|
.if defined(WITHOUT_CUPS)
|
|
|
|
CONFIGURE_ARGS+= --enable-cups=no
|
|
|
|
.else
|
2010-02-19 10:43:21 +01:00
|
|
|
LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-client
|
2008-04-03 23:30:51 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-cups=yes
|
|
|
|
.endif
|
|
|
|
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
.if defined(WITHOUT_MOZILLA)
|
|
|
|
CONFIGURE_ARGS+= --disable-mozilla
|
2005-03-09 12:23:39 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --enable-build-mozilla
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
.endif
|
|
|
|
|
2009-04-23 09:55:31 +02:00
|
|
|
.if defined(WITHOUT_GNOME)
|
|
|
|
CONFIGURE_ARGS+= --disable-gconf --disable-gnome-vfs
|
2006-09-01 07:47:55 +02:00
|
|
|
.else
|
2009-04-23 09:55:31 +02:00
|
|
|
USE_GNOME+= gconf2 gnomevfs2
|
2006-09-01 07:47:55 +02:00
|
|
|
.endif
|
2006-11-12 23:11:35 +01:00
|
|
|
.if defined(WITH_EVOLUTION2)
|
|
|
|
CONFIGURE_ARGS+= --enable-evolution2=yes
|
|
|
|
.else
|
|
|
|
USE_GNOME+= glib20
|
|
|
|
.endif
|
|
|
|
|
2007-04-09 18:14:28 +02:00
|
|
|
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
|
|
|
|
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
.if defined(ALL_LOCALIZED_LANGS)
|
2005-01-28 09:42:21 +01:00
|
|
|
CONFIGURE_ARGS+= --with-lang=ALL
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-lang=${LOCALIZED_LANG}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_DEBUG)
|
2008-04-02 02:48:06 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-debug --enable-symbols=TRUE --enable-dbgutil
|
2008-04-10 01:25:30 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --enable-symbols=SMALL
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
.endif
|
|
|
|
|
2008-04-26 10:01:13 +02:00
|
|
|
.if defined(WITH_SYSTEM_ICU)
|
|
|
|
LIB_DEPENDS+= icule:${PORTSDIR}/devel/icu
|
|
|
|
CONFIGURE_ARGS+= --with-system-icu=yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-system-icu=no
|
|
|
|
.endif
|
|
|
|
|
2010-02-19 13:16:53 +01:00
|
|
|
.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
|
|
|
|
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
pre-fetch:
|
|
|
|
@${ECHO} "OPTIONS:"
|
|
|
|
.if !defined(WITH_DEBUG)
|
|
|
|
@${ECHO}
|
2008-04-02 02:48:06 +02:00
|
|
|
@${ECHO} "You can compile OOo with debug symbols/supports with"
|
|
|
|
@${ECHO} "make -DWITH_DEBUG"
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
.endif
|
2005-07-22 11:26:26 +02:00
|
|
|
.if !defined(WITHOUT_MOZILLA)
|
|
|
|
@${ECHO}
|
2009-07-25 04:22:27 +02:00
|
|
|
@${ECHO} "You can compile OOo without Mozilla/Mozilla NSS-using components"
|
2005-07-22 11:26:26 +02:00
|
|
|
@${ECHO} "make -DWITHOUT_MOZILLA"
|
|
|
|
.endif
|
2009-04-23 09:55:31 +02:00
|
|
|
.if !defined(WITHOUT_GNOME)
|
2006-09-01 07:47:55 +02:00
|
|
|
@${ECHO}
|
|
|
|
@${ECHO} "You can compile OOo without gnome VFS support with"
|
2009-04-23 09:55:31 +02:00
|
|
|
@${ECHO} "make -DWITHOUT_GNOME"
|
2006-09-01 07:47:55 +02:00
|
|
|
.endif
|
2008-04-26 10:01:13 +02:00
|
|
|
.if !defined(WITH_SYSTEM_ICU)
|
|
|
|
@${ECHO}
|
|
|
|
@${ECHO} "You can compile OOo with devel/icu from ports with"
|
|
|
|
@${ECHO} "make -DWITH_SYSTEM_ICU"
|
|
|
|
.endif
|
2010-02-19 13:16:53 +01:00
|
|
|
.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
|
2008-04-03 23:30:51 +02:00
|
|
|
.if !defined(WITHOUT_CUPS)
|
|
|
|
@${ECHO}
|
|
|
|
@${ECHO} "You can compile OOo without CUPS support with"
|
|
|
|
@${ECHO} "make -DWITHOUT_CUPS"
|
|
|
|
.endif
|
2005-02-07 11:31:07 +01:00
|
|
|
.if !defined(WITH_KDE)
|
|
|
|
@${ECHO}
|
2005-07-22 11:26:26 +02:00
|
|
|
@${ECHO} "You can compile OOo to use Qt/KDE vclplug with"
|
2005-02-07 11:31:07 +01:00
|
|
|
@${ECHO} "make -DWITH_KDE"
|
2005-10-31 09:01:25 +01:00
|
|
|
.endif
|
2010-02-14 00:50:49 +01:00
|
|
|
.if !defined(WITH_KDE4)
|
|
|
|
@${ECHO}
|
|
|
|
@${ECHO} "You can compile OOo to use Qt/KDE4 vclplug with"
|
|
|
|
@${ECHO} "make -DWITH_KDE4"
|
|
|
|
.endif
|
2006-11-12 23:11:35 +01:00
|
|
|
.if !defined(WITH_EVOLUTION2)
|
|
|
|
@${ECHO}
|
|
|
|
@${ECHO} "You can compile OOo with evolution2 support by"
|
|
|
|
@${ECHO} "make -DWITH_EVOLUTION2"
|
2007-01-07 13:45:07 +01:00
|
|
|
.endif
|
2008-04-06 07:11:20 +02:00
|
|
|
.if ${LOCALIZED_LANG} != "alllangs"
|
2007-01-07 13:45:07 +01:00
|
|
|
@${ECHO}
|
|
|
|
@${ECHO} "You can compile OOo with full localized language support by"
|
2008-04-06 07:11:20 +02:00
|
|
|
@${ECHO} "make LOCALIZED_LANG=alllangs"
|
2008-03-30 01:00:51 +01:00
|
|
|
.endif
|
|
|
|
@${ECHO}
|
|
|
|
@${ECHO} "You can select the language for OOo by making it with:"
|
|
|
|
@${ECHO} "make LOCALIZED_LANG=xx"
|
|
|
|
@${ECHO} "while xx can be one of the following"
|
|
|
|
@${ECHO} "af ar as-IN be-BY bg br bn bn-BD bn-IN bs ca cs cy da"
|
|
|
|
@${ECHO} "de dz el en-GB en-US en-ZA eo es et eu fa fi fr ga gl"
|
|
|
|
@${ECHO} "gu-IN he hi-IN hr hu it ja ka km kn ko ku lo lt lv mk"
|
|
|
|
@${ECHO} "ms ml-IN mr-IN ne nb nl nn nr ns oc or-IN pa-IN pl pt"
|
|
|
|
@${ECHO} "pt-BR ru rw sk sl sh sr ss st sv sw sw-TZ te-IN ti-ER"
|
|
|
|
@${ECHO} "ta-IN th tn tr ts tg ur-IN uk uz ve vi xh zh-CN zh-TW"
|
|
|
|
@${ECHO} "zu"
|
2008-04-03 09:36:17 +02:00
|
|
|
@${ECHO} "Current setting: ${LOCALIZED_LANG}"
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
@${ECHO}
|
|
|
|
@${ECHO} "NOTICE:"
|
|
|
|
@${ECHO}
|
|
|
|
@${ECHO} "To build OOo, you should have a lot"
|
|
|
|
.if defined(WITH_DEBUG)
|
2006-10-10 04:32:28 +02:00
|
|
|
@${ECHO} "of free diskspace (~ 18GB) and memory (~ 2GB)."
|
2008-04-06 07:11:20 +02:00
|
|
|
.elif ${LOCALIZED_LANG} == "alllangs"
|
2007-01-07 13:45:07 +01:00
|
|
|
@${ECHO} "of free diskspace (~ 35GB) and memory (~ 2GB)."
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
.else
|
2007-09-04 10:37:37 +02:00
|
|
|
@${ECHO} "of free diskspace (~ 11GB) and memory (~ 2GB)."
|
Update to 1.9m71 and unbreak
Special thanks to: Pavel Janik, and Kris Kennaway
They contributed for in many ways.
Additional contributors. thank you very much for all:
daichi, Eric Bachard, kan, lofi, Martin Hollmichel,
nork, obrien, Sander Vesik, sem, and Stefan Taxhet
2005-01-10 13:28:20 +01:00
|
|
|
.endif
|
|
|
|
@${ECHO} "If you want SDK and/or solver, please type make sdk and/or make solver"
|