mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
979064b57d
PR: 195163 Submitted by: Igor Ostapenko <igor.ostapenko@gmail.com> (maintainer)
23 lines
725 B
Plaintext
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 \
|