ports/net/ct/files/patch-Makefile
Hiroki Sato 2d54c2351c Fix directory permission.
Reported by:	miwi
2013-07-20 17:46:11 +00:00

34 lines
1.2 KiB
Text

--- Makefile.orig 2005-02-16 17:41:53.000000000 +0900
+++ Makefile 2013-07-21 02:43:37.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 755 $(INSTALL_DIR)
+ install -d -m 755 $(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"