aboutsummaryrefslogtreecommitdiffstats
path: root/misc/moviedb/files/patch-aa
blob: a0805fd9aa77f51bc27e52a64cd6ebdb67ad20c2 (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
--- Makefile.orig   Tue Oct 22 00:36:06 1996
+++ Makefile    Tue Aug 15 08:54:20 2000
@@ -118,13 +118,13 @@
 
 ZLISTCOMPRESS = gzip
 ZLISTEXT = .gz
-ZLISTCAT = /usr/bin/gzip
-ZLISTCATOPTS = -cd
+ZLISTCAT = /usr/bin/zcat
+ZLISTCATOPTS = 
 
 ZDBSCOMPRESS = gzip
 ZDBSEXT = .gz
-ZDBSCAT = /usr/bin/gzip
-ZDBSCATOPTS = -cd
+ZDBSCAT = /usr/bin/zcat
+ZDBSCATOPTS = 
 
 
 # Set KEEPLIST to @true if you want to keep the lists.
@@ -138,8 +138,7 @@
 # Set AUTOUNCOMPRESS to nothing if you want to keep the source lists as
 # compressed files (that is, as they come from the server). Setting it
 # to nothing will reduce the extra space required during the install.
-#AUTOUNCOMPRESS =
-AUTOUNCOMPRESS = autouncompress
+AUTOUNCOMPRESS =
 
 # Options for mkdb (for instance -m, -debug or -nochar)
 # set to -nochar to ignore character names when processing the cast lists
@@ -153,11 +152,11 @@
 
 # Where will the databases be?
 #DBDIR = ../dbs/
-DBDIR = `pwd`/dbs/
+DBDIR = $(PREFIX)/lib/moviedb/
 
 # Secondary files
 #ETCDIR = ../etc/
-ETCDIR = `pwd`/etc/
+ETCDIR = $(PREFIX)/libexec/moviedb/
 
 # Source files
 #SRCDIR = ../src/
@@ -165,11 +164,11 @@
 
 # Executable files
 #BINDIR = ../bin/
-BINDIR = `pwd`/bin/
+BINDIR = $(PREFIX)/bin/
 
 # Top-level manpages directory (man1 should be a subdirectory of this)
 #MANDIR = /usr/man/
-MANDIR = `pwd`/man/
+MANDIR = $(PREFIX)/man/
 
 # Main directory
 #MAINDIR = ./
@@ -235,7 +234,7 @@
 # If the sanity check insists on telling you that ZLISTCAT, ZLISTCOMPRESS
 # and so on are invalid, and you are definitively sure they are ok,
 # set ZSANITYCHECK to the empty string.
-ZSANITYCHECK = sanity-check-z
+ZSANITYCHECK = 
 
 # If you are using compressed database files, you have the tempnam() call
 # and you want control over the directory where the files are uncompressed,
@@ -286,7 +285,7 @@
                 do-installman
 
 do-installman:
-   cd $(MANDIR); $(MAKE) MANDIR="$(MANDIR)" DBDIR="$(DBDIR)" \
+   cd `pwd`/man; $(MAKE) MANDIR="$(MANDIR)" DBDIR="$(DBDIR)" \
        MAINDIR="$(MAINDIR)" \
        RELEASEDATE="$(RELEASEDATE)" VERSIONNUMBER="$(VERSIONNUMBER)"\
                 installman