diff options
Diffstat (limited to 'editors/libreoffice/Makefile')
-rw-r--r-- | editors/libreoffice/Makefile | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile index ff3c53bdadc6..2fe3a71901e0 100644 --- a/editors/libreoffice/Makefile +++ b/editors/libreoffice/Makefile @@ -42,6 +42,7 @@ LIB_DEPENDS= libapr-1.so:devel/apr1 \ libfreehand-0.1.so:graphics/libfreehand \ libgltf-0.0.so:graphics/libgltf \ libwpg-0.3.so:graphics/libwpg03 \ + libzmf-0.0.so:graphics/libzmf \ libGeneratedSaxParser.so:graphics/opencollada \ libpng.so:graphics/png \ libpoppler.so:graphics/poppler \ @@ -63,6 +64,7 @@ LIB_DEPENDS= libapr-1.so:devel/apr1 \ libmwaw-0.3.so:textproc/libmwaw03 \ libodfgen-0.1.so:textproc/libodfgen01 \ librevenge-0.0.so:textproc/librevenge \ + libstaroffice-0.0.so:textproc/libstaroffice \ libvisio-0.1.so:textproc/libvisio01 \ libwpd-0.10.so:textproc/libwpd010 \ libwps-0.4.so:textproc/libwps \ @@ -75,12 +77,13 @@ RUN_DEPENDS= xdg-open:devel/xdg-utils \ ${LOCALBASE}/share/fonts/Caladea/Caladea-Bold.ttf:x11-fonts/crosextrafonts-caladea-ttf \ ${LOCALBASE}/share/fonts/Carlito/Carlito-Bold.ttf:x11-fonts/crosextrafonts-carlito-ttf \ ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu \ + ${LOCALBASE}/share/fonts/emojione-color-font-ttf/EmojiOneColor-SVGinOT.ttf:x11-fonts/emojione-color-font-ttf \ ${LOCALBASE}/share/fonts/GentiumBasic/GenBasI.ttf:x11-fonts/gentium-basic \ ${LOCALBASE}/share/fonts/Liberation/LiberationMono-Bold.ttf:x11-fonts/liberation-fonts-ttf \ ${LOCALBASE}/share/fonts/LinLibertineG/LinLibertine_DR_G.ttf:x11-fonts/linuxlibertine-g -DISTFILES+= ce12af00283eb90d9281956524250d6e-xmlsec1-1.2.20.tar.gz:src \ - 4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2:src +DISTFILES+= 4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2:src \ + 86b1daaa438f5a7bea9a52d7b9799ac0-xmlsec1-1.2.23.tar.gz:src .if defined(PRERELEASE) MASTER_SITES+= http://dev-builds.libreoffice.org/pre-releases/src/ @@ -88,7 +91,7 @@ MASTER_SITES+= http://dev-builds.libreoffice.org/pre-releases/src/ CONFLICTS_INSTALL= libreoffice4-4.* -INSTALL_TARGET= distro-pack-install +INSTALL_TARGET= install-strip distro-pack-install WRKSRC= ${WRKDIR}/${PORTNAME}-${LOVERSION} GNU_CONFIGURE= yes @@ -97,8 +100,8 @@ USE_OPENLDAP= yes USE_PERL5= build USE_QT4= # empty but required USE_XORG= xaw xrandr -USES= autoreconf:build bison compiler:c++11-lib cpe firebird gmake jpeg perl5 pkgconfig \ - python shared-mime-info tar:xz +USES= autoreconf:build bison compiler:c++11-lib cpe gmake jpeg \ + perl5 pkgconfig python shared-mime-info tar:xz WANT_GNOME= yes OPTIONS_DEFINE= CUPS GNOME GTK2 GTK3 JAVA KDE4 MMEDIA PGSQL SDK SYSTRAY \ @@ -218,12 +221,9 @@ COLLADA_LIBS= -L${LOCALBASE}/lib/opencollada \ CONFIGURE_ARGS= --disable-dependency-tracking \ --disable-epm \ --disable-fetch-external \ - --disable-gnome-vfs \ - --disable-kde \ - --disable-kdeab \ + --disable-firebird-sdbc \ --disable-mergelibs \ --disable-online-update \ - --disable-packagekit \ --enable-cairo-canvas \ --enable-graphite \ --enable-python=system \ @@ -248,14 +248,13 @@ CONFIGURE_ARGS= --disable-dependency-tracking \ --with-system-zlib \ --with-vendor="FreeBSD ports" \ --without-fonts \ - --without-myspell-dicts \ - --without-system-npapi-headers + --without-myspell-dicts CONFIGURE_ENV= DMAKE=${LOCALBASE}/bin/dmake \ - FIREBIRD_CFLAGS="-isystem ${LOCALBASE}/include" \ - FIREBIRD_LIBS="-L${LOCALBASE}/lib -lfbembed" \ GNUTAR="${TAR}" \ GPERF=${LOCALBASE}/bin/gperf \ + ICU_CFLAGS="`icu-config --cflags`" \ + ICU_LIBS="`icu-config --ldflags`" \ OPENCOLLADA_CFLAGS="${COLLADA_CFLAGS}" \ OPENCOLLADA_LIBS="${COLLADA_LIBS}" \ PYTHON_CFLAGS="`${PYTHON_VERSION}-config --cflags`" \ @@ -284,7 +283,7 @@ EXTRA_PATCHES= ${PATCHDIR}/extrapatch-vcl_inc_unx_gtk_gtkinst.hxx \ .if ${COMPILER_TYPE} == "clang" CXXFLAGS_WARN= -Woverloaded-virtual -Wno-unused-parameter -.if${COMPILER_VERSION} >= 36 +.if ${COMPILER_VERSION} >= 36 CXXFLAGS_WARN+= -Wno-unused-local-typedefs .endif .else @@ -307,7 +306,7 @@ post-install: -exec ${ECHO_CMD} "@dir {}" \; >> ${TMPPLIST} @cd ${STAGEDIR}${PREFIX} && \ ${FIND} -s bin lib man -not -type d >> ${TMPPLIST} -.for subdir in application-registry applications icons mime mime-info mimelnk bash-completion +.for subdir in application-registry applications bash-completion icons mime mime-info mimelnk @cd ${STAGEDIR}${PREFIX} && \ ${FIND} -s share/${subdir} -not -type d >> ${TMPPLIST} .endfor |