freebsd-ports/net/v6eval/files/patch-bin-remotes-unknown-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

23 lines
668 B
Text

--- bin/remotes/unknown/Makefile.orig 2005-11-10 12:54:12.000000000 +0900
+++ bin/remotes/unknown/Makefile 2013-06-17 00:39:47.000000000 +0900
@@ -43,8 +43,8 @@
PRODUCT=unknown
-PREFIX=/usr/local/v6eval
-RMTDIR=$(PREFIX)/bin/$(PRODUCT)
+PREFIX?=/usr/local
+RMTDIR=$(PREFIX)/v6eval/bin/$(PRODUCT)
REMOTES= cleardefr.rmt \
clearmtu.rmt \
clearnc.rmt \
@@ -101,6 +101,6 @@
clean:
install:
- install -d -o bin -g bin -m 755 $(PREFIX)/bin
- install -d -o bin -g bin -m 755 $(RMTDIR)
- install -c -o bin -g bin -m 555 $(REMOTES) $(RMTDIR)
+ install -d -m 555 $(PREFIX)/v6eval/bin
+ install -d -m 555 $(RMTDIR)
+ ${BSD_INSTALL_SCRIPT} $(REMOTES) $(RMTDIR)