freebsd-ports/editors/openoffice.org-1.0/files/Makefile.knobs
Maho Nakata 4129e93b09 Use libart instead of GPC for default, patch is taken from
http://cvs.gnome.org/viewcvs/*checkout*/openoffice/patches/OOO_1_0_3/gpc-libart.diff

Implicitly suggested by:	 Mikhail Teterin <mi+mx@aldan.algebra.com
Thanks to: YABUKI Yukiharu <yabuki@good-day.co.jp>
2005-10-31 07:16:58 +00:00

68 lines
1.7 KiB
Makefile

.if defined(WITH_DEBUG)
CFLAGS+= -g
.if ${WITH_DEBUG} == 2
BUILD= dmake debug="true"
.else
BUILD= dmake
.endif
.else
BUILD= dmake strip="true"
.endif
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= --enable-debug
.endif
.if defined(ALL_LOCALIZED_LANGS)
CONFIGURE_ARGS+= --with-lang=ALL
.else
CONFIGURE_ARGS+= --with-lang=${LANG_CONFIGURE_ARG}
.endif
pre-fetch:
@${ECHO}
@${ECHO} "OPTIONS:"
.if !defined(WITH_DEBUG)
@${ECHO}
@${ECHO} "You can compile OO with debug symbols"
@${ECHO} "if you call make with WITH_DEBUG=1"
@${ECHO}
@${ECHO} "If you set WITH_DEBUG=2, you add internal"
@${ECHO} "OO.org debug support."
@${ECHO}
.endif
.if !defined(LOCALIZED_LANG)
@${ECHO}
@${ECHO} "You can select the language for OOo by making it with 'make LOCALIZED_LANG=xx'"
@${ECHO} "while xx can be one of the following:"
@${ECHO} "ar de dk el es fr it ja ko nl pl pt ru"
@${ECHO} "sv tr zh-CN zh-TW"
@${ECHO}
.endif
.if !defined(WITH_TTF_BYTECODE_ENABLED)
@${ECHO}
@${ECHO} "You may set WITH_TTF_BYTECODE_ENABLED=YES"
@${ECHO} "if you like to use the Freetype library to"
@${ECHO} "render TTF fonts. Normally the TTF lib is"
@${ECHO} "not used to render fonts."
@${ECHO}
@${ECHO} "If you have licensed the Apple patents"
@${ECHO} "US05155805 US05159668 and US05325479"
@${ECHO} "you can enable this option to get better"
@${ECHO} "quality of glyphs at small bitmap sizes."
@${ECHO}
.endif
.if !defined(WITH_GPC)
@${ECHO}
@${ECHO} "You can compile OOo with gpc instead by"
@${ECHO} "make -DWITH_GPC"
.endif
@${ECHO}
@${ECHO} "NOTICE:"
@${ECHO}
@${ECHO} "To build Openoffice, you should have a lot"
.if defined(WITH_DEBUG)
@${ECHO} "of free diskspace (~ 8GB)."
.else
@${ECHO} "of free diskspace (~ 4GB)."
.endif