summaryrefslogtreecommitdiff
path: root/palm/plucker/files
diff options
context:
space:
mode:
authorMark Pulford <markp@FreeBSD.org>2001-10-05 14:55:02 +0000
committerMark Pulford <markp@FreeBSD.org>2001-10-05 14:55:02 +0000
commit7bd3e8b5343223cd47aa009074e066ffc3049ce9 (patch)
tree3f1748b8bbc7c171be2675385d72cf124d458629 /palm/plucker/files
parentChange the ports that relied on squid23 to rely on squid24. (diff)
Add plucker 1.1.13, an offline HTML viewer for PalmOS devices.
PR: 27935 Submitted by: Jose Marques <noway@nohow.demon.co.uk>
Notes
Notes: svn path=/head/; revision=48475
Diffstat (limited to 'palm/plucker/files')
-rw-r--r--palm/plucker/files/patch-unix-setup.py.in32
1 files changed, 32 insertions, 0 deletions
diff --git a/palm/plucker/files/patch-unix-setup.py.in b/palm/plucker/files/patch-unix-setup.py.in
new file mode 100644
index 000000000000..1ed46c4a0bb2
--- /dev/null
+++ b/palm/plucker/files/patch-unix-setup.py.in
@@ -0,0 +1,32 @@
+--- unix/setup.py.in.orig Fri Sep 14 03:34:24 2001
++++ unix/setup.py.in Fri Oct 5 23:57:20 2001
+@@ -14,8 +14,9 @@
+
+ VERSION="@VERSION@"
+
+-CONFIGDIR=os.path.join("@PLUCKERDIR@","config")
+-PALMDIR=os.path.join("@PLUCKERDIR@", "palm")
++CONFIGDIR=os.path.join("@prefix@","etc", "plucker")
++PALMDIR=os.path.join("@prefix@", "share", "plucker")
++PILOTXFER=os.path.join("@prefix@", "pilot", "bin", "pilot-xfer")
+
+ if os.environ.has_key ('HOME'):
+ USERDIR = os.environ["HOME"]
+@@ -99,7 +100,7 @@
+ if get_answer("Install the User's Guide, too", 'y'):
+ guide = os.path.join(PALMDIR, "PluckerUserGuide.pdb")
+
+- os.system("pilot-xfer -i %s %s %s" % (viewer, zlib, guide))
++ os.system(PILOTXFER + " -i %s %s %s" % (viewer, zlib, guide))
+
+
+ #
+@@ -131,7 +132,7 @@
+
+ install_config_files()
+
+-if not os.system('pilot-xfer > /dev/null 2>&1'):
++if not os.system(PILOTXFER + ' > /dev/null 2>&1'):
+ install_viewer()
+ else:
+ print "\nThe program 'pilot-xfer' is missing so the Palm applications cannot be installed. You'll find them in %s." % PALMDIR