summaryrefslogtreecommitdiff
path: root/www/thttpd/patches/patch-aa
blob: ee71d74dbea363978db2139fd91bc6be2e7cd4c7 (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
$NetBSD: patch-aa,v 1.4 2000/07/27 12:47:34 jlam Exp $

--- Makefile.in.BAK	Wed Feb  9 21:05:49 2000
+++ Makefile.in	Wed Feb  9 21:06:50 2000
@@ -34,7 +34,7 @@
 # Pathname of directory to install the man page.
 MANDIR = @mandir@
 # Pathname of directory to install the CGI programs.
-WEBDIR = $(prefix)/www
+WEBDIR = $(prefix)/share/thttpd
 
 # CONFIGURE: The group that the web directory belongs to.  This is so that
 # the makeweb program can be installed set-group-id to that group, and make
@@ -42,7 +42,7 @@
 WEBGROUP =	www
 
 # CONFIGURE: Directory for CGI executables.
-CGIBINDIR =	$(WEBDIR)/cgi-bin
+CGIBINDIR =	$(prefix)/libexec/cgi-bin
 
 # You shouldn't need to edit anything below here.
 
@@ -111,10 +111,10 @@
 install:	installthis install-man installsubdirs
 
 installthis:
-	$(INSTALL) -m 555 -o bin -g bin thttpd $(DESTDIR)$(BINDIR)
+	$(BSD_INSTALL_PROGRAM) thttpd $(DESTDIR)$(BINDIR)
 
 install-man:
-	$(INSTALL) -m 444 -o bin -g bin thttpd.8 $(DESTDIR)$(MANDIR)/man8
+	$(BSD_INSTALL_MAN) thttpd.8 $(DESTDIR)$(MANDIR)/man8
 
 installsubdirs:
 	for i in $(SUBDIRS) ; do ( \