summaryrefslogtreecommitdiff
path: root/net/ct/files/patch-Makefile
blob: 871bcfaec809e794711bd04481630822e3b681f4 (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
--- Makefile.orig	2005-02-16 17:41:53.000000000 +0900
+++ Makefile	2013-06-17 01:31:29.000000000 +0900
@@ -4,22 +4,20 @@
 # $TAHI: ct/Makefile,v 1.22.8.1 2005/02/16 08:41:53 akisada Exp $
 #
 
-INSTALL_DIR=$(PREFIX)/ct
-DOC_DIR=$(PREFIX)/doc
+INSTALL_DIR=$(PREFIX)/v6eval/ct
+DOC_DIR=$(PREFIX)/v6eval/doc
 DOCFILES= 00README.ct CHANGELOG.ct INSTALL.ct
-CRFILES= COPYRIGHT
 
 all:
 
 afterinstall:
-	install -d -o bin -g bin -m 755 $(INSTALL_DIR)
-	install -d -o root -g wheel -m 755 $(DOC_DIR)
-	install -c -o bin -g bin -m 444 $(CRFILES) $(INSTALL_DIR)
-	install -c -o bin -g bin -m 444 $(DOCFILES) $(INSTALL_DIR)
-	install -c -o bin -g bin -m 444 $(DOCFILES) $(DOC_DIR)
-	install -c -o bin -g bin -m 444 index.html $(INSTALL_DIR)
-	install -c -o bin -g bin -m 444 Makefile.inc $(INSTALL_DIR)
-	install -c -o bin -g bin -m 444 Makefile.test $(INSTALL_DIR)/Makefile
+	install -d -m 555 $(INSTALL_DIR)
+	install -d -m 555 $(DOC_DIR)
+	${BSD_INSTALL_DATA} $(DOCFILES) $(INSTALL_DIR)
+	${BSD_INSTALL_DATA} $(DOCFILES) $(DOC_DIR)
+	${BSD_INSTALL_DATA} index.html $(INSTALL_DIR)
+	${BSD_INSTALL_DATA} Makefile.inc $(INSTALL_DIR)
+	${BSD_INSTALL_DATA} Makefile.test $(INSTALL_DIR)/Makefile
 
 .include "Makefile.test"
 .include "Makefile.inc"