2011-02-01 21:18:07 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2012-04-22 22:38:32 +02:00
|
|
|
.include "${.CURDIR}/Makefile.common"
|
|
|
|
|
2013-02-15 17:54:57 +01:00
|
|
|
PORTREVISION= 2
|
2012-04-23 23:33:35 +02:00
|
|
|
|
2012-04-22 22:38:32 +02:00
|
|
|
MASTER_SITE_SUBDIR= src/${PORTVERSION}/
|
2013-02-06 21:07:58 +01:00
|
|
|
MASTER_SITES+= http://dev-www.libreoffice.org/src/:src \
|
|
|
|
http://dev-www.libreoffice.org/extern/:ext
|
2011-02-01 21:18:07 +01:00
|
|
|
|
|
|
|
COMMENT= Full integrated office productivity suite
|
|
|
|
|
2011-10-31 18:31:12 +01:00
|
|
|
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \
|
|
|
|
gpatch:${PORTSDIR}/devel/patch \
|
|
|
|
unzip:${PORTSDIR}/archivers/unzip \
|
|
|
|
bash:${PORTSDIR}/shells/bash \
|
|
|
|
dmake:${PORTSDIR}/devel/dmake \
|
2012-06-05 14:50:25 +02:00
|
|
|
p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip \
|
2011-10-31 18:31:12 +01:00
|
|
|
${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf \
|
2012-07-01 10:32:04 +02:00
|
|
|
${LOCALBASE}/lib/libboost_regex.a:${PORTSDIR}/devel/boost-libs \
|
2012-08-23 18:00:36 +02:00
|
|
|
${LOCALBASE}/include/mdds/global.hpp:${PORTSDIR}/devel/mdds \
|
2011-10-31 18:31:12 +01:00
|
|
|
vigra-config:${PORTSDIR}/graphics/vigra
|
2012-04-22 22:38:32 +02:00
|
|
|
|
2011-10-31 18:31:12 +01:00
|
|
|
LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo \
|
2013-02-04 21:03:49 +01:00
|
|
|
cdr:${PORTSDIR}/graphics/libcdr \
|
|
|
|
lcms2:${PORTSDIR}/graphics/lcms2 \
|
|
|
|
clucene-core:${PORTSDIR}/textproc/clucene \
|
2011-10-31 18:31:12 +01:00
|
|
|
xml2.5:${PORTSDIR}/textproc/libxml2 \
|
|
|
|
xslt.2:${PORTSDIR}/textproc/libxslt \
|
|
|
|
expat.6:${PORTSDIR}/textproc/expat2 \
|
2012-12-19 00:09:07 +01:00
|
|
|
icutu:${PORTSDIR}/devel/icu \
|
2011-10-31 18:31:12 +01:00
|
|
|
jpeg.11:${PORTSDIR}/graphics/jpeg \
|
|
|
|
curl.6:${PORTSDIR}/ftp/curl \
|
|
|
|
hunspell-1.3.0:${PORTSDIR}/textproc/hunspell \
|
|
|
|
mythes-1.2.0:${PORTSDIR}/textproc/mythes \
|
|
|
|
hyphen.2:${PORTSDIR}/textproc/hyphen \
|
|
|
|
poppler-glib.8:${PORTSDIR}/graphics/poppler-glib \
|
|
|
|
wpd-0.9.9:${PORTSDIR}/textproc/libwpd \
|
|
|
|
wpg-0.2.2:${PORTSDIR}/graphics/libwpg \
|
|
|
|
wps-0.2.2:${PORTSDIR}/textproc/libwps \
|
|
|
|
rdf.0:${PORTSDIR}/textproc/redland \
|
2012-12-19 00:09:07 +01:00
|
|
|
exttextcat-2.0.0:${PORTSDIR}/textproc/libexttextcat \
|
2011-10-31 18:31:12 +01:00
|
|
|
lpsolve55:${PORTSDIR}/math/lp_solve \
|
2012-04-22 22:38:32 +02:00
|
|
|
visio-0.0.0:${PORTSDIR}/textproc/libvisio \
|
2012-12-19 00:09:07 +01:00
|
|
|
graphite2:${PORTSDIR}/graphics/graphite2 \
|
2012-04-22 22:38:32 +02:00
|
|
|
nss3.1:${PORTSDIR}/security/nss \
|
2013-02-04 21:03:49 +01:00
|
|
|
png15:${PORTSDIR}/graphics/png
|
2012-04-22 22:38:32 +02:00
|
|
|
|
2012-04-24 09:43:10 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/Liberation/LiberationMono-Bold.ttf:${PORTSDIR}/x11-fonts/liberation-fonts-ttf \
|
|
|
|
${LOCALBASE}/lib/X11/fonts/LinLibertineG/LinLibertine_DR_G.ttf:${PORTSDIR}/x11-fonts/linuxlibertine-g \
|
2012-04-22 22:38:32 +02:00
|
|
|
${LOCALBASE}/lib/X11/fonts/dejavu/DejaVuSans.ttf:${PORTSDIR}/x11-fonts/dejavu \
|
2012-12-17 00:18:28 +01:00
|
|
|
${LOCALBASE}/lib/X11/fonts/GentiumBasic/GenBasI.ttf:${PORTSDIR}/x11-fonts/gentium-basic
|
2011-10-31 18:31:12 +01:00
|
|
|
|
2011-08-24 10:47:05 +02:00
|
|
|
CONFLICTS_INSTALL= libreoffice-legacy-[0-9]*
|
2011-08-23 15:30:54 +02:00
|
|
|
|
2012-04-22 22:38:32 +02:00
|
|
|
#LO_COMPONENTS= binfilter dictionaries help translations
|
|
|
|
LO_COMPONENTS= help
|
2011-08-22 12:05:37 +02:00
|
|
|
|
2012-04-22 22:38:32 +02:00
|
|
|
USE_XZ= yes
|
|
|
|
USE_PYTHON= yes
|
2012-07-06 16:02:04 +02:00
|
|
|
USE_QT4= # empty but required
|
2011-08-22 12:05:37 +02:00
|
|
|
#l10n
|
2011-02-01 21:18:07 +01:00
|
|
|
|
|
|
|
DIST_SUBDIR= libreoffice
|
2012-04-22 22:38:32 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-core-${LOVERSION}
|
2011-02-01 21:18:07 +01:00
|
|
|
|
|
|
|
LODESTDIR= ${WRKDIR}/loinstall
|
|
|
|
|
2012-04-22 22:38:32 +02:00
|
|
|
DISTFILES+= ${PORTNAME}-core-${LOVERSION}${EXTRACT_SUFX}
|
2011-08-22 12:05:37 +02:00
|
|
|
.for components in ${LO_COMPONENTS}
|
|
|
|
DISTFILES+= ${PORTNAME}-${components}-${LOVERSION}${EXTRACT_SUFX}
|
2011-02-01 21:18:07 +01:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
EXTRACT_ONLY:= ${DISTFILES}
|
|
|
|
|
2013-02-15 17:54:57 +01:00
|
|
|
DISTFILES+= 0d2dcdfbf28d6208751b33057f5361f0-libcmis-0.2.3.tar.gz:src \
|
|
|
|
1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz:src
|
2011-02-01 21:18:07 +01:00
|
|
|
|
2013-02-04 21:03:49 +01:00
|
|
|
USE_AUTOTOOLS= autoconf aclocal
|
2011-02-01 21:18:07 +01:00
|
|
|
USE_BDB= yes
|
|
|
|
USE_PERL5_BUILD= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
2013-03-08 12:32:11 +01:00
|
|
|
USES= bison
|
2011-02-01 21:18:07 +01:00
|
|
|
WANT_GNOME= yes
|
2012-04-22 22:38:32 +02:00
|
|
|
|
- update to 3.4.3
- New options:
* SYSTRAY to activate the system try icons (quick start)
* GTK (which to be able to build a completly gtk free version of libreoffice please notice that dependencies can bring back gtk, for example libgsf if not built with the following knob: WITHOUT_GCONF)
* the GNOME option automatically activate the GTK one
* PYUNO do enable/disable the build of the python bindings for the UNO framework
- Disable system notification while building
- Remove the wiki-publisher extensions, it forces the build to have 3 apache-commons distfiles bundles and one of them the httpclient was failing with some locales activated
- Use pax instead or tar cf | tar xf, it is way faster to install
- Fix reading/writting MS Office documents
- Fix random segfaults: cell rendering options in calc, languages setting in global options
- Largely reduce built time
- Unbundle more things
- Be able to work with packaged hunspell, thesaurus and hyphenation as well as the usual extensions
- Now cups is mandatory (configure script is bugguy without cups)
- remove broken
PR: ports/157357 ports/156038 ports/158945 ports/159287 ports/160023
ports/160318
Submitted by: Hartmann, O. <ohartman@zedat.fu-berlin.de> (ports/157357),
Kuan-Chung Chiu <buganini@gmail.com> (ports/156038),
Dmitry Pryanishnikov <lynx.ripe@gmail.com> (ports/158945),
Adrien <pmn@bakarika.net> (ports/159287),
Travis Hunter <travis.hunter@gmail.com> (ports/160023),
gcooper@ (ports/160318)
With hat: office@
2011-09-05 13:45:31 +02:00
|
|
|
USE_XORG= xaw xrandr
|
2011-02-01 21:18:07 +01:00
|
|
|
USE_GL= gl glu
|
2011-09-20 15:08:02 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2012-04-22 22:38:32 +02:00
|
|
|
USE_GETTEXT= yes
|
2012-08-23 18:00:36 +02:00
|
|
|
USE_PKGCONFIG= build
|
2011-02-01 21:18:07 +01:00
|
|
|
|
2013-02-04 21:03:49 +01:00
|
|
|
OPTIONS_DEFINE= CPPUNIT CUPS DEBUG GNOME GTK2 GTK3 JAVA KDE4 MERGELIBS MMEDIA \
|
|
|
|
PGSQL SDK SVG SYSTRAY WEBDAV
|
|
|
|
OPTIONS_DEFAULT=CUPS GTK2 MERGELIBS SVG
|
2012-05-31 10:04:56 +02:00
|
|
|
|
2013-02-04 21:03:49 +01:00
|
|
|
CPPUNIT_DESC= Run C++ unit tests
|
2012-05-31 10:04:56 +02:00
|
|
|
PGSQL_DESC= Build with PostgreSQL-SDBC driver
|
2013-02-04 21:03:49 +01:00
|
|
|
MERGELIBS_DESC= Enable linking of big merged library
|
2012-05-31 10:04:56 +02:00
|
|
|
SDK_DESC= Build with SDK
|
|
|
|
MMEDIA_DESC= Enable multimedia backend for impress
|
|
|
|
SYSTRAY_DESC= Enable systemtray quickstarter
|
|
|
|
WEBDAV_DESC= Enable webdav protocol
|
|
|
|
JAVA_DESC= Add java support (XML Filters, macros)
|
2011-02-01 21:18:07 +01:00
|
|
|
|
2013-02-04 21:03:49 +01:00
|
|
|
ACLOCAL_ARGS= -I "${WRKSRC}/m4"
|
|
|
|
|
2013-02-15 23:19:09 +01:00
|
|
|
.if defined(DISABLE_MAKE_JOBS)
|
|
|
|
MAKE_JOBS_NUMBER= 1
|
|
|
|
.else
|
|
|
|
MAKE_JOBS_NUMBER?= `${SYSCTL} -n kern.smp.cpus`
|
|
|
|
.endif
|
|
|
|
|
2013-02-04 21:03:49 +01:00
|
|
|
CONFIGURE_ENV= BDB_INCLUDE_DIR=${BDB_INCLUDE_DIR} \
|
|
|
|
BDB_LIB_DIR=${BDB_LIB_DIR} \
|
|
|
|
BDB_LIB_NAME=${BDB_LIB_NAME} \
|
|
|
|
BDB_LIB_CXX_NAME=${BDB_LIB_CXX_NAME} \
|
|
|
|
DMAKE=${LOCALBASE}/bin/dmake \
|
2013-02-08 01:50:00 +01:00
|
|
|
GPERF=${LOCALBASE}/bin/gperf \
|
|
|
|
PYTHON_CFLAGS="`${PYTHON_VERSION}-config --cflags`" \
|
|
|
|
PYTHON_LIBS="`${PYTHON_VERSION}-config --libs`"
|
2011-02-01 21:18:07 +01:00
|
|
|
|
2011-08-22 12:05:37 +02:00
|
|
|
CONFIGURE_ARGS+= --with-unix-wrapper="libreoffice" \
|
|
|
|
--disable-fetch-external \
|
2011-02-01 21:18:07 +01:00
|
|
|
--with-build-version="FreeBSD ports ${PKGVERSION}" \
|
|
|
|
--with-vendor="FreeBSD ports ${PKGVERSION}" \
|
2011-02-04 18:30:13 +01:00
|
|
|
--exec-prefix=${PREFIX} \
|
2011-02-01 21:18:07 +01:00
|
|
|
--with-gnu-patch=${LOCALBASE}/bin/gpatch \
|
2012-04-22 22:38:32 +02:00
|
|
|
--with-external-tar=${DISTDIR}/${DIST_SUBDIR} \
|
2013-02-15 23:19:09 +01:00
|
|
|
--with-num-cpus=${MAKE_JOBS_NUMBER} \
|
2013-02-04 21:03:49 +01:00
|
|
|
--with-solver-and-workdir-root=${TMPDIR}/lobuild \
|
2012-07-01 10:32:04 +02:00
|
|
|
--with-system-boost \
|
2013-02-04 21:03:49 +01:00
|
|
|
--with-system-clucene \
|
2012-08-23 18:00:36 +02:00
|
|
|
--with-system-mdds \
|
2013-02-04 21:03:49 +01:00
|
|
|
--with-system-lcms2 \
|
|
|
|
--with-system-libcdr \
|
2011-02-01 21:18:07 +01:00
|
|
|
--with-system-libxml \
|
2012-04-22 22:38:32 +02:00
|
|
|
--with-system-cairo \
|
|
|
|
--enable-cairo-canvas \
|
2011-02-01 21:18:07 +01:00
|
|
|
--with-system-zlib \
|
|
|
|
--with-system-icu \
|
|
|
|
--with-system-db \
|
|
|
|
--with-system-jpeg \
|
|
|
|
--with-system-expat \
|
|
|
|
--with-system-openssl \
|
|
|
|
--with-system-curl \
|
2012-04-22 22:38:32 +02:00
|
|
|
--with-system-libvisio \
|
2011-02-01 21:18:07 +01:00
|
|
|
--with-system-libwpd \
|
|
|
|
--with-system-libwpg \
|
|
|
|
--with-system-libwps \
|
|
|
|
--with-system-poppler \
|
|
|
|
--with-system-redland \
|
|
|
|
--with-system-hunspell \
|
2011-08-22 12:05:37 +02:00
|
|
|
--with-system-mythes \
|
|
|
|
--with-system-altlinuxhyph \
|
2012-04-22 22:38:32 +02:00
|
|
|
--with-system-libexttextcat \
|
2011-02-01 21:18:07 +01:00
|
|
|
--with-system-lpsolve \
|
|
|
|
--with-system-vigra \
|
|
|
|
--with-alloc=system \
|
|
|
|
--with-system-stdlibs \
|
|
|
|
--with-system-mesa-headers \
|
|
|
|
--disable-epm \
|
|
|
|
--disable-mozilla \
|
|
|
|
--disable-build-mozilla \
|
- update to 3.4.3
- New options:
* SYSTRAY to activate the system try icons (quick start)
* GTK (which to be able to build a completly gtk free version of libreoffice please notice that dependencies can bring back gtk, for example libgsf if not built with the following knob: WITHOUT_GCONF)
* the GNOME option automatically activate the GTK one
* PYUNO do enable/disable the build of the python bindings for the UNO framework
- Disable system notification while building
- Remove the wiki-publisher extensions, it forces the build to have 3 apache-commons distfiles bundles and one of them the httpclient was failing with some locales activated
- Use pax instead or tar cf | tar xf, it is way faster to install
- Fix reading/writting MS Office documents
- Fix random segfaults: cell rendering options in calc, languages setting in global options
- Largely reduce built time
- Unbundle more things
- Be able to work with packaged hunspell, thesaurus and hyphenation as well as the usual extensions
- Now cups is mandatory (configure script is bugguy without cups)
- remove broken
PR: ports/157357 ports/156038 ports/158945 ports/159287 ports/160023
ports/160318
Submitted by: Hartmann, O. <ohartman@zedat.fu-berlin.de> (ports/157357),
Kuan-Chung Chiu <buganini@gmail.com> (ports/156038),
Dmitry Pryanishnikov <lynx.ripe@gmail.com> (ports/158945),
Adrien <pmn@bakarika.net> (ports/159287),
Travis Hunter <travis.hunter@gmail.com> (ports/160023),
gcooper@ (ports/160318)
With hat: office@
2011-09-05 13:45:31 +02:00
|
|
|
--without-system-mozilla \
|
2012-04-22 22:38:32 +02:00
|
|
|
--without-fonts \
|
|
|
|
--without-afms \
|
2011-02-01 21:18:07 +01:00
|
|
|
--without-stlport \
|
2012-04-22 22:38:32 +02:00
|
|
|
--disable-kde \
|
|
|
|
--disable-kdeab \
|
|
|
|
--with-system-nss \
|
|
|
|
--without-myspell-dicts \
|
2011-08-22 12:05:37 +02:00
|
|
|
--with-system-dicts \
|
- update to 3.4.3
- New options:
* SYSTRAY to activate the system try icons (quick start)
* GTK (which to be able to build a completly gtk free version of libreoffice please notice that dependencies can bring back gtk, for example libgsf if not built with the following knob: WITHOUT_GCONF)
* the GNOME option automatically activate the GTK one
* PYUNO do enable/disable the build of the python bindings for the UNO framework
- Disable system notification while building
- Remove the wiki-publisher extensions, it forces the build to have 3 apache-commons distfiles bundles and one of them the httpclient was failing with some locales activated
- Use pax instead or tar cf | tar xf, it is way faster to install
- Fix reading/writting MS Office documents
- Fix random segfaults: cell rendering options in calc, languages setting in global options
- Largely reduce built time
- Unbundle more things
- Be able to work with packaged hunspell, thesaurus and hyphenation as well as the usual extensions
- Now cups is mandatory (configure script is bugguy without cups)
- remove broken
PR: ports/157357 ports/156038 ports/158945 ports/159287 ports/160023
ports/160318
Submitted by: Hartmann, O. <ohartman@zedat.fu-berlin.de> (ports/157357),
Kuan-Chung Chiu <buganini@gmail.com> (ports/156038),
Dmitry Pryanishnikov <lynx.ripe@gmail.com> (ports/158945),
Adrien <pmn@bakarika.net> (ports/159287),
Travis Hunter <travis.hunter@gmail.com> (ports/160023),
gcooper@ (ports/160318)
With hat: office@
2011-09-05 13:45:31 +02:00
|
|
|
--disable-dependency-tracking \
|
2011-08-22 12:05:37 +02:00
|
|
|
--with-external-thes-dir=${LOCALBASE}/share/mythes \
|
|
|
|
--with-external-hyph-dir=${LOCALBASE}/share/hyphen \
|
- update to 3.4.3
- New options:
* SYSTRAY to activate the system try icons (quick start)
* GTK (which to be able to build a completly gtk free version of libreoffice please notice that dependencies can bring back gtk, for example libgsf if not built with the following knob: WITHOUT_GCONF)
* the GNOME option automatically activate the GTK one
* PYUNO do enable/disable the build of the python bindings for the UNO framework
- Disable system notification while building
- Remove the wiki-publisher extensions, it forces the build to have 3 apache-commons distfiles bundles and one of them the httpclient was failing with some locales activated
- Use pax instead or tar cf | tar xf, it is way faster to install
- Fix reading/writting MS Office documents
- Fix random segfaults: cell rendering options in calc, languages setting in global options
- Largely reduce built time
- Unbundle more things
- Be able to work with packaged hunspell, thesaurus and hyphenation as well as the usual extensions
- Now cups is mandatory (configure script is bugguy without cups)
- remove broken
PR: ports/157357 ports/156038 ports/158945 ports/159287 ports/160023
ports/160318
Submitted by: Hartmann, O. <ohartman@zedat.fu-berlin.de> (ports/157357),
Kuan-Chung Chiu <buganini@gmail.com> (ports/156038),
Dmitry Pryanishnikov <lynx.ripe@gmail.com> (ports/158945),
Adrien <pmn@bakarika.net> (ports/159287),
Travis Hunter <travis.hunter@gmail.com> (ports/160023),
gcooper@ (ports/160318)
With hat: office@
2011-09-05 13:45:31 +02:00
|
|
|
--with-external-dict-dir=${LOCALBASE}/share/hunspell \
|
|
|
|
--disable-zenity \
|
2012-04-22 22:38:32 +02:00
|
|
|
--enable-graphite \
|
|
|
|
--with-system-graphite \
|
2013-02-08 01:50:00 +01:00
|
|
|
--enable-gio \
|
2012-04-22 22:38:32 +02:00
|
|
|
--disable-nsplugin \
|
|
|
|
--disable-linkoo \
|
|
|
|
--disable-online-update \
|
|
|
|
--with-system-gettext \
|
|
|
|
--with-system-libpng \
|
|
|
|
--disable-gnome-vfs \
|
|
|
|
--enable-python=system
|
2011-02-01 21:18:07 +01:00
|
|
|
|
|
|
|
# extensions
|
2013-02-08 01:50:00 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-ext-pdfimport
|
2011-02-01 21:18:07 +01:00
|
|
|
# --enable-extra-gallery \
|
|
|
|
# --enable-extra-template \
|
|
|
|
# --enable-extra-sample \
|
|
|
|
# --enable-extra-font
|
|
|
|
|
2011-08-22 12:05:37 +02:00
|
|
|
MAN1= lobase.1 \
|
|
|
|
lomath.1 \
|
|
|
|
loffice.1 \
|
|
|
|
localc.1 \
|
|
|
|
unopkg.1 \
|
|
|
|
loweb.1 \
|
|
|
|
lowriter.1 \
|
|
|
|
libreoffice.1 \
|
|
|
|
lodraw.1 \
|
|
|
|
lofromtemplate.1 \
|
|
|
|
loimpress.1
|
|
|
|
|
|
|
|
MANCOMPRESSED= yes
|
2011-02-01 21:18:07 +01:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2013-02-04 21:03:49 +01:00
|
|
|
.if empty(PORT_OPTIONS:MCPPUNIT)
|
2013-02-06 21:07:58 +01:00
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/disable-cppunittester \
|
|
|
|
${FILESDIR}/disable-uno_test
|
2013-02-04 21:03:49 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MCUPS}
|
|
|
|
LIB_DEPENDS+= cups:${PORTSDIR}/print/cups-client
|
|
|
|
CONFIGURE_ARGS+= --enable-cups --without-ppds
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-cups
|
|
|
|
.endif
|
|
|
|
|
2012-05-31 10:04:56 +02:00
|
|
|
.if ${PORT_OPTIONS:MPGSQL}
|
2012-05-07 01:44:41 +02:00
|
|
|
USE_PGSQL= yes
|
|
|
|
WANT_PGSQL_VER= 90+
|
2013-02-04 21:03:49 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-postgresql-sdbc --with-system-postgresql
|
2012-05-07 01:44:41 +02:00
|
|
|
.else
|
2013-02-12 01:57:47 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-postgresql-sdbc \
|
|
|
|
--without-gssapi --without-krb5
|
2012-05-07 01:44:41 +02:00
|
|
|
.endif
|
2013-02-04 21:03:49 +01:00
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MSYSTRAY}
|
|
|
|
CONFIGURE_ARGS+= --enable-systray
|
|
|
|
.else
|
- update to 3.4.3
- New options:
* SYSTRAY to activate the system try icons (quick start)
* GTK (which to be able to build a completly gtk free version of libreoffice please notice that dependencies can bring back gtk, for example libgsf if not built with the following knob: WITHOUT_GCONF)
* the GNOME option automatically activate the GTK one
* PYUNO do enable/disable the build of the python bindings for the UNO framework
- Disable system notification while building
- Remove the wiki-publisher extensions, it forces the build to have 3 apache-commons distfiles bundles and one of them the httpclient was failing with some locales activated
- Use pax instead or tar cf | tar xf, it is way faster to install
- Fix reading/writting MS Office documents
- Fix random segfaults: cell rendering options in calc, languages setting in global options
- Largely reduce built time
- Unbundle more things
- Be able to work with packaged hunspell, thesaurus and hyphenation as well as the usual extensions
- Now cups is mandatory (configure script is bugguy without cups)
- remove broken
PR: ports/157357 ports/156038 ports/158945 ports/159287 ports/160023
ports/160318
Submitted by: Hartmann, O. <ohartman@zedat.fu-berlin.de> (ports/157357),
Kuan-Chung Chiu <buganini@gmail.com> (ports/156038),
Dmitry Pryanishnikov <lynx.ripe@gmail.com> (ports/158945),
Adrien <pmn@bakarika.net> (ports/159287),
Travis Hunter <travis.hunter@gmail.com> (ports/160023),
gcooper@ (ports/160318)
With hat: office@
2011-09-05 13:45:31 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-systray
|
|
|
|
.endif
|
|
|
|
|
2012-05-31 10:04:56 +02:00
|
|
|
.if ${PORT_OPTIONS:MMMEDIA}
|
- update to 3.4.3
- New options:
* SYSTRAY to activate the system try icons (quick start)
* GTK (which to be able to build a completly gtk free version of libreoffice please notice that dependencies can bring back gtk, for example libgsf if not built with the following knob: WITHOUT_GCONF)
* the GNOME option automatically activate the GTK one
* PYUNO do enable/disable the build of the python bindings for the UNO framework
- Disable system notification while building
- Remove the wiki-publisher extensions, it forces the build to have 3 apache-commons distfiles bundles and one of them the httpclient was failing with some locales activated
- Use pax instead or tar cf | tar xf, it is way faster to install
- Fix reading/writting MS Office documents
- Fix random segfaults: cell rendering options in calc, languages setting in global options
- Largely reduce built time
- Unbundle more things
- Be able to work with packaged hunspell, thesaurus and hyphenation as well as the usual extensions
- Now cups is mandatory (configure script is bugguy without cups)
- remove broken
PR: ports/157357 ports/156038 ports/158945 ports/159287 ports/160023
ports/160318
Submitted by: Hartmann, O. <ohartman@zedat.fu-berlin.de> (ports/157357),
Kuan-Chung Chiu <buganini@gmail.com> (ports/156038),
Dmitry Pryanishnikov <lynx.ripe@gmail.com> (ports/158945),
Adrien <pmn@bakarika.net> (ports/159287),
Travis Hunter <travis.hunter@gmail.com> (ports/160023),
gcooper@ (ports/160318)
With hat: office@
2011-09-05 13:45:31 +02:00
|
|
|
USE_GSTREAMER= yes
|
2013-02-04 21:03:49 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-gstreamer
|
- update to 3.4.3
- New options:
* SYSTRAY to activate the system try icons (quick start)
* GTK (which to be able to build a completly gtk free version of libreoffice please notice that dependencies can bring back gtk, for example libgsf if not built with the following knob: WITHOUT_GCONF)
* the GNOME option automatically activate the GTK one
* PYUNO do enable/disable the build of the python bindings for the UNO framework
- Disable system notification while building
- Remove the wiki-publisher extensions, it forces the build to have 3 apache-commons distfiles bundles and one of them the httpclient was failing with some locales activated
- Use pax instead or tar cf | tar xf, it is way faster to install
- Fix reading/writting MS Office documents
- Fix random segfaults: cell rendering options in calc, languages setting in global options
- Largely reduce built time
- Unbundle more things
- Be able to work with packaged hunspell, thesaurus and hyphenation as well as the usual extensions
- Now cups is mandatory (configure script is bugguy without cups)
- remove broken
PR: ports/157357 ports/156038 ports/158945 ports/159287 ports/160023
ports/160318
Submitted by: Hartmann, O. <ohartman@zedat.fu-berlin.de> (ports/157357),
Kuan-Chung Chiu <buganini@gmail.com> (ports/156038),
Dmitry Pryanishnikov <lynx.ripe@gmail.com> (ports/158945),
Adrien <pmn@bakarika.net> (ports/159287),
Travis Hunter <travis.hunter@gmail.com> (ports/160023),
gcooper@ (ports/160318)
With hat: office@
2011-09-05 13:45:31 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gstreamer
|
|
|
|
.endif
|
|
|
|
|
2012-05-31 10:04:56 +02:00
|
|
|
.if ${PORT_OPTIONS:MSVG}
|
2012-04-22 22:38:32 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-librsvg=system
|
|
|
|
USE_GNOME+= librsvg2
|
- update to 3.4.3
- New options:
* SYSTRAY to activate the system try icons (quick start)
* GTK (which to be able to build a completly gtk free version of libreoffice please notice that dependencies can bring back gtk, for example libgsf if not built with the following knob: WITHOUT_GCONF)
* the GNOME option automatically activate the GTK one
* PYUNO do enable/disable the build of the python bindings for the UNO framework
- Disable system notification while building
- Remove the wiki-publisher extensions, it forces the build to have 3 apache-commons distfiles bundles and one of them the httpclient was failing with some locales activated
- Use pax instead or tar cf | tar xf, it is way faster to install
- Fix reading/writting MS Office documents
- Fix random segfaults: cell rendering options in calc, languages setting in global options
- Largely reduce built time
- Unbundle more things
- Be able to work with packaged hunspell, thesaurus and hyphenation as well as the usual extensions
- Now cups is mandatory (configure script is bugguy without cups)
- remove broken
PR: ports/157357 ports/156038 ports/158945 ports/159287 ports/160023
ports/160318
Submitted by: Hartmann, O. <ohartman@zedat.fu-berlin.de> (ports/157357),
Kuan-Chung Chiu <buganini@gmail.com> (ports/156038),
Dmitry Pryanishnikov <lynx.ripe@gmail.com> (ports/158945),
Adrien <pmn@bakarika.net> (ports/159287),
Travis Hunter <travis.hunter@gmail.com> (ports/160023),
gcooper@ (ports/160318)
With hat: office@
2011-09-05 13:45:31 +02:00
|
|
|
.else
|
2012-04-22 22:38:32 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-librsvg=no
|
- update to 3.4.3
- New options:
* SYSTRAY to activate the system try icons (quick start)
* GTK (which to be able to build a completly gtk free version of libreoffice please notice that dependencies can bring back gtk, for example libgsf if not built with the following knob: WITHOUT_GCONF)
* the GNOME option automatically activate the GTK one
* PYUNO do enable/disable the build of the python bindings for the UNO framework
- Disable system notification while building
- Remove the wiki-publisher extensions, it forces the build to have 3 apache-commons distfiles bundles and one of them the httpclient was failing with some locales activated
- Use pax instead or tar cf | tar xf, it is way faster to install
- Fix reading/writting MS Office documents
- Fix random segfaults: cell rendering options in calc, languages setting in global options
- Largely reduce built time
- Unbundle more things
- Be able to work with packaged hunspell, thesaurus and hyphenation as well as the usual extensions
- Now cups is mandatory (configure script is bugguy without cups)
- remove broken
PR: ports/157357 ports/156038 ports/158945 ports/159287 ports/160023
ports/160318
Submitted by: Hartmann, O. <ohartman@zedat.fu-berlin.de> (ports/157357),
Kuan-Chung Chiu <buganini@gmail.com> (ports/156038),
Dmitry Pryanishnikov <lynx.ripe@gmail.com> (ports/158945),
Adrien <pmn@bakarika.net> (ports/159287),
Travis Hunter <travis.hunter@gmail.com> (ports/160023),
gcooper@ (ports/160318)
With hat: office@
2011-09-05 13:45:31 +02:00
|
|
|
.endif
|
2011-02-01 21:18:07 +01:00
|
|
|
|
2012-05-31 10:04:56 +02:00
|
|
|
.if ${PORT_OPTIONS:MGTK2} || ${PORT_OPTIONS:MGNOME}
|
2012-04-22 22:38:32 +02:00
|
|
|
USE_GNOME+= gtk20 desktopfileutils
|
- update to 3.4.3
- New options:
* SYSTRAY to activate the system try icons (quick start)
* GTK (which to be able to build a completly gtk free version of libreoffice please notice that dependencies can bring back gtk, for example libgsf if not built with the following knob: WITHOUT_GCONF)
* the GNOME option automatically activate the GTK one
* PYUNO do enable/disable the build of the python bindings for the UNO framework
- Disable system notification while building
- Remove the wiki-publisher extensions, it forces the build to have 3 apache-commons distfiles bundles and one of them the httpclient was failing with some locales activated
- Use pax instead or tar cf | tar xf, it is way faster to install
- Fix reading/writting MS Office documents
- Fix random segfaults: cell rendering options in calc, languages setting in global options
- Largely reduce built time
- Unbundle more things
- Be able to work with packaged hunspell, thesaurus and hyphenation as well as the usual extensions
- Now cups is mandatory (configure script is bugguy without cups)
- remove broken
PR: ports/157357 ports/156038 ports/158945 ports/159287 ports/160023
ports/160318
Submitted by: Hartmann, O. <ohartman@zedat.fu-berlin.de> (ports/157357),
Kuan-Chung Chiu <buganini@gmail.com> (ports/156038),
Dmitry Pryanishnikov <lynx.ripe@gmail.com> (ports/158945),
Adrien <pmn@bakarika.net> (ports/159287),
Travis Hunter <travis.hunter@gmail.com> (ports/160023),
gcooper@ (ports/160318)
With hat: office@
2011-09-05 13:45:31 +02:00
|
|
|
INSTALLS_ICONS= yes
|
2013-02-04 21:03:49 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-gtk
|
- update to 3.4.3
- New options:
* SYSTRAY to activate the system try icons (quick start)
* GTK (which to be able to build a completly gtk free version of libreoffice please notice that dependencies can bring back gtk, for example libgsf if not built with the following knob: WITHOUT_GCONF)
* the GNOME option automatically activate the GTK one
* PYUNO do enable/disable the build of the python bindings for the UNO framework
- Disable system notification while building
- Remove the wiki-publisher extensions, it forces the build to have 3 apache-commons distfiles bundles and one of them the httpclient was failing with some locales activated
- Use pax instead or tar cf | tar xf, it is way faster to install
- Fix reading/writting MS Office documents
- Fix random segfaults: cell rendering options in calc, languages setting in global options
- Largely reduce built time
- Unbundle more things
- Be able to work with packaged hunspell, thesaurus and hyphenation as well as the usual extensions
- Now cups is mandatory (configure script is bugguy without cups)
- remove broken
PR: ports/157357 ports/156038 ports/158945 ports/159287 ports/160023
ports/160318
Submitted by: Hartmann, O. <ohartman@zedat.fu-berlin.de> (ports/157357),
Kuan-Chung Chiu <buganini@gmail.com> (ports/156038),
Dmitry Pryanishnikov <lynx.ripe@gmail.com> (ports/158945),
Adrien <pmn@bakarika.net> (ports/159287),
Travis Hunter <travis.hunter@gmail.com> (ports/160023),
gcooper@ (ports/160318)
With hat: office@
2011-09-05 13:45:31 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gtk
|
|
|
|
.endif
|
2011-02-01 21:18:07 +01:00
|
|
|
|
2012-05-31 10:04:56 +02:00
|
|
|
.if ${PORT_OPTIONS:MGTK3}
|
2013-02-08 01:50:00 +01:00
|
|
|
BROKEN= requires GTK+ 3.2 and later
|
2012-04-22 22:38:32 +02:00
|
|
|
USE_GNOME+= gtk30 desktopfileutils
|
|
|
|
INSTALLS_ICONS= yes
|
2013-02-04 21:03:49 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-gtk3
|
2012-04-22 22:38:32 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gtk3
|
|
|
|
.endif
|
|
|
|
|
2012-05-31 10:04:56 +02:00
|
|
|
.if ${PORT_OPTIONS:MWEBDAV}
|
2011-02-01 21:18:07 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-neon --with-system-neon
|
|
|
|
LIB_DEPENDS+= neon.27:${PORTSDIR}/www/neon29
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-neon
|
|
|
|
.endif
|
|
|
|
|
2012-05-31 10:04:56 +02:00
|
|
|
.if ${PORT_OPTIONS:MKDE4}
|
2011-02-01 21:18:07 +01:00
|
|
|
USE_KDE4= kdelibs
|
2012-07-06 16:02:04 +02:00
|
|
|
USE_QT4+= moc_build qmake_build
|
|
|
|
CONFIGURE_ENV+= QT4DIR="${QT_PREFIX}" QT4LIB="${QT_LIBDIR}" QT4INC="${QT_INCDIR}" KDE4DIR="${KDE4_PREFIX}"
|
|
|
|
CONFIGURE_ARGS+= --enable-kde4
|
2011-02-01 21:18:07 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-kde4
|
|
|
|
.endif
|
|
|
|
|
2012-05-31 10:04:56 +02:00
|
|
|
.if ${PORT_OPTIONS:MGNOME}
|
2012-04-22 22:38:32 +02:00
|
|
|
USE_GNOME+= gconf2
|
|
|
|
CONFIGURE_ARGS+= --enable-gconf
|
2011-02-01 21:18:07 +01:00
|
|
|
.else
|
2012-04-22 22:38:32 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-gconf --disable-lockdown
|
2011-02-01 21:18:07 +01:00
|
|
|
.endif
|
|
|
|
|
2012-05-31 10:04:56 +02:00
|
|
|
.if ${PORT_OPTIONS:MJAVA}
|
2013-02-08 01:50:00 +01:00
|
|
|
# XXX jni.h from GNU classpath causes ABI conflicts.
|
|
|
|
CONFLICTS_BUILD= classpath-[0-9]*
|
2011-02-01 21:18:07 +01:00
|
|
|
#additionnal distfiles needed for java
|
2013-02-08 01:50:00 +01:00
|
|
|
DISTFILES+= 17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip:src \
|
2013-02-06 21:07:58 +01:00
|
|
|
2a177023f9ea8ec8bd00837605c5df1b-jakarta-tomcat-5.0.30-src.tar.gz:src \
|
2013-02-08 01:50:00 +01:00
|
|
|
2ae988b339daec234019a7066f96733e-commons-lang-2.3-src.tar.gz:src \
|
|
|
|
2c9b0f83ed5890af02c0df1c1776f39b-commons-httpclient-3.1-src.tar.gz:src \
|
|
|
|
3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip:src \
|
2013-02-06 21:07:58 +01:00
|
|
|
35c94d2df8893241173de1d16b6034c0-swingExSrc.zip:src \
|
|
|
|
3c219630e4302863a9a83d0efde889db-commons-logging-1.1.1-src.tar.gz:src \
|
|
|
|
3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip:src \
|
2013-02-08 01:50:00 +01:00
|
|
|
39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip:src \
|
|
|
|
798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip:src \
|
2013-02-06 21:07:58 +01:00
|
|
|
8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip:src \
|
2013-02-08 01:50:00 +01:00
|
|
|
97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip:src \
|
|
|
|
a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip:src \
|
|
|
|
ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip:src \
|
|
|
|
ada24d37d8d638b3d8a9985e80bc2978-source-9.0.0.7-bj.zip:src \
|
|
|
|
af3c3acf618de6108d65fcdc92b492e1-commons-codec-1.3-src.tar.gz:src \
|
|
|
|
ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip:src \
|
|
|
|
d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip:src \
|
2013-02-06 21:07:58 +01:00
|
|
|
db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip:src \
|
2013-02-08 01:50:00 +01:00
|
|
|
ea570af93c284aa9e5621cd563f54f4d-bsh-2.0b1-src.tar.gz:src \
|
|
|
|
eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip:src \
|
|
|
|
f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip:src
|
2011-08-22 12:05:37 +02:00
|
|
|
|
|
|
|
# LibreOffice works only with Java 6 -- which may not be the default
|
|
|
|
# if you specify the JAVA_VENDOR variable
|
2011-10-31 18:31:12 +01:00
|
|
|
CATEGORIES+= java
|
2011-08-22 12:05:37 +02:00
|
|
|
USE_JAVA= yes
|
2013-02-08 01:50:00 +01:00
|
|
|
JAVA_BUILD= yes
|
2011-08-22 12:05:37 +02:00
|
|
|
JAVA_VERSION= 1.6
|
2011-02-01 21:18:07 +01:00
|
|
|
BUILD_DEPENDS+= ant:${PORTSDIR}/devel/apache-ant \
|
2013-02-08 01:50:00 +01:00
|
|
|
${JAVAJARDIR}/junit.jar:${PORTSDIR}/java/junit
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --enable-ext-report-builder \
|
|
|
|
--enable-ext-scripting-beanshell \
|
|
|
|
--enable-ext-scripting-javascript \
|
|
|
|
--enable-ext-wiki-publisher \
|
|
|
|
--with-ant-home=${LOCALBASE}/share/java/apache-ant/ \
|
2011-02-01 21:18:07 +01:00
|
|
|
--with-jdk-home=${JAVA_HOME} \
|
2013-02-08 01:50:00 +01:00
|
|
|
--with-junit=${JAVAJARDIR}/junit.jar
|
|
|
|
|
2011-02-01 21:18:07 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-java
|
|
|
|
.endif
|
|
|
|
|
2013-02-04 21:03:49 +01:00
|
|
|
.if ${PORT_OPTIONS:MMERGELIBS}
|
|
|
|
CONFIGURE_ARGS+= --enable-mergelibs
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-mergelibs
|
|
|
|
.endif
|
|
|
|
|
2012-05-31 10:04:56 +02:00
|
|
|
.if ${PORT_OPTIONS:MSDK}
|
2013-02-06 21:07:58 +01:00
|
|
|
DISTFILES+= 185d60944ea767075d27247c3162b3bc-unowinreg.dll:ext
|
2013-02-11 20:58:19 +01:00
|
|
|
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
|
|
|
|
CONFIGURE_ARGS+= --enable-odk --with-doxygen=${LOCALBASE}/bin/doxygen
|
2011-08-22 12:05:37 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-odk
|
|
|
|
.endif
|
|
|
|
|
2012-05-31 10:04:56 +02:00
|
|
|
.if ${PORT_OPTIONS:MDEBUG}
|
|
|
|
IGNORE= Known as broken
|
- update to 3.4.3
- New options:
* SYSTRAY to activate the system try icons (quick start)
* GTK (which to be able to build a completly gtk free version of libreoffice please notice that dependencies can bring back gtk, for example libgsf if not built with the following knob: WITHOUT_GCONF)
* the GNOME option automatically activate the GTK one
* PYUNO do enable/disable the build of the python bindings for the UNO framework
- Disable system notification while building
- Remove the wiki-publisher extensions, it forces the build to have 3 apache-commons distfiles bundles and one of them the httpclient was failing with some locales activated
- Use pax instead or tar cf | tar xf, it is way faster to install
- Fix reading/writting MS Office documents
- Fix random segfaults: cell rendering options in calc, languages setting in global options
- Largely reduce built time
- Unbundle more things
- Be able to work with packaged hunspell, thesaurus and hyphenation as well as the usual extensions
- Now cups is mandatory (configure script is bugguy without cups)
- remove broken
PR: ports/157357 ports/156038 ports/158945 ports/159287 ports/160023
ports/160318
Submitted by: Hartmann, O. <ohartman@zedat.fu-berlin.de> (ports/157357),
Kuan-Chung Chiu <buganini@gmail.com> (ports/156038),
Dmitry Pryanishnikov <lynx.ripe@gmail.com> (ports/158945),
Adrien <pmn@bakarika.net> (ports/159287),
Travis Hunter <travis.hunter@gmail.com> (ports/160023),
gcooper@ (ports/160318)
With hat: office@
2011-09-05 13:45:31 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-debug \
|
|
|
|
--enable-dbgutil \
|
|
|
|
--enable-verbose \
|
|
|
|
--enable-crashdump
|
2012-04-22 22:38:32 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --enable-release-build
|
- update to 3.4.3
- New options:
* SYSTRAY to activate the system try icons (quick start)
* GTK (which to be able to build a completly gtk free version of libreoffice please notice that dependencies can bring back gtk, for example libgsf if not built with the following knob: WITHOUT_GCONF)
* the GNOME option automatically activate the GTK one
* PYUNO do enable/disable the build of the python bindings for the UNO framework
- Disable system notification while building
- Remove the wiki-publisher extensions, it forces the build to have 3 apache-commons distfiles bundles and one of them the httpclient was failing with some locales activated
- Use pax instead or tar cf | tar xf, it is way faster to install
- Fix reading/writting MS Office documents
- Fix random segfaults: cell rendering options in calc, languages setting in global options
- Largely reduce built time
- Unbundle more things
- Be able to work with packaged hunspell, thesaurus and hyphenation as well as the usual extensions
- Now cups is mandatory (configure script is bugguy without cups)
- remove broken
PR: ports/157357 ports/156038 ports/158945 ports/159287 ports/160023
ports/160318
Submitted by: Hartmann, O. <ohartman@zedat.fu-berlin.de> (ports/157357),
Kuan-Chung Chiu <buganini@gmail.com> (ports/156038),
Dmitry Pryanishnikov <lynx.ripe@gmail.com> (ports/158945),
Adrien <pmn@bakarika.net> (ports/159287),
Travis Hunter <travis.hunter@gmail.com> (ports/160023),
gcooper@ (ports/160318)
With hat: office@
2011-09-05 13:45:31 +02:00
|
|
|
.endif
|
|
|
|
|
2011-02-01 21:18:07 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2012-09-12 18:41:31 +02:00
|
|
|
.if defined(WITH_GCC)
|
|
|
|
USE_GCC= 4.6+
|
|
|
|
DISTFILES+= bd30e9cf5523cdfc019b94f5e1d7fd19-cppunit-1.12.1.tar.gz:ext
|
|
|
|
CONFIGURE_ENV+= CXXCPP="${CPP}"
|
|
|
|
.else
|
|
|
|
.if exists(/usr/bin/clang) && ${OSVERSION} >= 900014
|
|
|
|
CC= /usr/bin/clang
|
|
|
|
CPP= /usr/bin/clang-cpp
|
|
|
|
CXX= /usr/bin/clang++
|
|
|
|
CONFIGURE_ENV+= CXXCPP="${CPP}"
|
|
|
|
.else
|
|
|
|
# XXX Clang PR13308 (http://llvm.org/bugs/show_bug.cgi?id=13308)
|
2013-02-14 02:28:36 +01:00
|
|
|
BUILD_DEPENDS+= clang>=3.2:${PORTSDIR}/lang/clang
|
2012-09-12 18:41:31 +02:00
|
|
|
CC= ${LOCALBASE}/bin/clang
|
|
|
|
CPP= ${CC} -E
|
|
|
|
CXX= ${LOCALBASE}/bin/clang++
|
|
|
|
CONFIGURE_ENV+= CXXCPP="${CXX} -E"
|
|
|
|
.endif
|
|
|
|
CONFIGURE_ARGS+= --with-system-cppunit
|
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/lib/libcppunit.so:${PORTSDIR}/devel/cppunit
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 900506
|
|
|
|
CONFIGURE_ARGS+= --with-linker-hash-style=sysv
|
|
|
|
.endif
|
|
|
|
|
2013-02-04 21:03:49 +01:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
2012-09-12 18:41:31 +02:00
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
|
|
|
|
|
|
|
MAKE_ENV+= ENVCFLAGS="${CFLAGS}" ENVCXXFLAGS="${CXXFLAGS}"
|
|
|
|
MAKE_ENV+= ENVLINKFLAGS="${LDFLAGS}"
|
2013-02-18 22:37:41 +01:00
|
|
|
MAKE_ENV+= LANG=C LC_ALL=C
|
2012-09-12 18:41:31 +02:00
|
|
|
MAKE_ENV+= USE_GMAKE=1
|
|
|
|
|
2013-02-04 21:03:49 +01:00
|
|
|
TMPDIR?= /tmp
|
|
|
|
|
2011-02-01 21:18:07 +01:00
|
|
|
post-extract:
|
|
|
|
@${MKDIR} ${WRKSRC}/clone
|
2011-08-22 12:05:37 +02:00
|
|
|
@${MKDIR} ${WRKSRC}/src
|
|
|
|
.for component in ${LO_COMPONENTS}
|
|
|
|
@${MV} ${WRKDIR}/${PORTNAME}-${component}-${LOVERSION} ${WRKSRC}/clone/${component}
|
|
|
|
.endfor
|
2011-02-01 21:18:07 +01:00
|
|
|
@${TOUCH} ${WRKSRC}/clone/repos_changed
|
|
|
|
|
2012-05-31 10:04:56 +02:00
|
|
|
.if ${PORT_OPTIONS:MJAVA}
|
2013-02-14 02:28:36 +01:00
|
|
|
post-patch:
|
2011-02-01 21:18:07 +01:00
|
|
|
@${REINPLACE_CMD} -e 's/^ANT_OPT/#ANT_OPT/g' \
|
2012-04-22 22:38:32 +02:00
|
|
|
${WRKSRC}/apache-commons/java/codec/makefile.mk \
|
|
|
|
${WRKSRC}/apache-commons/java/httpclient/makefile.mk \
|
|
|
|
${WRKSRC}/apache-commons/java/lang/makefile.mk \
|
|
|
|
${WRKSRC}/apache-commons/java/logging/makefile.mk
|
2011-02-01 21:18:07 +01:00
|
|
|
.endif
|
|
|
|
|
2012-04-22 22:38:32 +02:00
|
|
|
pre-configure:
|
|
|
|
@${TOUCH} ${WRKSRC}/autogen.lastrun
|
2013-02-04 21:03:49 +01:00
|
|
|
@${MKDIR} ${WRKDIR}/lobuild
|
|
|
|
@${LN} -fs ${WRKDIR}/lobuild ${TMPDIR}
|
2012-04-22 22:38:32 +02:00
|
|
|
|
2011-08-22 12:05:37 +02:00
|
|
|
post-configure:
|
|
|
|
@cd ${WRKSRC} && ./bin/create_bootstrap_links
|
|
|
|
@${TOUCH} ${WRKSRC}/src.downloaded
|
|
|
|
|
2012-09-12 18:41:31 +02:00
|
|
|
do-install:
|
|
|
|
@cd ${WRKSRC} && ${SETENV} DESTDIR="${LODESTDIR}" \
|
|
|
|
${GMAKE} distro-pack-install
|
|
|
|
|
2011-02-01 21:18:07 +01:00
|
|
|
post-install:
|
2011-02-09 12:59:16 +01:00
|
|
|
@${RM} -f ${PLISTF} ${PLISTD}
|
2011-09-17 22:53:21 +02:00
|
|
|
# It seems that the empty directories are necessary for libreoffice keep them for now
|
2013-02-08 01:50:00 +01:00
|
|
|
@cd ${LODESTDIR}/${PREFIX} && ${FIND} -d lib/libreoffice -type d \
|
|
|
|
-empty -exec ${ECHO_CMD} "@exec ${MKDIR} %D/{}" \; >> ${PLISTD}
|
2011-02-09 12:59:16 +01:00
|
|
|
|
2013-02-08 01:50:00 +01:00
|
|
|
@cd ${LODESTDIR}/${PREFIX} && ${FIND} -H -s bin lib \
|
|
|
|
\( -type f -o -type l \) -print >> ${PLISTF}
|
|
|
|
@cd ${LODESTDIR}/${PREFIX} && ${FIND} -d lib/libreoffice -type d \
|
|
|
|
-exec ${ECHO_CMD} "@dirrm {}" \; >> ${PLISTD}
|
|
|
|
|
|
|
|
@${ECHO_CMD} etc/bash_completion.d/libreoffice.sh >> ${PLISTF}
|
|
|
|
@${ECHO_CMD} "@dirrmtry etc/bash_completion.d" >> ${PLISTD}
|
2011-09-09 16:23:20 +02:00
|
|
|
|
2012-04-23 23:33:35 +02:00
|
|
|
.for subdir in applications icons mime mimelnk
|
2013-02-08 01:50:00 +01:00
|
|
|
@cd ${LODESTDIR}/${PREFIX} && ${FIND} -H -s share/${subdir} \
|
|
|
|
\( -type f -o -type l \) -print >> ${PLISTF}
|
|
|
|
@cd ${LODESTDIR}/${PREFIX} && ${FIND} -d share/${subdir} -type d \
|
|
|
|
-exec ${ECHO_CMD} "@dirrmtry {}" \; >> ${PLISTD}
|
- update to 3.4.3
- New options:
* SYSTRAY to activate the system try icons (quick start)
* GTK (which to be able to build a completly gtk free version of libreoffice please notice that dependencies can bring back gtk, for example libgsf if not built with the following knob: WITHOUT_GCONF)
* the GNOME option automatically activate the GTK one
* PYUNO do enable/disable the build of the python bindings for the UNO framework
- Disable system notification while building
- Remove the wiki-publisher extensions, it forces the build to have 3 apache-commons distfiles bundles and one of them the httpclient was failing with some locales activated
- Use pax instead or tar cf | tar xf, it is way faster to install
- Fix reading/writting MS Office documents
- Fix random segfaults: cell rendering options in calc, languages setting in global options
- Largely reduce built time
- Unbundle more things
- Be able to work with packaged hunspell, thesaurus and hyphenation as well as the usual extensions
- Now cups is mandatory (configure script is bugguy without cups)
- remove broken
PR: ports/157357 ports/156038 ports/158945 ports/159287 ports/160023
ports/160318
Submitted by: Hartmann, O. <ohartman@zedat.fu-berlin.de> (ports/157357),
Kuan-Chung Chiu <buganini@gmail.com> (ports/156038),
Dmitry Pryanishnikov <lynx.ripe@gmail.com> (ports/158945),
Adrien <pmn@bakarika.net> (ports/159287),
Travis Hunter <travis.hunter@gmail.com> (ports/160023),
gcooper@ (ports/160318)
With hat: office@
2011-09-05 13:45:31 +02:00
|
|
|
.endfor
|
2011-09-17 22:53:21 +02:00
|
|
|
# do not add the subdir itself as dirrmtry
|
|
|
|
.for subdir in application-registry mime-info
|
2013-02-08 01:50:00 +01:00
|
|
|
@cd ${LODESTDIR}/${PREFIX} && ${FIND} -H -s share/${subdir} \
|
|
|
|
\( -type f -o -type l \) -print >> ${PLISTF}
|
2011-09-17 22:53:21 +02:00
|
|
|
.endfor
|
2011-09-09 16:23:20 +02:00
|
|
|
|
2012-05-31 10:04:56 +02:00
|
|
|
.if ${PORT_OPTIONS:MGTK2} || ${PORT_OPTIONS:MGNOME} || ${PORT_OPTIONS:MGTK3}
|
2012-07-17 22:55:45 +02:00
|
|
|
@${ECHO_CMD} "@exec ${LOCALBASE}/bin/update-desktop-database >/dev/null || ${TRUE}" >> ${TMPPLIST}
|
|
|
|
@${ECHO_CMD} "@unexec ${LOCALBASE}/bin/update-desktop-database >/dev/null || ${TRUE}" >> ${TMPPLIST}
|
- update to 3.4.3
- New options:
* SYSTRAY to activate the system try icons (quick start)
* GTK (which to be able to build a completly gtk free version of libreoffice please notice that dependencies can bring back gtk, for example libgsf if not built with the following knob: WITHOUT_GCONF)
* the GNOME option automatically activate the GTK one
* PYUNO do enable/disable the build of the python bindings for the UNO framework
- Disable system notification while building
- Remove the wiki-publisher extensions, it forces the build to have 3 apache-commons distfiles bundles and one of them the httpclient was failing with some locales activated
- Use pax instead or tar cf | tar xf, it is way faster to install
- Fix reading/writting MS Office documents
- Fix random segfaults: cell rendering options in calc, languages setting in global options
- Largely reduce built time
- Unbundle more things
- Be able to work with packaged hunspell, thesaurus and hyphenation as well as the usual extensions
- Now cups is mandatory (configure script is bugguy without cups)
- remove broken
PR: ports/157357 ports/156038 ports/158945 ports/159287 ports/160023
ports/160318
Submitted by: Hartmann, O. <ohartman@zedat.fu-berlin.de> (ports/157357),
Kuan-Chung Chiu <buganini@gmail.com> (ports/156038),
Dmitry Pryanishnikov <lynx.ripe@gmail.com> (ports/158945),
Adrien <pmn@bakarika.net> (ports/159287),
Travis Hunter <travis.hunter@gmail.com> (ports/160023),
gcooper@ (ports/160318)
With hat: office@
2011-09-05 13:45:31 +02:00
|
|
|
.endif
|
|
|
|
|
2012-05-31 10:04:56 +02:00
|
|
|
.if ${PORT_OPTIONS:MSDK}
|
2013-02-08 01:50:00 +01:00
|
|
|
.for subdir in include share share/doc share/idl
|
|
|
|
@cd ${LODESTDIR}/${PREFIX} && ${FIND} -H -s ${subdir}/libreoffice \
|
|
|
|
\( -type f -o -type l \) -print >> ${PLISTF}
|
|
|
|
@cd ${LODESTDIR}/${PREFIX} && ${FIND} -d ${subdir}/libreoffice \
|
|
|
|
-type d -exec echo "@dirrm {}" \; >> ${PLISTD}
|
- update to 3.4.3
- New options:
* SYSTRAY to activate the system try icons (quick start)
* GTK (which to be able to build a completly gtk free version of libreoffice please notice that dependencies can bring back gtk, for example libgsf if not built with the following knob: WITHOUT_GCONF)
* the GNOME option automatically activate the GTK one
* PYUNO do enable/disable the build of the python bindings for the UNO framework
- Disable system notification while building
- Remove the wiki-publisher extensions, it forces the build to have 3 apache-commons distfiles bundles and one of them the httpclient was failing with some locales activated
- Use pax instead or tar cf | tar xf, it is way faster to install
- Fix reading/writting MS Office documents
- Fix random segfaults: cell rendering options in calc, languages setting in global options
- Largely reduce built time
- Unbundle more things
- Be able to work with packaged hunspell, thesaurus and hyphenation as well as the usual extensions
- Now cups is mandatory (configure script is bugguy without cups)
- remove broken
PR: ports/157357 ports/156038 ports/158945 ports/159287 ports/160023
ports/160318
Submitted by: Hartmann, O. <ohartman@zedat.fu-berlin.de> (ports/157357),
Kuan-Chung Chiu <buganini@gmail.com> (ports/156038),
Dmitry Pryanishnikov <lynx.ripe@gmail.com> (ports/158945),
Adrien <pmn@bakarika.net> (ports/159287),
Travis Hunter <travis.hunter@gmail.com> (ports/160023),
gcooper@ (ports/160318)
With hat: office@
2011-09-05 13:45:31 +02:00
|
|
|
.endfor
|
2013-02-08 01:50:00 +01:00
|
|
|
@${ECHO_CMD} "@dirrmtry share/idl" >> ${PLISTD}
|
- update to 3.4.3
- New options:
* SYSTRAY to activate the system try icons (quick start)
* GTK (which to be able to build a completly gtk free version of libreoffice please notice that dependencies can bring back gtk, for example libgsf if not built with the following knob: WITHOUT_GCONF)
* the GNOME option automatically activate the GTK one
* PYUNO do enable/disable the build of the python bindings for the UNO framework
- Disable system notification while building
- Remove the wiki-publisher extensions, it forces the build to have 3 apache-commons distfiles bundles and one of them the httpclient was failing with some locales activated
- Use pax instead or tar cf | tar xf, it is way faster to install
- Fix reading/writting MS Office documents
- Fix random segfaults: cell rendering options in calc, languages setting in global options
- Largely reduce built time
- Unbundle more things
- Be able to work with packaged hunspell, thesaurus and hyphenation as well as the usual extensions
- Now cups is mandatory (configure script is bugguy without cups)
- remove broken
PR: ports/157357 ports/156038 ports/158945 ports/159287 ports/160023
ports/160318
Submitted by: Hartmann, O. <ohartman@zedat.fu-berlin.de> (ports/157357),
Kuan-Chung Chiu <buganini@gmail.com> (ports/156038),
Dmitry Pryanishnikov <lynx.ripe@gmail.com> (ports/158945),
Adrien <pmn@bakarika.net> (ports/159287),
Travis Hunter <travis.hunter@gmail.com> (ports/160023),
gcooper@ (ports/160318)
With hat: office@
2011-09-05 13:45:31 +02:00
|
|
|
.endif
|
|
|
|
|
2013-02-08 01:50:00 +01:00
|
|
|
@${SORT} -u ${PLISTF} >> ${TMPPLIST}
|
|
|
|
@${GREP} '^@exec ' ${PLISTD} | ${SORT} -u >> ${TMPPLIST}
|
|
|
|
@${GREP} '^@dirrm ' ${PLISTD} | ${SORT} -ru >> ${TMPPLIST}
|
2013-02-09 01:51:31 +01:00
|
|
|
@${GREP} '^@dirrmtry ' ${PLISTD} | ${SORT} -ru | \
|
|
|
|
${SED} -e '${PLIST_REINPLACE_DIRRMTRY}' >> ${TMPPLIST}
|
- update to 3.4.3
- New options:
* SYSTRAY to activate the system try icons (quick start)
* GTK (which to be able to build a completly gtk free version of libreoffice please notice that dependencies can bring back gtk, for example libgsf if not built with the following knob: WITHOUT_GCONF)
* the GNOME option automatically activate the GTK one
* PYUNO do enable/disable the build of the python bindings for the UNO framework
- Disable system notification while building
- Remove the wiki-publisher extensions, it forces the build to have 3 apache-commons distfiles bundles and one of them the httpclient was failing with some locales activated
- Use pax instead or tar cf | tar xf, it is way faster to install
- Fix reading/writting MS Office documents
- Fix random segfaults: cell rendering options in calc, languages setting in global options
- Largely reduce built time
- Unbundle more things
- Be able to work with packaged hunspell, thesaurus and hyphenation as well as the usual extensions
- Now cups is mandatory (configure script is bugguy without cups)
- remove broken
PR: ports/157357 ports/156038 ports/158945 ports/159287 ports/160023
ports/160318
Submitted by: Hartmann, O. <ohartman@zedat.fu-berlin.de> (ports/157357),
Kuan-Chung Chiu <buganini@gmail.com> (ports/156038),
Dmitry Pryanishnikov <lynx.ripe@gmail.com> (ports/158945),
Adrien <pmn@bakarika.net> (ports/159287),
Travis Hunter <travis.hunter@gmail.com> (ports/160023),
gcooper@ (ports/160318)
With hat: office@
2011-09-05 13:45:31 +02:00
|
|
|
|
|
|
|
@cd ${LODESTDIR}/${PREFIX} ; ${PAX} -rw . ${PREFIX}
|
2013-02-08 01:50:00 +01:00
|
|
|
@${MKDIR} ${PREFIX}/etc/bash_completion.d
|
|
|
|
@${INSTALL_SCRIPT} ${LODESTDIR}/etc/bash_completion.d/libreoffice.sh \
|
|
|
|
${PREFIX}/etc/bash_completion.d
|
|
|
|
|
2012-05-31 10:04:56 +02:00
|
|
|
.if ${PORT_OPTIONS:MGTK2} || ${PORT_OPTIONS:MGNOME}
|
2011-02-09 12:59:16 +01:00
|
|
|
@${LOCALBASE}/bin/update-desktop-database 2>/dev/null || ${TRUE}
|
- update to 3.4.3
- New options:
* SYSTRAY to activate the system try icons (quick start)
* GTK (which to be able to build a completly gtk free version of libreoffice please notice that dependencies can bring back gtk, for example libgsf if not built with the following knob: WITHOUT_GCONF)
* the GNOME option automatically activate the GTK one
* PYUNO do enable/disable the build of the python bindings for the UNO framework
- Disable system notification while building
- Remove the wiki-publisher extensions, it forces the build to have 3 apache-commons distfiles bundles and one of them the httpclient was failing with some locales activated
- Use pax instead or tar cf | tar xf, it is way faster to install
- Fix reading/writting MS Office documents
- Fix random segfaults: cell rendering options in calc, languages setting in global options
- Largely reduce built time
- Unbundle more things
- Be able to work with packaged hunspell, thesaurus and hyphenation as well as the usual extensions
- Now cups is mandatory (configure script is bugguy without cups)
- remove broken
PR: ports/157357 ports/156038 ports/158945 ports/159287 ports/160023
ports/160318
Submitted by: Hartmann, O. <ohartman@zedat.fu-berlin.de> (ports/157357),
Kuan-Chung Chiu <buganini@gmail.com> (ports/156038),
Dmitry Pryanishnikov <lynx.ripe@gmail.com> (ports/158945),
Adrien <pmn@bakarika.net> (ports/159287),
Travis Hunter <travis.hunter@gmail.com> (ports/160023),
gcooper@ (ports/160318)
With hat: office@
2011-09-05 13:45:31 +02:00
|
|
|
.endif
|
2011-02-01 21:18:07 +01:00
|
|
|
|
2013-02-04 21:03:49 +01:00
|
|
|
post-clean:
|
|
|
|
@${RM} -f ${TMPDIR}/lobuild
|
2013-02-08 01:50:00 +01:00
|
|
|
@${RM} -fr ${TMPDIR}/LibreOffice ${TMPDIR}/LibreOffice_SDK
|
2013-02-04 21:03:49 +01:00
|
|
|
|
2011-02-01 21:18:07 +01:00
|
|
|
.include <bsd.port.post.mk>
|