summaryrefslogtreecommitdiff
path: root/textproc/namazu1/patches/patch-aa
blob: 2d89b5f1a4df180958c8c3aad2fed246dec8b65a (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
$NetBSD: patch-aa,v 1.1.1.1 2002/05/31 13:01:39 seb Exp $

--- Makefile.in.orig	Wed Jan 26 22:38:51 2000
+++ Makefile.in
@@ -21,18 +21,16 @@
 
 BASEDIR		= @prefix@
 CGIDIR		= @CGIDIR@
-NAMAZUDIR	= $(BASEDIR)/namazu
-BINDIR_SYS	= $(BASEDIR)/bin  # install 'namazu' 'mknmz' command.
-BINDIR		= $(NAMAZUDIR)/bin
-INDEXDIR	= $(NAMAZUDIR)/index
-DOCDIR		= $(NAMAZUDIR)/doc
-LIBDIR		= $(NAMAZUDIR)/lib
-CONTRIBDIR	= $(NAMAZUDIR)/contrib
+BINDIR		= $(BASEDIR)/bin
+CONFDIR		= $(BASEDIR)/etc/namazu
+INDEXDIR	= $(BASEDIR)/libdata/namazu/index
+DOCDIR		= $(BASEDIR)/share/namazu/doc
+LIBDIR		= $(BASEDIR)/share/namazu/template
 
 ##################################################################
 ## Pathname of namazu.conf
 
-OPT_NAMAZU_CONF		= $(LIBDIR)/namazu.conf
+OPT_NAMAZU_CONF		= $(CONFDIR)/namazu.conf
 
 ##################################################################
 ## Programs' pathname
@@ -307,19 +305,13 @@
 	if [ ! -d $(LIBDIR) ]; then \
 	    mkdir -p $(LIBDIR); \
 	fi
-	if [ ! -d $(CONTRIBDIR) ]; then \
-	    mkdir -p $(CONTRIBDIR); \
-	fi
-	if [ ! -d $(BINDIR_SYS) ]; then \
-	    mkdir -p $(BINDIR_SYS); \
-	fi
 	cp mknmz wdnmz rvnmz clnmz namazu vfnmz mailutime gcnmz gtnmz $(BINDIR)
 	cp ../COPYING ../ToDo ../ChangeLog $(DOCDIR)
 	cp ../README.ja ../doc/ja/* "$(DOCDIR)/ja"
 	cp ../README.en ../doc/en/* "$(DOCDIR)/en"
-	cp ../lib/* $(LIBDIR)
-	cp ../contrib/* $(CONTRIBDIR)
-	cp namazu mknmz $(BINDIR_SYS)
+	rm -f ../lib/*.bak
+	cp ../lib/NMZ.* $(LIBDIR)
+	cp ../lib/namazu.conf-dist $(DOCDIR)
 
 clean:
 	$(RM) $(TARGET) *.o config.cache config.log config.status