3dea3ebe55
LibreOffice is the free power-packed Open Source personal productivity suite for Windows, Macintosh and Linux, that gives you six feature-rich applications for all your document production and data processing needs: Writer, Calc, Impress, Draw, Math and Base. This package tracks libreoffice-6.x branch of official Linux binary. "Looks fine to me" by dholland@ in PR pkg/54066.
17 lines
406 B
Bash
17 lines
406 B
Bash
#!/bin/sh
|
|
#
|
|
# $NetBSD: soffice,v 1.1 2019/03/23 10:52:09 tsutsui Exp $
|
|
#
|
|
SOINST=@@PREFIX@@/opt/libreoffice@@OO_BASEVER@@
|
|
|
|
# make sure we can find `whoami` on solaris
|
|
PATH=${PATH}:/usr/ucb
|
|
|
|
# add the chosen java directory to $PATH to allow OOo to
|
|
# automatically find it
|
|
PATH=${PATH}:@@JAVA_HOME@@
|
|
|
|
# default data seg size is too small for java
|
|
ulimit -d `ulimit -H -d`
|
|
|
|
exec ${SOINST}/program/soffice "$@"
|