summaryrefslogtreecommitdiff
path: root/editors/libreoffice/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/libreoffice/Makefile')
-rw-r--r--editors/libreoffice/Makefile17
1 files changed, 14 insertions, 3 deletions
diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile
index 1806e6ab8fc7..16e0c9121e00 100644
--- a/editors/libreoffice/Makefile
+++ b/editors/libreoffice/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION= 1
+PORTREVISION= 0
.include "${.CURDIR}/Makefile.common"
@@ -21,7 +21,6 @@ BUILD_DEPENDS= p5-Archive-Zip>=0:archivers/p5-Archive-Zip \
dmake:devel/dmake \
gperf>=3.1:devel/gperf \
${LOCALBASE}/include/libcuckoo/cuckoohash_map.hh:devel/libcuckoo \
- libunwind>=20211201_1:devel/libunwind \
mdds>=2.1:devel/mdds \
ucpp:devel/ucpp \
${LOCALBASE}/include/sane/sane.h:graphics/sane-backends \
@@ -51,9 +50,10 @@ LIB_DEPENDS= libapr-1.so:devel/apr1 \
libzmf-0.0.so:graphics/libzmf \
libpng.so:graphics/png \
libpoppler.so:graphics/poppler \
+ libtiff.so:graphics/tiff \
libwebp.so:graphics/webp \
liblpsolve55.so:math/lp_solve \
- libcmis-0.5.so:net/libcmis \
+ libcmis-0.6.so:net/libcmis \
libfreetype.so:print/freetype2 \
libharfbuzz.so:print/harfbuzz \
libharfbuzz-icu.so:print/harfbuzz-icu \
@@ -89,6 +89,12 @@ LIB_DEPENDS= libapr-1.so:devel/apr1 \
libfontconfig.so:x11-fonts/fontconfig \
libxcb-icccm.so:x11/xcb-util-wm \
libserf-1.so:www/serf
+LIB_DEPENDS+= ${LIB_DEPENDS_${ARCH}}
+LIB_DEPENDS_aarch64= libunwind.so:devel/libunwind
+LIB_DEPENDS_amd64= libunwind.so:devel/libunwind
+LIB_DEPENDS_i386= libunwind.so:devel/libunwind
+LIB_DEPENDS_powerpc64= libunwind.so:devel/libunwind
+LIB_DEPENDS_powerpc64le= libunwind.so:devel/libunwind
RUN_DEPENDS= xdg-open:devel/xdg-utils \
${LOCALBASE}/share/fonts/Caladea/Caladea-Bold.ttf:x11-fonts/crosextrafonts-caladea-ttf \
@@ -390,6 +396,11 @@ post-install:
.endfor
post-install-SDK-on:
+.for subdir in share share/doc
+ @cd ${STAGEDIR}${PREFIX} && \
+ ${FIND} -s ${subdir}/libreoffice -type d -empty \
+ -exec ${ECHO_CMD} "@dir {}" \; >> ${TMPPLIST}
+.endfor
.for subdir in include share share/doc
@cd ${STAGEDIR}${PREFIX} && \
${FIND} -s ${subdir}/libreoffice -not -type d >> ${TMPPLIST}