aboutsummaryrefslogtreecommitdiff
path: root/databases/dbXML/files
diff options
context:
space:
mode:
authorErnst de Haan <znerd@FreeBSD.org>2002-03-30 11:48:54 +0000
committerErnst de Haan <znerd@FreeBSD.org>2002-03-30 11:48:54 +0000
commit7f019c034b5c8f506a627231cc8b946ec9cec22b (patch)
tree965f36e5cc12b26cbb1bfab662a2b102dc262d7b /databases/dbXML/files
parent9c9ff89b5f16a4a541815186d9281a0fcf21b5cf (diff)
downloadports-7f019c034b5c8f506a627231cc8b946ec9cec22b.tar.gz
ports-7f019c034b5c8f506a627231cc8b946ec9cec22b.zip
Notes
Diffstat (limited to 'databases/dbXML/files')
-rw-r--r--databases/dbXML/files/dbxmlctl47
-rw-r--r--databases/dbXML/files/patch-ac17
2 files changed, 18 insertions, 46 deletions
diff --git a/databases/dbXML/files/dbxmlctl b/databases/dbXML/files/dbxmlctl
index e45538acd35b..a1238b9b60af 100644
--- a/databases/dbXML/files/dbxmlctl
+++ b/databases/dbXML/files/dbxmlctl
@@ -132,49 +132,4 @@ server_start() {
echo ""
exit 64
;;
-esacEND-of-dbXML/files/dbxmlctl
-echo x - dbXML/files/patch-ad
-sed 's/^X//' >dbXML/files/patch-ad << 'END-of-dbXML/files/patch-ad'
---- bin/dbxml.orig Mon Sep 24 21:50:14 2001
-+++ bin/dbxml Mon Oct 22 02:08:32 2001
-@@ -1,8 +1,12 @@
- #!/bin/sh
-
--if test -z $DBXML_HOME; then
-- echo "\$DBXML_HOME Is Not Set"
-+DBXML_HOME=%%PREFIX%%/share/java/dbXML
-+
-+if test -z $JAVA_HOME; then
-+ echo "Warning: JAVA_HOME environment variable is not set."
- exit
-+else
-+ PATH=$JAVA_HOME/bin:$PATH
- fi
-
- CMD_HOME=`dirname $0`
-END-of-dbXML/files/patch-ad
-echo x - dbXML/pkg-deinstall
-sed 's/^X//' >dbXML/pkg-deinstall << 'END-of-dbXML/pkg-deinstall'
-#!/bin/sh
-# $FreeBSD: /tmp/pcvs/ports/databases/dbXML/files/Attic/dbxmlctl,v 1.1 2002-03-05 00:43:18 znerd Exp $
-#
-
-if [ "$2" != "POST-DEINSTALL" ]; then
- exit 0
-fi
-
-USER=dbxml
-
-if pw usershow "${USER}" 2>/dev/null 1>&2; then
- if pw userdel ${USER}; then
- echo "Delete user/group \"${USER}\"."
- else
- echo "Deleting user/group \"${USER}\" failed..."
- exit 1
- fi
-fi
-
-exit 0
-END-of-dbXML/pkg-deinstall
-exit
-
+esac
diff --git a/databases/dbXML/files/patch-ac b/databases/dbXML/files/patch-ac
new file mode 100644
index 000000000000..b4275bd63d6e
--- /dev/null
+++ b/databases/dbXML/files/patch-ac
@@ -0,0 +1,17 @@
+--- bin/dbxml.orig Mon Sep 24 21:50:14 2001
++++ bin/dbxml Mon Oct 22 02:08:32 2001
+@@ -1,8 +1,12 @@
+ #!/bin/sh
+
+-if test -z $DBXML_HOME; then
+- echo "\$DBXML_HOME Is Not Set"
++DBXML_HOME=%%PREFIX%%/share/java/dbXML
++
++if test -z $JAVA_HOME; then
++ echo "Warning: JAVA_HOME environment variable is not set."
+ exit
++else
++ PATH=$JAVA_HOME/bin:$PATH
+ fi
+
+ CMD_HOME=`dirname $0`