ports/net/v6eval/files/patch-include-Makefile
Hiroki Sato 470d13c7ed - Add p5-YAML as runtime dependency.
- Add sample test scripts.
- Fix up #!/usr/bin/perl.
- Fix ownership and permissions of the installed files.
2013-06-16 16:11:08 +00:00

27 lines
867 B
Text

--- include/Makefile.orig 2013-06-17 00:06:14.000000000 +0900
+++ include/Makefile 2013-06-17 00:18:39.000000000 +0900
@@ -45,17 +45,17 @@
# Makefile for standard definition file
#
-PREFIX=/usr/local/v6eval
-INCLUDEDIR=$(PREFIX)/include/
+PREFIX?=/usr/local
+INCLUDEDIR=$(PREFIX)/v6eval/include/
all:
install:
- install -d -o bin -g bin -m 755 $(INCLUDEDIR)
- install -c -o bin -g bin -m 644 std.def $(INCLUDEDIR)
- install -c -o bin -g bin -m 644 stdaddr.def $(INCLUDEDIR)
- install -c -o bin -g bin -m 644 stdpacket.def $(INCLUDEDIR)
- install -c -o bin -g bin -m 644 stdconst.def $(INCLUDEDIR)
+ install -d -m 555 $(INCLUDEDIR)
+ ${BSD_INSTALL_DATA} std.def $(INCLUDEDIR)
+ ${BSD_INSTALL_DATA} stdaddr.def $(INCLUDEDIR)
+ ${BSD_INSTALL_DATA} stdpacket.def $(INCLUDEDIR)
+ ${BSD_INSTALL_DATA} stdconst.def $(INCLUDEDIR)
depend:
clean: