Created
February 21, 2019 13:51
-
-
Save tsutsui/f45b4116eb475ef61b15ad3a608d572d to your computer and use it in GitHub Desktop.
WIP pkgsrc/misc/libreoffice6-bin 6.2.0 (linux binary) package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a shell archive. Save it in a file, remove anything before | |
# this line, and then unpack it by entering "sh file". Note, it may | |
# create directories; files and directories will be owned by you and | |
# have default permissions. | |
# | |
# This archive contains: | |
# | |
# misc/libreoffice6-bin | |
# misc/libreoffice6-bin/PLIST.dirs | |
# misc/libreoffice6-bin/DESCR | |
# misc/libreoffice6-bin/Makefile | |
# misc/libreoffice6-bin/files | |
# misc/libreoffice6-bin/files/libreoffice-bin-impress.desktop | |
# misc/libreoffice6-bin/files/libreoffice-bin-base.desktop | |
# misc/libreoffice6-bin/files/libreoffice-bin-calc.desktop | |
# misc/libreoffice6-bin/files/libreoffice-bin-draw.desktop | |
# misc/libreoffice6-bin/files/libreoffice-bin-writer.desktop | |
# misc/libreoffice6-bin/files/libreoffice-bin-math.desktop | |
# misc/libreoffice6-bin/files/soffice | |
# misc/libreoffice6-bin/PLIST.proglinks | |
# misc/libreoffice6-bin/distinfo | |
# misc/libreoffice6-bin/options.mk | |
# | |
echo c - misc/libreoffice6-bin | |
mkdir -p misc/libreoffice6-bin > /dev/null 2>&1 | |
echo x - misc/libreoffice6-bin/PLIST.dirs | |
sed 's/^X//' >misc/libreoffice6-bin/PLIST.dirs << 'END-of-misc/libreoffice6-bin/PLIST.dirs' | |
X@comment $NetBSD: PLIST.dirs,v 1.1 2016/01/08 23:53:13 ryoon Exp $ | |
X@pkgdir opt/libreoffice | |
X@pkgdir opt | |
END-of-misc/libreoffice6-bin/PLIST.dirs | |
echo x - misc/libreoffice6-bin/DESCR | |
sed 's/^X//' >misc/libreoffice6-bin/DESCR << 'END-of-misc/libreoffice6-bin/DESCR' | |
XLibreOffice is the free power-packed Open Source personal productivity | |
Xsuite for Windows, Macintosh and Linux, that gives you six feature-rich | |
Xapplications for all your document production and data processing | |
Xneeds: Writer, Calc, Impress, Draw, Math and Base. | |
X | |
XThis package tracks libreoffice-6.x branch of official Linux binary. | |
END-of-misc/libreoffice6-bin/DESCR | |
echo x - misc/libreoffice6-bin/Makefile | |
sed 's/^X//' >misc/libreoffice6-bin/Makefile << 'END-of-misc/libreoffice6-bin/Makefile' | |
X# $NetBSD$ | |
X | |
XDISTNAME= libreoffice6-bin # overridden below | |
XPKGNAME= libreoffice6-bin-${OO_RELEASE} | |
XCATEGORIES= misc | |
X | |
XMAINTAINER= tsutsui@NetBSD.org | |
XHOMEPAGE= https://www.libreoffice.org/ | |
XCOMMENT= Integrated office productivity suite (binary pkg) | |
XLICENSE= gnu-lgpl-v3 | |
X | |
XCONFLICTS+= staroffice-[0-9]* | |
XCONFLICTS+= openoffice-[0-9]* | |
XCONFLICTS+= openoffice-bin-[0-9]* | |
XCONFLICTS+= openoffice2-bin-[0-9]* | |
XCONFLICTS+= openoffice2-[0-9]* | |
XCONFLICTS+= openoffice3-[0-9]* | |
XCONFLICTS+= openoffice3-bin-[0-9]* | |
XCONFLICTS+= openoffice-linux-[0-9]* | |
XCONFLICTS+= libreoffice3-bin-[0-9]* | |
XCONFLICTS+= libreoffice4-bin-[0-9]* | |
XCONFLICTS+= libreoffice5-bin-[0-9]* | |
X | |
XOO_VER= 6 | |
XOO_BASEVER= ${OO_VER}.2 | |
XOO_RELEASE= ${OO_BASEVER}.0 | |
XOO_RELEASEV= ${OO_RELEASE}.3 | |
XPLIST_SUBST+= VER=${OO_VER:Q} BASEVER=${OO_BASEVER:Q} | |
XMESSAGE_SUBST+= VER=${OO_VER:Q} | |
XFILES_SUBST+= VER=${OO_VER:Q} | |
X | |
XTEMP?= ${WRKSRC} | |
XEXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} | |
XBUILD_DIRS= # empty | |
X | |
XPLIST_SRC= ${PKGDIR}/PLIST.proglinks | |
XPLIST_SRC+= ${WRKDIR}/PLIST | |
XPLIST_SRC+= ${PKGDIR}/PLIST.dirs | |
X | |
XEMUL_PLATFORMS= linux-i386 linux-x86_64 | |
X#EMUL_PLATFORMS+= solaris-i386 solaris-sparc | |
XEMUL_MODULES.linux= avahi cups dbus dbus-glib fontconfig freetype2 glx | |
XEMUL_MODULES.linux+= gstreamer gtk2 krb5 locale png qt4 x11 | |
XEMUL_REQD= suse>=13.1 | |
X | |
XEMUL_PKG_FMT= rpm | |
XRPMFILES= ${WRKSRC}/RPMS/*.rpm | |
XRPM2PKG_PREFIX= ${DESTDIR}${PREFIX} | |
XRPM2PKG_SUBPREFIX= # empty | |
XRPM2PKG_STAGE= do-install | |
XRUN_LDCONFIG= no | |
X | |
XUSE_TOOLS+= patch uniq | |
X | |
X.include "../../mk/bsd.prefs.mk" | |
X | |
X.if ${EMUL_PLATFORM} == "linux-i386" | |
XDISTNAME= LibreOffice_${OO_RELEASE}_Linux_x86_rpm | |
XWRKSRC= ${WRKDIR}/LibreOffice_${OO_RELEASEV}_Linux_x86_rpm | |
XMASTER_SITES= http://download.documentfoundation.org/libreoffice/stable/${OO_RELEASE}/rpm/x86/ | |
X.elif ${EMUL_PLATFORM} == "linux-x86_64" | |
XDISTNAME= LibreOffice_${OO_RELEASE}_Linux_x86-64_rpm | |
XWRKSRC= ${WRKDIR}/LibreOffice_${OO_RELEASEV}_Linux_x86-64_rpm | |
XMASTER_SITES= http://download.documentfoundation.org/libreoffice/stable/${OO_RELEASE}/rpm/x86_64/ | |
X.endif | |
X | |
X.include "options.mk" | |
X | |
XINSTALLATION_DIRS= bin share/applications | |
XDESKTOP_FILESDIR= ${.CURDIR}/../../misc/libreoffice6-bin/files | |
X | |
Xdo-install: | |
X ${UNIQ} ${RPM2PKG_PLIST} | \ | |
X ${SED} -e 's,^@exec mkdir -m 755 -p %D/,@pkgdir,' > ${WRKDIR}/PLIST | |
X ${RM} -f ${DESTDIR}${PREFIX}/bin/soffice | |
X ${SED} -e "s|@@PREFIX@@|${PREFIX}|g" -e "s|@@OO_VER@@|${OO_VER}|g" \ | |
X -e "s|@@JAVA_HOME@@|${PKG_JAVA_HOME}|g" \ | |
X -e "s|@@OO_BASEVER@@|${OO_BASEVER}|g" \ | |
X < ${FILESDIR}/soffice > ${DESTDIR}${PREFIX}/bin/soffice | |
X ${CHMOD} +x ${DESTDIR}${PREFIX}/bin/soffice | |
X ${INSTALL_DATA} ${DESKTOP_FILESDIR}/*.desktop ${DESTDIR}${PREFIX}/share/applications | |
X.for i in sbase scalc sdraw simpress smath swriter | |
X ${LN} -sf ../opt/libreoffice${OO_BASEVER}/program/${i} ${DESTDIR}${PREFIX}/bin/${i} | |
X.endfor | |
X | |
X.include "../../sysutils/desktop-file-utils/desktopdb.mk" | |
X.include "../../mk/bsd.pkg.mk" | |
END-of-misc/libreoffice6-bin/Makefile | |
echo c - misc/libreoffice6-bin/files | |
mkdir -p misc/libreoffice6-bin/files > /dev/null 2>&1 | |
echo x - misc/libreoffice6-bin/files/libreoffice-bin-impress.desktop | |
sed 's/^X//' >misc/libreoffice6-bin/files/libreoffice-bin-impress.desktop << 'END-of-misc/libreoffice6-bin/files/libreoffice-bin-impress.desktop' | |
X# | |
X# This file is part of the LibreOffice project. | |
X# | |
X# This Source Code Form is subject to the terms of the Mozilla Public | |
X# License, v. 2.0. If a copy of the MPL was not distributed with this | |
X# file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
X# | |
X# This file incorporates work covered by the following license notice: | |
X# | |
X# Licensed to the Apache Software Foundation (ASF) under one or more | |
X# contributor license agreements. See the NOTICE file distributed | |
X# with this work for additional information regarding copyright | |
X# ownership. The ASF licenses this file to you under the Apache | |
X# License, Version 2.0 (the "License"); you may not use this file | |
X# except in compliance with the License. You may obtain a copy of | |
X# the License at http://www.apache.org/licenses/LICENSE-2.0 . | |
X# | |
X[Desktop Entry] | |
XVersion=1.0 | |
XTerminal=false | |
XIcon=impress | |
XType=Application | |
XCategories=Office;Presentation;X-Red-Hat-Base;X-MandrivaLinux-Office-Presentations; | |
XExec=soffice --impress | |
XMimeType=application/vnd.oasis.opendocument.presentation;application/vnd.oasis.opendocument.presentation-template;application/vnd.sun.xml.impress;application/vnd.sun.xml.impress.template;application/mspowerpoint;application/vnd.ms-powerpoint;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.ms-powerpoint.presentation.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.template;application/vnd.ms-powerpoint.template.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.slide;application/vnd.openxmlformats-officedocument.presentationml.slideshow;application/vnd.ms-powerpoint.slideshow.macroEnabled.12;application/vnd.oasis.opendocument.presentation-flat-xml;application/x-iwork-keynote-sffkey; | |
XName=LibreOffice Impress | |
XGenericName=Presentation | |
XComment=Create and edit presentations for slideshows, meeting and Web pages by using Impress. | |
XStartupNotify=true | |
XX-GIO-NoFuse=true | |
XKeywords=Slideshow;Slides;OpenDocument Presentation;Microsoft PowerPoint;Microsoft Works;OpenOffice Impress;odp;ppt;pptx; | |
XInitialPreference=5 | |
XStartupWMClass=libreoffice-impress | |
XX-KDE-Protocols=file,http,ftp,webdav | |
X | |
XActions=NewDocument; | |
X[Desktop Action NewDocument] | |
XName=New Presentation | |
XExec=soffice --impress | |
END-of-misc/libreoffice6-bin/files/libreoffice-bin-impress.desktop | |
echo x - misc/libreoffice6-bin/files/libreoffice-bin-base.desktop | |
sed 's/^X//' >misc/libreoffice6-bin/files/libreoffice-bin-base.desktop << 'END-of-misc/libreoffice6-bin/files/libreoffice-bin-base.desktop' | |
X# | |
X# This file is part of the LibreOffice project. | |
X# | |
X# This Source Code Form is subject to the terms of the Mozilla Public | |
X# License, v. 2.0. If a copy of the MPL was not distributed with this | |
X# file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
X# | |
X# This file incorporates work covered by the following license notice: | |
X# | |
X# Licensed to the Apache Software Foundation (ASF) under one or more | |
X# contributor license agreements. See the NOTICE file distributed | |
X# with this work for additional information regarding copyright | |
X# ownership. The ASF licenses this file to you under the Apache | |
X# License, Version 2.0 (the "License"); you may not use this file | |
X# except in compliance with the License. You may obtain a copy of | |
X# the License at http://www.apache.org/licenses/LICENSE-2.0 . | |
X# | |
X[Desktop Entry] | |
XVersion=1.0 | |
XTerminal=false | |
XIcon=base | |
XType=Application | |
XCategories=Office;Database;X-Red-Hat-Base;X-MandrivaLinux-MoreApplications-Databases; | |
XExec=soffice --base | |
XMimeType=application/vnd.oasis.opendocument.database;application/vnd.sun.xml.base; | |
XName=LibreOffice Base | |
XGenericName=Database Development | |
XComment=Manage databases, create queries and reports to track and manage your information by using Base. | |
XStartupNotify=true | |
XX-GIO-NoFuse=true | |
XKeywords=Data;SQL; | |
XInitialPreference=5 | |
XStartupWMClass=libreoffice-base | |
XX-KDE-Protocols=file,http,ftp,webdav | |
X | |
XActions=NewDocument; | |
X[Desktop Action NewDocument] | |
XName=New Database | |
XExec=soffice --base | |
END-of-misc/libreoffice6-bin/files/libreoffice-bin-base.desktop | |
echo x - misc/libreoffice6-bin/files/libreoffice-bin-calc.desktop | |
sed 's/^X//' >misc/libreoffice6-bin/files/libreoffice-bin-calc.desktop << 'END-of-misc/libreoffice6-bin/files/libreoffice-bin-calc.desktop' | |
X# | |
X# This file is part of the LibreOffice project. | |
X# | |
X# This Source Code Form is subject to the terms of the Mozilla Public | |
X# License, v. 2.0. If a copy of the MPL was not distributed with this | |
X# file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
X# | |
X# This file incorporates work covered by the following license notice: | |
X# | |
X# Licensed to the Apache Software Foundation (ASF) under one or more | |
X# contributor license agreements. See the NOTICE file distributed | |
X# with this work for additional information regarding copyright | |
X# ownership. The ASF licenses this file to you under the Apache | |
X# License, Version 2.0 (the "License"); you may not use this file | |
X# except in compliance with the License. You may obtain a copy of | |
X# the License at http://www.apache.org/licenses/LICENSE-2.0 . | |
X# | |
X[Desktop Entry] | |
XVersion=1.0 | |
XTerminal=false | |
XIcon=calc | |
XType=Application | |
XCategories=Office;Spreadsheet;X-Red-Hat-Base;X-MandrivaLinux-Office-Spreadsheets; | |
XExec=soffice --calc | |
XMimeType=application/vnd.oasis.opendocument.spreadsheet;application/vnd.oasis.opendocument.spreadsheet-template;application/vnd.sun.xml.calc;application/vnd.sun.xml.calc.template;application/msexcel;application/vnd.ms-excel;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.ms-excel.sheet.macroenabled.12;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.template.macroenabled.12;application/vnd.ms-excel.sheet.binary.macroenabled.12;text/csv;application/x-dbf;text/spreadsheet;application/csv;application/excel;application/tab-separated-values;application/vnd.lotus-1-2-3;application/vnd.oasis.opendocument.chart;application/vnd.oasis.opendocument.chart-template;application/x-dbase;application/x-dos_ms_excel;application/x-excel;application/x-msexcel;application/x-ms-excel;application/x-quattropro;application/x-123;text/comma-separated-values;text/tab-separated-values;text/x-comma-separated-values;text/x-csv;application/vnd.oasis.opendocument.spreadsheet-flat-xml;application/vnd.ms-works;application/clarisworks; | |
XName=LibreOffice Calc | |
XGenericName=Spreadsheet | |
XComment=Perform calculations, analyze information and manage lists in spreadsheets by using Calc. | |
XStartupNotify=true | |
XX-GIO-NoFuse=true | |
XKeywords=Accounting;Stats;OpenDocument Spreadsheet;Chart;Microsoft Excel;Microsoft Works;OpenOffice Calc;ods;xls;xlsx; | |
XInitialPreference=5 | |
XStartupWMClass=libreoffice-calc | |
XX-KDE-Protocols=file,http,ftp,webdav | |
X | |
XActions=NewDocument; | |
X[Desktop Action NewDocument] | |
XName=New Spreadsheet | |
XExec=soffice --calc | |
END-of-misc/libreoffice6-bin/files/libreoffice-bin-calc.desktop | |
echo x - misc/libreoffice6-bin/files/libreoffice-bin-draw.desktop | |
sed 's/^X//' >misc/libreoffice6-bin/files/libreoffice-bin-draw.desktop << 'END-of-misc/libreoffice6-bin/files/libreoffice-bin-draw.desktop' | |
X# | |
X# This file is part of the LibreOffice project. | |
X# | |
X# This Source Code Form is subject to the terms of the Mozilla Public | |
X# License, v. 2.0. If a copy of the MPL was not distributed with this | |
X# file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
X# | |
X# This file incorporates work covered by the following license notice: | |
X# | |
X# Licensed to the Apache Software Foundation (ASF) under one or more | |
X# contributor license agreements. See the NOTICE file distributed | |
X# with this work for additional information regarding copyright | |
X# ownership. The ASF licenses this file to you under the Apache | |
X# License, Version 2.0 (the "License"); you may not use this file | |
X# except in compliance with the License. You may obtain a copy of | |
X# the License at http://www.apache.org/licenses/LICENSE-2.0 . | |
X# | |
X[Desktop Entry] | |
XVersion=1.0 | |
XTerminal=false | |
XIcon=draw | |
XType=Application | |
XCategories=Office;FlowChart;Graphics;2DGraphics;VectorGraphics;X-Red-Hat-Base;X-MandrivaLinux-Office-Drawing; | |
XExec=soffice --draw | |
XMimeType=application/vnd.oasis.opendocument.graphics;application/vnd.oasis.opendocument.graphics-flat-xml;application/vnd.oasis.opendocument.graphics-template;application/vnd.sun.xml.draw;application/vnd.sun.xml.draw.template;application/vnd.visio;application/x-wpg;application/vnd.corel-draw;application/vnd.ms-publisher;image/x-freehand;application/clarisworks;application/x-pagemaker; | |
XName=LibreOffice Draw | |
XGenericName=Drawing Program | |
XComment=Create and edit drawings, flow charts and logos by using Draw. | |
XStartupNotify=true | |
XX-GIO-NoFuse=true | |
XKeywords=Vector;Schema;Diagram;Layout;OpenDocument Graphics;Microsoft Publisher;Corel Draw;cdr;odg;svg; | |
XInitialPreference=5 | |
XStartupWMClass=libreoffice-draw | |
XX-KDE-Protocols=file,http,ftp,webdav | |
X | |
XActions=NewDocument; | |
X[Desktop Action NewDocument] | |
XName=New Drawing | |
XExec=soffice --draw | |
END-of-misc/libreoffice6-bin/files/libreoffice-bin-draw.desktop | |
echo x - misc/libreoffice6-bin/files/libreoffice-bin-writer.desktop | |
sed 's/^X//' >misc/libreoffice6-bin/files/libreoffice-bin-writer.desktop << 'END-of-misc/libreoffice6-bin/files/libreoffice-bin-writer.desktop' | |
X# | |
X# This file is part of the LibreOffice project. | |
X# | |
X# This Source Code Form is subject to the terms of the Mozilla Public | |
X# License, v. 2.0. If a copy of the MPL was not distributed with this | |
X# file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
X# | |
X# This file incorporates work covered by the following license notice: | |
X# | |
X# Licensed to the Apache Software Foundation (ASF) under one or more | |
X# contributor license agreements. See the NOTICE file distributed | |
X# with this work for additional information regarding copyright | |
X# ownership. The ASF licenses this file to you under the Apache | |
X# License, Version 2.0 (the "License"); you may not use this file | |
X# except in compliance with the License. You may obtain a copy of | |
X# the License at http://www.apache.org/licenses/LICENSE-2.0 . | |
X# | |
X[Desktop Entry] | |
XVersion=1.0 | |
XTerminal=false | |
XIcon=writer | |
XType=Application | |
XCategories=Office;WordProcessor;X-Red-Hat-Base;X-MandrivaLinux-Office-Wordprocessors; | |
XExec=soffice --writer | |
XMimeType=application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-template;application/vnd.oasis.opendocument.text-web;application/vnd.oasis.opendocument.text-master;application/vnd.oasis.opendocument.text-master-template;application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.template;application/vnd.sun.xml.writer.global;application/msword;application/vnd.ms-word;application/x-doc;application/x-hwp;application/rtf;text/rtf;application/vnd.wordperfect;application/wordperfect;application/vnd.lotus-wordpro;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.ms-word.document.macroenabled.12;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.ms-word.template.macroenabled.12;application/vnd.ms-works;application/vnd.stardivision.writer-global;application/x-extension-txt;application/x-t602;text/plain;application/vnd.oasis.opendocument.text-flat-xml;application/x-fictionbook+xml;application/macwriteii;application/x-aportisdoc;application/prs.plucker;application/vnd.palm;application/clarisworks;application/x-sony-bbeb;application/x-abiword; | |
XName=LibreOffice Writer | |
XGenericName=Word Processor | |
XComment=Create and edit text and graphics in letters, reports, documents and Web pages by using Writer. | |
XStartupNotify=true | |
XX-GIO-NoFuse=true | |
XKeywords=Text;Letter;Fax;Document;OpenDocument Text;Microsoft Word;Microsoft Works;Lotus WordPro;OpenOffice Writer;CV;odt;doc;docx;rtf; | |
XInitialPreference=5 | |
XStartupWMClass=libreoffice-writer | |
XX-KDE-Protocols=file,http,ftp,webdav | |
X | |
XActions=NewDocument; | |
X[Desktop Action NewDocument] | |
XName=New Document | |
XExec=soffice --writer | |
END-of-misc/libreoffice6-bin/files/libreoffice-bin-writer.desktop | |
echo x - misc/libreoffice6-bin/files/libreoffice-bin-math.desktop | |
sed 's/^X//' >misc/libreoffice6-bin/files/libreoffice-bin-math.desktop << 'END-of-misc/libreoffice6-bin/files/libreoffice-bin-math.desktop' | |
X# | |
X# This file is part of the LibreOffice project. | |
X# | |
X# This Source Code Form is subject to the terms of the Mozilla Public | |
X# License, v. 2.0. If a copy of the MPL was not distributed with this | |
X# file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
X# | |
X# This file incorporates work covered by the following license notice: | |
X# | |
X# Licensed to the Apache Software Foundation (ASF) under one or more | |
X# contributor license agreements. See the NOTICE file distributed | |
X# with this work for additional information regarding copyright | |
X# ownership. The ASF licenses this file to you under the Apache | |
X# License, Version 2.0 (the "License"); you may not use this file | |
X# except in compliance with the License. You may obtain a copy of | |
X# the License at http://www.apache.org/licenses/LICENSE-2.0 . | |
X# | |
X[Desktop Entry] | |
XVersion=1.0 | |
XTerminal=false | |
XNoDisplay=false | |
XIcon=math | |
XType=Application | |
XCategories=Office;Spreadsheet;Education;Science;Math;X-Red-Hat-Base;X-MandrivaLinux-Office-Other; | |
XExec=soffice --math | |
XMimeType=application/vnd.oasis.opendocument.formula;application/vnd.sun.xml.math;application/vnd.oasis.opendocument.formula-template;text/mathml;application/mathml+xml; | |
XName=LibreOffice Math | |
XGenericName=Formula Editor | |
XComment=Create and edit scientific formulas and equations by using Math. | |
XStartupNotify=true | |
XX-GIO-NoFuse=true | |
XKeywords=Equation;OpenDocument Formula;Formula;odf;MathML; | |
XInitialPreference=5 | |
XStartupWMClass=libreoffice-math | |
XX-KDE-Protocols=file,http,ftp,webdav | |
X | |
XActions=NewDocument; | |
X[Desktop Action NewDocument] | |
XName=New Formula | |
XExec=soffice --math | |
END-of-misc/libreoffice6-bin/files/libreoffice-bin-math.desktop | |
echo x - misc/libreoffice6-bin/files/soffice | |
sed 's/^X//' >misc/libreoffice6-bin/files/soffice << 'END-of-misc/libreoffice6-bin/files/soffice' | |
X#!/bin/sh | |
X# | |
X# $NetBSD: soffice,v 1.1 2016/01/08 23:53:13 ryoon Exp $ | |
X# | |
XSOINST=@@PREFIX@@/opt/libreoffice@@OO_BASEVER@@ | |
X | |
X# make sure we can find `whoami` on solaris | |
XPATH=${PATH}:/usr/ucb | |
X | |
X# add the chosen java directory to $PATH to allow OOo to | |
X# automatically find it | |
XPATH=${PATH}:@@JAVA_HOME@@ | |
X | |
X# default data seg size is too small for java | |
Xulimit -d `ulimit -H -d` | |
X | |
Xexec ${SOINST}/program/soffice "$@" | |
END-of-misc/libreoffice6-bin/files/soffice | |
echo x - misc/libreoffice6-bin/PLIST.proglinks | |
sed 's/^X//' >misc/libreoffice6-bin/PLIST.proglinks << 'END-of-misc/libreoffice6-bin/PLIST.proglinks' | |
X@comment $NetBSD: PLIST.proglinks,v 1.3 2016/03/04 00:31:49 youri Exp $ | |
Xbin/sbase | |
Xbin/scalc | |
Xbin/sdraw | |
Xbin/simpress | |
Xbin/smath | |
Xbin/soffice | |
Xbin/swriter | |
Xshare/applications/libreoffice-bin-base.desktop | |
Xshare/applications/libreoffice-bin-calc.desktop | |
Xshare/applications/libreoffice-bin-draw.desktop | |
Xshare/applications/libreoffice-bin-impress.desktop | |
Xshare/applications/libreoffice-bin-math.desktop | |
Xshare/applications/libreoffice-bin-writer.desktop | |
END-of-misc/libreoffice6-bin/PLIST.proglinks | |
echo x - misc/libreoffice6-bin/distinfo | |
sed 's/^X//' >misc/libreoffice6-bin/distinfo << 'END-of-misc/libreoffice6-bin/distinfo' | |
X$NetBSD$ | |
X | |
XSHA1 (LibreOffice_6.2.0_Linux_x86_rpm.tar.gz) = 889e4588f6c7264f6a88fb55cd43880ee3ad8ed6 | |
XRMD160 (LibreOffice_6.2.0_Linux_x86_rpm.tar.gz) = 1c1e13277897cff3083d8f3be5c4d30560a72995 | |
XSHA512 (LibreOffice_6.2.0_Linux_x86_rpm.tar.gz) = 8a2881858d768722b7c3fe4e6e76f6b06129c14942608cc88b5eeed0ae9d47aa8e2f7b2fbf628a0d0996d06db806b652dbf513e0579d163144348c1b6543ae27 | |
XSize (LibreOffice_6.2.0_Linux_x86_rpm.tar.gz) = 227466195 bytes | |
XSHA1 (LibreOffice_6.2.0_Linux_x86-64_rpm.tar.gz) = 67eaad5ee0b86c287c20b22ef3b59b87798c604d | |
XRMD160 (LibreOffice_6.2.0_Linux_x86-64_rpm.tar.gz) = 597ad101d6bbd94f17d74f026bf8a49da2fc99e3 | |
XSHA512 (LibreOffice_6.2.0_Linux_x86-64_rpm.tar.gz) = 7b236b312f8bc6737f390c780ec73fc71453afcefcdb4a4ca0b6e9fbaeb9878273eaec464ced5b284bff3b69ce73cc150746fdd6af2b15d51bb6cbf57e3e9808 | |
XSize (LibreOffice_6.2.0_Linux_x86-64_rpm.tar.gz) = 245687154 bytes | |
END-of-misc/libreoffice6-bin/distinfo | |
echo x - misc/libreoffice6-bin/options.mk | |
sed 's/^X//' >misc/libreoffice6-bin/options.mk << 'END-of-misc/libreoffice6-bin/options.mk' | |
X# $NetBSD$ | |
X | |
XPKG_OPTIONS_VAR= PKG_OPTIONS.libreoffice-bin | |
XPKG_SUPPORTED_OPTIONS= java | |
X | |
X.include "../../mk/bsd.options.mk" | |
X | |
X.if !empty(PKG_OPTIONS:Mjava) | |
XPKG_JVMS_ACCEPTED= jdk15 sun-jdk6 | |
XUSE_JAVA= run | |
X.include "../../mk/java-vm.mk" | |
X.endif | |
END-of-misc/libreoffice6-bin/options.mk | |
exit | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment