Lines 2-8
Link Here
|
2 |
|
2 |
|
3 |
.include "${.CURDIR}/Makefile.common" |
3 |
.include "${.CURDIR}/Makefile.common" |
4 |
|
4 |
|
5 |
PORTREVISION= 4 |
|
|
6 |
MASTER_SITES= http://download.documentfoundation.org/libreoffice/src/${PORTVERSION}/ \ |
5 |
MASTER_SITES= http://download.documentfoundation.org/libreoffice/src/${PORTVERSION}/ \ |
7 |
http://dev-www.libreoffice.org/src/:src \ |
6 |
http://dev-www.libreoffice.org/src/:src \ |
8 |
http://dev-www.libreoffice.org/extern/:ext |
7 |
http://dev-www.libreoffice.org/extern/:ext |
Lines 33-38
LIB_DEPENDS= libapr-1.so:devel/apr1 \
Link Here
|
33 |
libicutu.so:devel/icu \ |
32 |
libicutu.so:devel/icu \ |
34 |
liblangtag.so:devel/liblangtag \ |
33 |
liblangtag.so:devel/liblangtag \ |
35 |
liborcus-0.13.so:devel/liborcus \ |
34 |
liborcus-0.13.so:devel/liborcus \ |
|
|
35 |
libcppunit.so:devel/cppunit \ |
36 |
libcurl.so:ftp/curl \ |
36 |
libcurl.so:ftp/curl \ |
37 |
libcairo.so:graphics/cairo \ |
37 |
libcairo.so:graphics/cairo \ |
38 |
libgraphite2.so:graphics/graphite2 \ |
38 |
libgraphite2.so:graphics/graphite2 \ |
Lines 63-76
LIB_DEPENDS= libapr-1.so:devel/apr1 \
Link Here
|
63 |
libexttextcat-2.0.so:textproc/libexttextcat \ |
63 |
libexttextcat-2.0.so:textproc/libexttextcat \ |
64 |
libmwaw-0.3.so:textproc/libmwaw03 \ |
64 |
libmwaw-0.3.so:textproc/libmwaw03 \ |
65 |
libodfgen-0.1.so:textproc/libodfgen01 \ |
65 |
libodfgen-0.1.so:textproc/libodfgen01 \ |
|
|
66 |
libepubgen-0.1.so:textproc/libepubgen \ |
66 |
librevenge-0.0.so:textproc/librevenge \ |
67 |
librevenge-0.0.so:textproc/librevenge \ |
67 |
libstaroffice-0.0.so:textproc/libstaroffice \ |
68 |
libstaroffice-0.0.so:textproc/libstaroffice \ |
68 |
libvisio-0.1.so:textproc/libvisio01 \ |
69 |
libvisio-0.1.so:textproc/libvisio01 \ |
69 |
libwpd-0.10.so:textproc/libwpd010 \ |
70 |
libwpd-0.10.so:textproc/libwpd010 \ |
70 |
libwps-0.4.so:textproc/libwps \ |
71 |
libwps-0.4.so:textproc/libwps \ |
71 |
libxml2.so:textproc/libxml2 \ |
72 |
libxml2.so:textproc/libxml2 \ |
|
|
73 |
libxmlsec1-nss.so:security/xmlsec1 \ |
72 |
libxslt.so:textproc/libxslt \ |
74 |
libxslt.so:textproc/libxslt \ |
73 |
libmythes-1.2.so:textproc/mythes \ |
75 |
libmythes-1.2.so:textproc/mythes \ |
|
|
76 |
libqxp-0.0.so:textproc/libqxp \ |
74 |
librdf.so:textproc/redland \ |
77 |
librdf.so:textproc/redland \ |
75 |
libserf-1.so:www/serf |
78 |
libserf-1.so:www/serf |
76 |
RUN_DEPENDS= xdg-open:devel/xdg-utils \ |
79 |
RUN_DEPENDS= xdg-open:devel/xdg-utils \ |
Lines 82-90
RUN_DEPENDS= xdg-open:devel/xdg-utils \
Link Here
|
82 |
${LOCALBASE}/share/fonts/Liberation/LiberationMono-Bold.ttf:x11-fonts/liberation-fonts-ttf \ |
85 |
${LOCALBASE}/share/fonts/Liberation/LiberationMono-Bold.ttf:x11-fonts/liberation-fonts-ttf \ |
83 |
${LOCALBASE}/share/fonts/LinLibertineG/LinLibertine_DR_G.ttf:x11-fonts/linuxlibertine-g |
86 |
${LOCALBASE}/share/fonts/LinLibertineG/LinLibertine_DR_G.ttf:x11-fonts/linuxlibertine-g |
84 |
|
87 |
|
85 |
DISTFILES+= 4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2:src \ |
88 |
DISTFILES+= 4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2:src |
86 |
86b1daaa438f5a7bea9a52d7b9799ac0-xmlsec1-1.2.23.tar.gz:src \ |
89 |
# pdfium-3312.tar.bz2:src |
87 |
cppunit-1.13.2.tar.gz:src |
|
|
88 |
|
90 |
|
89 |
NOT_FOR_ARCHS= aarch64 armv6 armv7 |
91 |
NOT_FOR_ARCHS= aarch64 armv6 armv7 |
90 |
NOT_FOR_ARCHS_REASON= Unsupported host_cpu |
92 |
NOT_FOR_ARCHS_REASON= Unsupported host_cpu |
Lines 95-103
MASTER_SITES+= http://dev-builds.libreoffice.org/pre-releases/src/
Link Here
|
95 |
|
97 |
|
96 |
CONFLICTS_INSTALL= libreoffice4-4.* |
98 |
CONFLICTS_INSTALL= libreoffice4-4.* |
97 |
|
99 |
|
98 |
INSTALL_TARGET= distro-pack-install-strip |
100 |
INSTALL_TARGET= distro-pack-install |
99 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${LOVERSION} |
101 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${LOVERSION} |
100 |
|
102 |
|
|
|
103 |
SHEBANG_GLOB= *.py |
104 |
|
101 |
GNU_CONFIGURE= yes |
105 |
GNU_CONFIGURE= yes |
102 |
USE_GL= gl glew glu |
106 |
USE_GL= gl glew glu |
103 |
USE_OPENLDAP= yes |
107 |
USE_OPENLDAP= yes |
Lines 105-130
USE_PERL5= build
Link Here
|
105 |
USE_QT4= # empty but required |
109 |
USE_QT4= # empty but required |
106 |
USE_XORG= xaw xrandr |
110 |
USE_XORG= xaw xrandr |
107 |
USES= autoreconf:build bison compiler:c++11-lib cpe gmake jpeg \ |
111 |
USES= autoreconf:build bison compiler:c++11-lib cpe gmake jpeg \ |
108 |
perl5 pkgconfig python shared-mime-info tar:xz |
112 |
perl5 pkgconfig python shebangfix shared-mime-info tar:xz |
109 |
|
113 |
|
110 |
OPTIONS_DEFINE= CUPS GNOME GTK2 GTK3 JAVA KDE4 MMEDIA PGSQL SDK SYSTRAY \ |
114 |
OPTIONS_DEFINE= CUPS GNOME GTK2 GTK3 JAVA KDE4 MMEDIA PGSQL SDK SYSTRAY \ |
111 |
TEST WEBDAV |
115 |
TEST WEBDAV |
112 |
OPTIONS_DEFAULT= CUPS GTK2 MMEDIA |
116 |
OPTIONS_DEFAULT= CUPS GTK3 MMEDIA |
113 |
|
117 |
|
114 |
GTK3_DESC= GTK+ 3 GUI toolkit support (experimental) |
118 |
GTK2_DESC= GTK+ 2 GUI toolkit support |
115 |
JAVA_DESC= Add Java support (XML filters, macros) |
119 |
GTK3_DESC= GTK+ 3 GUI toolkit support |
116 |
MMEDIA_DESC= Enable multimedia backend for impress |
120 |
JAVA_DESC= Add Java support (XML filters, macros, DB connections) |
|
|
121 |
MMEDIA_DESC= Enable multimedia backend for Impress |
117 |
PGSQL_DESC= Build with PostgreSQL-SDBC driver |
122 |
PGSQL_DESC= Build with PostgreSQL-SDBC driver |
118 |
SDK_DESC= Build with SDK |
123 |
SDK_DESC= Build with SDK |
119 |
SYSTRAY_DESC= Enable systemtray quickstarter |
124 |
SYSTRAY_DESC= Enable systemtray quickstarter |
120 |
TEST_DESC= Run all regression tests |
125 |
TEST_DESC= Run all regression tests |
121 |
WEBDAV_DESC= Enable webdav protocol |
126 |
WEBDAV_DESC= Enable WebDAV protocol |
122 |
|
127 |
|
123 |
CUPS_CONFIGURE_ENABLE= cups |
128 |
CUPS_CONFIGURE_ENABLE= cups |
124 |
CUPS_LIB_DEPENDS= libcups.so:print/cups |
129 |
CUPS_LIB_DEPENDS= libcups.so:print/cups |
125 |
|
130 |
|
126 |
GNOME_CONFIGURE_ENABLE= dbus dconf |
131 |
GNOME_CONFIGURE_ENABLE= dbus dconf |
127 |
GNOME_IMPLIES= GTK2 |
132 |
GNOME_IMPLIES= GTK3 |
128 |
GNOME_LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib |
133 |
GNOME_LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib |
129 |
GNOME_USE= GNOME=dconf |
134 |
GNOME_USE= GNOME=dconf |
130 |
|
135 |
|
Lines 227-235
CONFIGURE_ARGS= --disable-dependency-tracking \
Link Here
|
227 |
--disable-mergelibs \ |
232 |
--disable-mergelibs \ |
228 |
--disable-online-update \ |
233 |
--disable-online-update \ |
229 |
--enable-cairo-canvas \ |
234 |
--enable-cairo-canvas \ |
230 |
--enable-graphite \ |
|
|
231 |
--enable-python=system \ |
235 |
--enable-python=system \ |
232 |
--enable-release-build \ |
236 |
--enable-release-build \ |
|
|
237 |
--disable-pdfium \ |
233 |
--exec-prefix=${PREFIX} \ |
238 |
--exec-prefix=${PREFIX} \ |
234 |
--with-alloc=system \ |
239 |
--with-alloc=system \ |
235 |
--with-boost=${LOCALBASE} \ |
240 |
--with-boost=${LOCALBASE} \ |
Lines 241-246
CONFIGURE_ARGS= --disable-dependency-tracking \
Link Here
|
241 |
--with-gnu-patch=${LOCALBASE}/bin/gpatch \ |
246 |
--with-gnu-patch=${LOCALBASE}/bin/gpatch \ |
242 |
--with-os-version=${OSVERSION} \ |
247 |
--with-os-version=${OSVERSION} \ |
243 |
--with-parallelism=${MAKE_JOBS_NUMBER} \ |
248 |
--with-parallelism=${MAKE_JOBS_NUMBER} \ |
|
|
249 |
--with-system-cppunit \ |
244 |
--with-system-curl \ |
250 |
--with-system-curl \ |
245 |
--with-system-dicts \ |
251 |
--with-system-dicts \ |
246 |
--with-system-libs \ |
252 |
--with-system-libs \ |
Lines 250-257
CONFIGURE_ARGS= --disable-dependency-tracking \
Link Here
|
250 |
--with-system-zlib \ |
256 |
--with-system-zlib \ |
251 |
--with-vendor="FreeBSD ports" \ |
257 |
--with-vendor="FreeBSD ports" \ |
252 |
--without-fonts \ |
258 |
--without-fonts \ |
253 |
--without-myspell-dicts \ |
259 |
--without-myspell-dicts |
254 |
--without-system-cppunit |
|
|
255 |
|
260 |
|
256 |
CONFIGURE_ENV= DMAKE=${LOCALBASE}/bin/dmake \ |
261 |
CONFIGURE_ENV= DMAKE=${LOCALBASE}/bin/dmake \ |
257 |
GNUTAR="${TAR}" \ |
262 |
GNUTAR="${TAR}" \ |
Lines 311-317
post-install:
Link Here
|
311 |
-exec ${ECHO_CMD} "@dir {}" \; >> ${TMPPLIST} |
316 |
-exec ${ECHO_CMD} "@dir {}" \; >> ${TMPPLIST} |
312 |
@cd ${STAGEDIR}${PREFIX} && \ |
317 |
@cd ${STAGEDIR}${PREFIX} && \ |
313 |
${FIND} -s bin lib man -not -type d >> ${TMPPLIST} |
318 |
${FIND} -s bin lib man -not -type d >> ${TMPPLIST} |
314 |
.for subdir in appdata application-registry applications bash-completion icons mime mime-info mimelnk |
319 |
.for subdir in appdata application-registry applications bash-completion icons mime mime-info |
315 |
@cd ${STAGEDIR}${PREFIX} && \ |
320 |
@cd ${STAGEDIR}${PREFIX} && \ |
316 |
${FIND} -s share/${subdir} -not -type d >> ${TMPPLIST} |
321 |
${FIND} -s share/${subdir} -not -type d >> ${TMPPLIST} |
317 |
.endfor |
322 |
.endfor |