aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/qrfcview/files
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-05-12 17:00:29 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-05-12 17:00:29 +0800
commit4abbda3ffc28c6e5ab048c35558887e5b196de73 (patch)
tree7b45d9f5cdfb7b0a6ff5bd09978412da5adaccc1 /deskutils/qrfcview/files
parentf40f360e360efd7a706ec1b1bf3442cb2ef08338 (diff)
downloadfreebsd-ports-gnome-4abbda3ffc28c6e5ab048c35558887e5b196de73.tar.gz
freebsd-ports-gnome-4abbda3ffc28c6e5ab048c35558887e5b196de73.tar.zst
freebsd-ports-gnome-4abbda3ffc28c6e5ab048c35558887e5b196de73.zip
- Add LICENSE
- Install wrapper to set correct work directory - Add .desktop entry - Switch to options helpers - Clean up pkg-descr - Update WWW
Diffstat (limited to 'deskutils/qrfcview/files')
-rw-r--r--deskutils/qrfcview/files/qRFCView.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/deskutils/qrfcview/files/qRFCView.in b/deskutils/qrfcview/files/qRFCView.in
new file mode 100644
index 000000000000..ae16ab3af1f4
--- /dev/null
+++ b/deskutils/qrfcview/files/qRFCView.in
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+QRFCVIEW_DIR=$HOME/.local/share/qrfcview
+
+if [ -n "$XDG_DATA_HOME" ]; then
+ QRFCVIEW_DIR="$XDG_DATA_HOME/qrfcview"
+fi
+
+mkdir -p $QRFCVIEW_DIR
+cd $QRFCVIEW_DIR
+
+exec %%PREFIX%%/libexec/qRFCView "$@"