1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/devel/git-extras/files/patch-Makefile
Danilo Egea Gondolfo 979064b57d - Update to 2.2.0
PR:		195163
Submitted by:	Igor Ostapenko <igor.ostapenko@gmail.com> (maintainer)
2014-11-22 17:13:38 +00:00

23 lines
725 B
Plaintext

--- Makefile.orig 2014-10-13 12:21:54 UTC
+++ Makefile
@@ -1,6 +1,7 @@
PREFIX ?= /usr/local
BINPREFIX ?= "$(PREFIX)/bin"
-MANPREFIX ?= "$(PREFIX)/share/man/man1"
+MANPREFIX = "$(PREFIX)/man/man1"
+ETCPREFIX ?= "$(PREFIX)/etc"
BINS = $(wildcard bin/git-*)
MANS = $(wildcard man/git-*.md)
MAN_HTML = $(MANS:.md=.html)
@@ -31,8 +32,8 @@
cp -f bin/$(COMMAND) $(DESTDIR)$(BINPREFIX); \
)
cp -f man/git-*.1 $(DESTDIR)$(MANPREFIX)
- @mkdir -p $(DESTDIR)/etc/bash_completion.d
- cp -f etc/bash_completion.sh $(DESTDIR)/etc/bash_completion.d/git-extras
+ @mkdir -p $(DESTDIR)$(ETCPREFIX)/bash_completion.d
+ cp -f etc/bash_completion.sh $(DESTDIR)$(ETCPREFIX)/bash_completion.d/git-extras
man/%.html: man/%.md
ronn \