summaryrefslogtreecommitdiff
path: root/devel/tkcvs/files/patch-aa
blob: 34cd7ea0a9884b8155542de02e5604306970a560 (plain) (blame)
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
*** tkcvs/doinstall.orig	Tue Jan  9 22:17:52 1996
--- tkcvs/doinstall	Fri Aug  2 13:16:24 1996
***************
*** 7,35 ****
  
  INSTALLDIR=/usr/local/lib
  BINDIR=/usr/local/bin
! MANDIR=/usr/local/man/mann
  
  INSTALL_PROG=./install-sh
  
  # This must be an X based editor -- do NOT use vi except via an xterm
  # or shelltool.
  
! EDITOR=nedit
  
  # Find a Tk interpreter.
   
! WISH=`which wish4.0`
  if [ ! -f $WISH ]; then
!   WISH=`which wish4.1`
  fi
  if [ ! -f $WISH ]; then
!   echo "I cant find a Tk interpreter on your system"
    exit 1
  fi
  
  # Find where the global bitmaps are.
  
! for GDIR in /usr/include/X11/bitmaps /usr/openwin/include/X11/bitmaps /usr/X11/include/bitmaps /usr/include/bitmaps /usr/local/include/bitmaps
  do
    if [ -d "$GDIR" ]; then
      break
--- 7,35 ----
  
  INSTALLDIR=/usr/local/lib
  BINDIR=/usr/local/bin
! MANDIR=/usr/local/man/man1
  
  INSTALL_PROG=./install-sh
  
  # This must be an X based editor -- do NOT use vi except via an xterm
  # or shelltool.
  
! EDITOR="xedit"
  
  # Find a Tk interpreter.
   
! WISH=`which wish4.1`
  if [ ! -f $WISH ]; then
!   WISH=`which wish4.0`
  fi
  if [ ! -f $WISH ]; then
!   echo "I cant find a usefull Tk interpreter on your system"
    exit 1
  fi
  
  # Find where the global bitmaps are.
  
! for GDIR in /usr/X11R6/include/X11/bitmaps /usr/openwin/include/X11/bitmaps /usr/X11/include/bitmaps /usr/include/bitmaps /usr/local/include/bitmaps
  do
    if [ -d "$GDIR" ]; then
      break
***************
*** 62,71 ****
  
  # Some directories we have to create.
  
- LDIR=${INSTALLDIR}/bitmaps
  TCDIR=${INSTALLDIR}/tkcvs
! mkdir -p $LDIR $TCDIR
! for dir in $LDIR $TCDIR
  do
    if [ ! -d $dir ]; then
      echo "I cant create the directory $dir"
--- 62,71 ----
  
  # Some directories we have to create.
  
  TCDIR=${INSTALLDIR}/tkcvs
! LDIR=${TCDIR}/bitmaps
! mkdir -p $LDIR $TCDIR 
! for dir in $TCDIR $LDIR
  do
    if [ ! -d $dir ]; then
      echo "I cant create the directory $dir"
***************
*** 99,105 ****
    fi
  done
  
! for f in *.n ../tkdiff/*.n
  do
          $INSTALL_PROG -m 444 $f $MANDIR
  done
--- 99,105 ----
    fi
  done
  
! for f in *.1 ../tkdiff/*.1
  do
          $INSTALL_PROG -m 444 $f $MANDIR
  done