mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-09 02:22:18 +00:00
ed5700e2a2
needed for Frank Hale's themes). Be more verbose. In the post-patch target, patch a hard-coded path in several files. Remove files/patch-ap, my patch to add alt+up/down cursor cycling of windows (an equivalent feature has been added upstream, using alt+Tab and alt+shift+tab). Update pkg-descr to mention the new virtual screens feature. Remove the imperative that users run sapphire.inst.
48 lines
1.4 KiB
Plaintext
48 lines
1.4 KiB
Plaintext
--- data.inst.orig Tue Nov 7 02:39:24 2000
|
|
+++ data.inst Tue Nov 7 02:44:11 2000
|
|
@@ -1,4 +1,4 @@
|
|
-#!/bin/bash
|
|
+#!/bin/sh
|
|
#
|
|
# Sapphire 0.15.4 and above
|
|
#
|
|
@@ -16,6 +16,8 @@
|
|
CONFIGURATION_PATH=/usr/local/share/sapphire
|
|
###############################################################
|
|
|
|
+DATADIR=%%PREFIX%%/share/sapphire
|
|
+
|
|
if [ -d $CONFIGURATION_PATH ]
|
|
then
|
|
echo "$CONFIGURATION_PATH directory already exists";
|
|
@@ -28,12 +30,12 @@
|
|
if [ -d $CONFIGURATION_PATH/themes ]
|
|
then
|
|
echo "$CONFIGURATION_PATH directory already exists, copying over current themes";
|
|
- cp data/themes/* $CONFIGURATION_PATH/themes
|
|
+ cp -pPR DATADIR/themes/* $CONFIGURATION_PATH/themes
|
|
else
|
|
mkdir $CONFIGURATION_PATH/themes
|
|
echo "created directory $CONFIGURATION_PATH/themes";
|
|
|
|
- cp data/themes/* $CONFIGURATION_PATH/themes
|
|
+ cp -pPR DATADIR/themes/* $CONFIGURATION_PATH/themes
|
|
echo "themes were copied to $CONFIGURATION_PATH/themes";
|
|
fi
|
|
|
|
@@ -41,12 +43,12 @@
|
|
if [ -d $CONFIGURATION_PATH/menu ]
|
|
then
|
|
echo "$CONFIGURATION_PATH/menu directory already exists, copying over current menu files";
|
|
- cp data/menu/* $CONFIGURATION_PATH/menu
|
|
+ cp -pPR DATADIR/menu/* $CONFIGURATION_PATH/menu
|
|
else
|
|
mkdir $CONFIGURATION_PATH/menu
|
|
echo "created directory $CONFIGURATION_PATH/menu";
|
|
|
|
- cp data/menu/* $CONFIGURATION_PATH/menu
|
|
+ cp -pPR DATADIR/menu/* $CONFIGURATION_PATH/menu
|
|
echo "menu files were copied to $CONFIGURATION_PATH/menu";
|
|
fi
|
|
|