mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 20:06:29 -04:00
PR: 42786 Submitted by: Maxim Tulyuk <mt@primats.org.ua> Approved by: noway@nohow.demon.co.uk (former maintainer)
32 lines
1 KiB
Python
32 lines
1 KiB
Python
--- unix/setup.py.in.orig Sat Oct 27 21:53:35 2001
|
|
+++ unix/setup.py.in Sun Sep 15 00:07:50 2002
|
|
@@ -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@", "bin", "pilot-xfer")
|
|
|
|
if os.environ.has_key ('HOME'):
|
|
USERDIR = os.environ["HOME"]
|
|
@@ -117,7 +118,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))
|
|
|
|
|
|
#
|
|
@@ -149,7 +150,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
|