mirror of
https://git.freebsd.org/ports.git
synced 2025-06-30 00:50:29 -04:00
While here, add a small patch to strip the binary upon installation (subject to -DWITH_DEBUG). Reported by: portscout
11 lines
415 B
Text
11 lines
415 B
Text
--- Makefile.orig 2023-07-18 12:44:17 UTC
|
|
+++ Makefile
|
|
@@ -46,7 +46,7 @@ clean:
|
|
|
|
install: $(BIN)
|
|
$(INSTALL) -m 0755 -d $(DESTDIR)$(BINDIR)
|
|
- $(INSTALL) -m 0755 $(BIN) $(DESTDIR)$(BINDIR)
|
|
+ $(BSD_INSTALL_PROGRAM) $(BIN) $(DESTDIR)$(BINDIR)
|
|
$(INSTALL) -m 0755 -d $(DESTDIR)$(PROG_DATADIR)
|
|
$(INSTALL) -m 0755 -d $(DESTDIR)$(MANDIR)/man1
|
|
$(INSTALL) -m 0755 -d $(DESTDIR)$(DATADIR)/bash-completion/completions
|