blob: 86ff08289658fe3bee17daa75bbdfc7665011c5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
--- Makefile.orig Sat Mar 14 11:57:48 1998
+++ Makefile Mon Apr 21 02:56:19 2003
@@ -5,7 +5,7 @@
### EDIT THE NEXT LINES ONLY ###
-PREFIX = /usr/local
+#PREFIX = ${PREFIX}
# The directory where the tkhylafax library will be installed
TCLLIB_DEST = $(PREFIX)/lib/tkhylafax-3.2
@@ -17,13 +17,13 @@
TCLMAN_DEST = $(PREFIX)/man/man1
# The full path to tclsh
-TCLSH = /usr/bin/tclsh
+TCLSH = tclsh8.4
# The full path to wish.
-WISH = /usr/bin/wish
+WISH = wish8.4
# The full path to your postscript viewer
-GHOSTVIEW = /usr/X11/bin/gv
+GHOSTVIEW = ${LOCALBASE}/bin/gv
### DON'T EDIT ANYTHING BELOW THIS LINE ###
@@ -52,7 +52,6 @@
all:
$(MAKE) build
- $(MAKE) install
build: Makefile
@echo "Patching tkhylafax..."
@@ -66,24 +65,24 @@
$(TCLLIB_DEST):
if [ ! -d $(TCLLIB_DEST) ]; then mkdir -p $(TCLLIB_DEST); fi
- chmod 775 $(TCLLIB_DEST)
+ chmod 755 $(TCLLIB_DEST)
install.lib: $(TCLLIB_DEST)
@echo "Installing tkhylafax library..."
-for i in $(TCLLIB_FILES) ; do \
cp $$i $(TCLLIB_DEST)/$$i ; \
- chmod 664 $(TCLLIB_DEST)/$$i ; \
+ chmod 644 $(TCLLIB_DEST)/$$i ; \
done
@echo "Done"
$(TCLPRG_DEST):
if [ ! -d $(TCLPRG_DEST) ]; then mkdir -p $(TCLPRG_DEST); fi
- chmod 775 $(TCLPRG_DEST)
+ chmod 755 $(TCLPRG_DEST)
install.tkhylafax: $(TCLPRG_DEST) $(TCLPRG_FILE)
@echo "Installing tkhylafax command..."
cp $(TCLPRG_FILE) $(TCLPRG_DEST)/$(TCLPRG_FILE)
- chmod 775 $(TCLPRG_DEST)/$(TCLPRG_FILE)
+ chmod 755 $(TCLPRG_DEST)/$(TCLPRG_FILE)
@echo "Done"
install.man:
|