summaryrefslogtreecommitdiff
path: root/net/ct/files/patch-Makefile
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-06-16 16:59:34 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-06-16 16:59:34 +0000
commit56e208081c70fbb1753f8422fc38376187d82a97 (patch)
treea57f2820d50d627e70aa5cbe140acecb92754a48 /net/ct/files/patch-Makefile
parent- update to 2.0.18 (diff)
- Fix ownership and permissions of the installed files.
- Fix up #!/usr/bin/perl. - Remove v6eval/ct/COPYRIGHT from pkg-plist.
Notes
Notes: svn path=/head/; revision=321059
Diffstat (limited to 'net/ct/files/patch-Makefile')
-rw-r--r--net/ct/files/patch-Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/net/ct/files/patch-Makefile b/net/ct/files/patch-Makefile
new file mode 100644
index 000000000000..871bcfaec809
--- /dev/null
+++ b/net/ct/files/patch-Makefile
@@ -0,0 +1,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"