commit e267d61c50a024b398acf8509db9d3c0f6a368d1
Author: Eitan Adler <lists@eitanadler.com>
Date: Sun Feb 26 07:58:36 2017 -0800
meh
diff --git a/devel/git-extras/Portfile b/devel/git-extras/Portfile
index 41dcf5766e..167166d422 100644
a
|
b
|
|
3 | 3 | PortSystem 1.0 |
4 | 4 | PortGroup github 1.0 |
5 | 5 | |
6 | | github.setup tj git-extras 2.2.0 |
7 | | maintainers nomaintainer |
| 6 | github.setup tj git-extras 4.2.0 |
| 7 | maintainers lists:eitanadler.com openmaintainer |
8 | 8 | platforms darwin |
9 | 9 | categories devel |
10 | 10 | supported_archs noarch |
… |
… |
long_description \ |
15 | 15 | commit percentages and more |
16 | 16 | license MIT |
17 | 17 | |
18 | | checksums rmd160 5147eb7fd8470a30dd04861944e7c3a1daeaeddb \ |
19 | | sha256 1cfeaa9f2644a37541f8c4e8f175222c70b36fe9672fc7f9c9ef248c0071e4bb |
20 | | |
21 | | patchfiles patch-bin-git-extras.diff \ |
22 | | patch-Makefile.diff |
| 18 | checksums rmd160 aa279bfbde1f5292e39373e48863a575f41b0c1f \ |
| 19 | sha256 6c81c9dde0520f6b7892c327ad8f825c17d81a5676099b14cec658d66558430c |
23 | 20 | |
24 | 21 | use_configure no |
25 | 22 | |
diff --git a/devel/git-extras/files/patch-Makefile.diff b/devel/git-extras/files/patch-Makefile.diff
deleted file mode 100644
index 408275f23e..0000000000
+
|
-
|
|
1 | | --- Makefile 2015-03-09 01:31:30.000000000 -0500 |
2 | | +++ Makefile 2015-03-09 01:31:43.000000000 -0500 |
3 | | @@ -31,8 +31,8 @@ |
4 | | cp -f bin/$(COMMAND) $(DESTDIR)$(BINPREFIX); \ |
5 | | ) |
6 | | cp -f man/git-*.1 $(DESTDIR)$(MANPREFIX) |
7 | | - @mkdir -p $(DESTDIR)/etc/bash_completion.d |
8 | | - cp -f etc/bash_completion.sh $(DESTDIR)/etc/bash_completion.d/git-extras |
9 | | + @mkdir -p $(DESTDIR)$(PREFIX)/etc/bash_completion.d |
10 | | + cp -f etc/bash_completion.sh $(DESTDIR)$(PREFIX)/etc/bash_completion.d/git-extras |
11 | | |
12 | | man/%.html: man/%.md |
13 | | ronn \ |
14 | | @@ -56,7 +56,7 @@ |
15 | | echo "... uninstalling $(DESTDIR)$(MANPREFIX)/$(notdir $(MAN))"; \ |
16 | | rm -f $(DESTDIR)$(MANPREFIX)/$(notdir $(MAN)); \ |
17 | | ) |
18 | | - rm -f $(DESTDIR)/etc/bash_completion.d/git-extras |
19 | | + rm -f $(DESTDIR)$(PREFIX)/etc/bash_completion.d/git-extras |
20 | | |
21 | | clean: docclean |
22 | | |
diff --git a/devel/git-extras/files/patch-bin-git-extras.diff b/devel/git-extras/files/patch-bin-git-extras.diff
deleted file mode 100644
index a82026d9c1..0000000000
+
|
-
|
|
1 | | --- bin/git-extras.orig 2014-11-18 10:07:03.000000000 -0600 |
2 | | +++ bin/git-extras 2015-03-09 01:38:44.000000000 -0500 |
3 | | @@ -4,15 +4,9 @@ |
4 | | |
5 | | update() { |
6 | | - local bin=$(which git-extras) |
7 | | - local prefix=${bin%/*/*} |
8 | | - local orig=$PWD |
9 | | - |
10 | | - cd /tmp \ |
11 | | - && rm -fr ./git-extras \ |
12 | | - && git clone --depth 1 https://github.com/tj/git-extras.git \ |
13 | | - && cd git-extras \ |
14 | | - && PREFIX="$prefix" make install \ |
15 | | - && cd "$orig" \ |
16 | | - && echo "... updated git-extras $VERSION -> $(git extras --version)" |
17 | | + echo "Please run the following commands to update your installation of git-extras to the latest version provided by MacPorts:" |
18 | | + echo "" |
19 | | + echo " sudo port selfupdate" |
20 | | + echo " sudo port upgrade git-extras" |
21 | | + echo "" |
22 | | } |
23 | | |