mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 05:10:29 -04:00
on java/linux-sun-jre17. The latter port expired two months ago. While here address portlint issues: - regenerate patches - use %%DATADIR%% in pkg-plist - use PKGNAMEPREFIX - add java to CATEGORIES - remove empty trailing line from pkg-message PR: 209012 Submitted by: myself Approved by: maintainer timeout (subtil@gmail.com, 14 days)
20 lines
869 B
Text
20 lines
869 B
Text
--- scripts/CrashPlanDesktop.orig 2016-04-24 10:38:26 UTC
|
|
+++ scripts/CrashPlanDesktop
|
|
@@ -5,12 +5,14 @@ SCRIPTDIR=$(dirname $SCRIPT)
|
|
TARGETDIR="$SCRIPTDIR/.."
|
|
export SWT_GTK3=0
|
|
|
|
-. ${TARGETDIR}/install.vars
|
|
-. ${TARGETDIR}/bin/run.conf
|
|
+. /usr/local/share/crashplan/install.vars
|
|
|
|
cd ${TARGETDIR}
|
|
|
|
-if [ "_${VERSION_5_UI}" == "_true" ]; then
|
|
+. bin/run.conf
|
|
+${LOGDIR=/var/log/crashplan}
|
|
+
|
|
+${JAVACOMMON} ${GUI_JAVA_OPTS} -classpath "./lib/com.backup42.desktop.jar:./lang:./skin" com.backup42.desktop.CPDesktop > ${LOGDIR}/ui_output.log 2> ${LOGDIR}/ui_error.log &
|
|
${TARGETDIR}/electron/crashplan > ${TARGETDIR}/log/ui_output.log 2> ${TARGETDIR}/log/ui_error.log &
|
|
else
|
|
${JAVACOMMON} ${GUI_JAVA_OPTS} -classpath "./lib/com.backup42.desktop.jar:./lang:./skin" com.backup42.desktop.CPDesktop > ${TARGETDIR}/log/ui_output.log 2> ${TARGETDIR}/log/ui_error.log &
|