Files
ports/devel/git-extras/files/patch-Makefile
T
Igor Ostapenko 3ccd12b970 devel/git-extras: Update to 6.5.0
ChangeLog: https://github.com/tj/git-extras/releases/tag/6.5.0

 * Include revert conflicts in git abort
 * fix(git-effort):fork: retry: Resource temporarily unavailable
 * git-sync --force will sync without interaction
 * fix(git-cp): keep the history of the files
 * git-bulk: previous refactor redirected $PWD to stderr by mistake
 * Fix lazy loading bash_completion from XDG_DATA_DIRS
 * feat(bin/git-browse): open website at file & line number or range
 * #970 standup added -A flag for author date
 * update git-utimes.{1,html} to add --newer flag
 * git-utimes: add --newer flag and don't touch files in the working tree and
   index
 * docs(instllation): replace git.io
 * Added config git-extras.standup-implicit-week for git standup
 * Document git standup -w option

PR:		266953
Reported by:	igor.ostapenko@pm.me (maintainer)
2022-10-11 17:43:21 +02:00

32 lines
1.2 KiB
Plaintext

--- Makefile.orig 2022-10-06 12:33:44 UTC
+++ Makefile
@@ -3,7 +3,7 @@ BINPREFIX ?= "$(PREFIX)/bin"
OS = $(shell uname)
ifeq ($(OS), FreeBSD)
- MANPREFIX ?= "$(PREFIX)/man/man1"
+ MANPREFIX = "$(PREFIX)/man/man1"
else
MANPREFIX ?= "$(PREFIX)/share/man/man1"
endif
@@ -69,8 +69,8 @@ install: check
cp -f man/git-*.1 $(DESTDIR)$(MANPREFIX); \
echo "cp -f man/git-*.1 $(DESTDIR)$(MANPREFIX)"; \
fi
- @mkdir -p $(DESTDIR)$(SYSCONFDIR)/bash-completion/completions
- cp -f etc/bash_completion.sh $(DESTDIR)$(SYSCONFDIR)/bash-completion/completions/git-extras
+ @mkdir -p $(DESTDIR)$(PREFIX)/share/bash-completion/completions
+ cp -f etc/bash_completion.sh $(DESTDIR)$(PREFIX)/share/bash-completion/completions/git-extras
@echo ""
@echo "If you are a zsh user, you may want to 'source $(CODE_DIR)etc/git-extras-completion.zsh'" \
"and put this line into ~/.zshrc to enable zsh completion"
@@ -119,7 +119,7 @@ uninstall:
echo "... uninstalling $(DESTDIR)$(MANPREFIX)/$(notdir $(MAN))"; \
rm -f $(DESTDIR)$(MANPREFIX)/$(notdir $(MAN)); \
)
- rm -f $(DESTDIR)$(SYSCONFDIR)/bash-completion/completions/git-extras
+ rm -f $(DESTDIR)$(PREFIX)/share/bash-completion/completions/git-extras
clean: docclean