aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2013-06-13 00:30:02 +0000
committerWesley Shields <wxs@FreeBSD.org>2013-06-13 00:30:02 +0000
commit58948ea81a417cb4756d80d2961e7a09a447360a (patch)
tree1612606445cba9650546812164791a12eff2cb3f /devel
parent1bace963ee01d2364e3d8a825cda967ef07257f2 (diff)
downloadports-58948ea81a417cb4756d80d2961e7a09a447360a.tar.gz
ports-58948ea81a417cb4756d80d2961e7a09a447360a.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/git/Makefile11
-rw-r--r--devel/git/distinfo12
-rw-r--r--devel/git/files/patch-Makefile20
-rw-r--r--devel/git/pkg-plist10
4 files changed, 34 insertions, 19 deletions
diff --git a/devel/git/Makefile b/devel/git/Makefile
index 8d9d856130d2..fdc52958a4d7 100644
--- a/devel/git/Makefile
+++ b/devel/git/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= git
-PORTVERSION= 1.8.2.3
+PORTVERSION= 1.8.3.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
@@ -327,6 +327,9 @@ IGNORE= using GITWEB support requires PERL support
.if ${PORT_OPTIONS:MCONTRIB}
PLIST_SUB+= CONTRIB=""
+BUILD_DEPENDS+= xmlto:${PORTSDIR}/textproc/xmlto \
+ asciidoc:${PORTSDIR}/textproc/asciidoc
+MAN1+= git-subtree.1
.else
PLIST_SUB+= CONTRIB="@comment "
.endif
@@ -387,6 +390,8 @@ post-patch:
.endif
.if empty(PORT_OPTIONS:MP4)
@${REINPLACE_CMD} -e '/^SCRIPT_PYTHON += git-p4.py$$/d' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' \
+ ${WRKSRC}/contrib/subtree/git-subtree.sh
.endif
post-build:
@@ -427,10 +432,12 @@ post-install:
@${ECHO_MSG} "===> Installing contributed scripts"
${MKDIR} ${PREFIX}/share/git-core/contrib
${CP} -R ${WRKSRC}/contrib/* ${PREFIX}/share/git-core/contrib
+ cd ${WRKSRC}/contrib/subtree && ${SETENV} ${MAKE_ENV} \
+ ${GMAKE} ${MAKE_FLAGS} Makefile ${MAKE_ARGS} install install-doc
.endif
.if ${PORT_OPTIONS:MP4}
${INSTALL_SCRIPT} ${WRKSRC}/contrib/p4import/git-p4import ${PREFIX}/bin/
- ${INSTALL_SCRIPT} ${WRKSRC}/git-p4 ${PREFIX}/bin/
+ ${INSTALL_SCRIPT} ${WRKSRC}/git-p4.py ${PREFIX}/bin/
.endif
.if ${PORT_OPTIONS:METCSHELLS}
@${ECHO_MSG} "===> Updating ${SHELLS}"
diff --git a/devel/git/distinfo b/devel/git/distinfo
index 48f1c3022fdc..007bb50034b7 100644
--- a/devel/git/distinfo
+++ b/devel/git/distinfo
@@ -1,6 +1,6 @@
-SHA256 (git-1.8.2.3.tar.gz) = ba8d42d47b0955b17905af0133b01ab8e3f28f0e39b9967ec446403c0b49991f
-SIZE (git-1.8.2.3.tar.gz) = 4405610
-SHA256 (git-manpages-1.8.2.3.tar.gz) = 8e91d7a49cda92ed999eb9632ae3f0f22b1910e54de58c9e53107687c18f1414
-SIZE (git-manpages-1.8.2.3.tar.gz) = 537688
-SHA256 (git-htmldocs-1.8.2.3.tar.gz) = 99546c3b96f0d3501e7a2bc69e22d5d61be4693164a252e30850d13729331099
-SIZE (git-htmldocs-1.8.2.3.tar.gz) = 2097410
+SHA256 (git-1.8.3.1.tar.gz) = ea2dde231b3f659da92dd0afc092a16720d63f1206cdcb271920e88f328bda83
+SIZE (git-1.8.3.1.tar.gz) = 4470932
+SHA256 (git-manpages-1.8.3.1.tar.gz) = ab574826814b9469c91cdb99ecf5ad66228d0e30197e54881a4fe8ce0a17caba
+SIZE (git-manpages-1.8.3.1.tar.gz) = 542717
+SHA256 (git-htmldocs-1.8.3.1.tar.gz) = 0be04c5efc831bbc7b1d80707d953bf7e9d500037eb202f6fd042c0fff0538ea
+SIZE (git-htmldocs-1.8.3.1.tar.gz) = 2114248
diff --git a/devel/git/files/patch-Makefile b/devel/git/files/patch-Makefile
index c19cf452f6dc..69eb5af0b980 100644
--- a/devel/git/files/patch-Makefile
+++ b/devel/git/files/patch-Makefile
@@ -1,6 +1,6 @@
---- ./Makefile.orig 2012-02-18 15:17:14.650207401 -0500
-+++ ./Makefile 2012-02-18 15:19:42.390202289 -0500
-@@ -301,8 +301,8 @@
+--- Makefile.orig 2013-06-12 14:17:51.000000000 -0400
++++ Makefile 2013-06-12 14:24:27.000000000 -0400
+@@ -349,8 +349,8 @@
# CFLAGS and LDFLAGS are for the users to override from the command line.
@@ -11,12 +11,12 @@
ALL_CFLAGS = $(CPPFLAGS) $(CFLAGS)
ALL_LDFLAGS = $(LDFLAGS)
STRIP ?= strip
-@@ -322,15 +322,15 @@
+@@ -372,15 +372,15 @@
prefix = $(HOME)
bindir_relative = bin
bindir = $(prefix)/$(bindir_relative)
--mandir = share/man
--infodir = share/info
+-mandir = $(prefix)/share/man
+-infodir = $(prefix)/share/info
+mandir = $(prefix)/man
+infodir = $(prefix)/info
gitexecdir = libexec/git-core
@@ -26,12 +26,12 @@
+gitwebdir = $(sharedir)/examples/git/gitweb
localedir = $(sharedir)/locale
template_dir = share/git-core/templates
--htmldir = share/doc/git-doc
-+htmldir = share/doc/git
+-htmldir = $(prefix)/share/doc/git-doc
++htmldir = $(prefix)/share/doc/git
ETC_GITCONFIG = $(sysconfdir)/gitconfig
ETC_GITATTRIBUTES = $(sysconfdir)/gitattributes
lib = lib
-@@ -339,21 +339,21 @@
+@@ -393,21 +393,21 @@
export prefix bindir sharedir sysconfdir gitwebdir localedir
@@ -68,7 +68,7 @@
export TCL_PATH TCLTK_PATH
-@@ -1438,9 +1438,9 @@
+@@ -1136,9 +1136,9 @@
ifndef NO_OPENSSL
OPENSSL_LIBSSL = -lssl
diff --git a/devel/git/pkg-plist b/devel/git/pkg-plist
index a73b56e04a33..af527f2719da 100644
--- a/devel/git/pkg-plist
+++ b/devel/git/pkg-plist
@@ -1,5 +1,5 @@
bin/git
-%%P4%%bin/git-p4
+%%P4%%bin/git-p4.py
%%P4%%bin/git-p4import
bin/git-upload-pack
bin/git-receive-pack
@@ -174,6 +174,7 @@ libexec/git-core/git-stash
libexec/git-core/git-status
libexec/git-core/git-stripspace
libexec/git-core/git-submodule
+%%CONTRIB%%libexec/git-core/git-subtree
%%SVN%%libexec/git-core/git-svn
libexec/git-core/git-symbolic-ref
libexec/git-core/git-tag
@@ -999,6 +1000,8 @@ share/git-core/templates/info/exclude
%%HTMLDOCS%%%%DOCSDIR%%/RelNotes/1.8.2.1.txt
%%HTMLDOCS%%%%DOCSDIR%%/RelNotes/1.8.2.2.txt
%%HTMLDOCS%%%%DOCSDIR%%/RelNotes/1.8.2.3.txt
+%%HTMLDOCS%%%%DOCSDIR%%/RelNotes/1.8.3.txt
+%%HTMLDOCS%%%%DOCSDIR%%/RelNotes/1.8.3.1.txt
%%GITWEB%%%%EXAMPLESDIR%%/gitweb/gitweb.cgi
%%GITWEB%%%%EXAMPLESDIR%%/gitweb/static/gitweb.js
%%GITWEB%%%%EXAMPLESDIR%%/gitweb/static/gitweb.css
@@ -1030,6 +1033,10 @@ share/git-core/templates/info/exclude
%%CONTRIB%%share/git-core/contrib/credential/gnome-keyring/Makefile
%%CONTRIB%%share/git-core/contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
%%CONTRIB%%share/git-core/contrib/credential/gnome-keyring/.gitignore
+%%CONTRIB%%share/git-core/contrib/credential/netrc/Makefile
+%%CONTRIB%%share/git-core/contrib/credential/netrc/git-credential-netrc
+%%CONTRIB%%share/git-core/contrib/credential/netrc/test.netrc
+%%CONTRIB%%share/git-core/contrib/credential/netrc/test.pl
%%CONTRIB%%share/git-core/contrib/credential/osxkeychain/Makefile
%%CONTRIB%%share/git-core/contrib/credential/osxkeychain/git-credential-osxkeychain.c
%%CONTRIB%%share/git-core/contrib/credential/osxkeychain/.gitignore
@@ -1182,6 +1189,7 @@ share/git-core/templates/info/exclude
%%CONTRIB%%@dirrm share/git-core/contrib/convert-objects
%%CONTRIB%%@dirrm share/git-core/contrib/credential/gnome-keyring
%%CONTRIB%%@dirrm share/git-core/contrib/credential/osxkeychain
+%%CONTRIB%%@dirrm share/git-core/contrib/credential/netrc
%%CONTRIB%%@dirrm share/git-core/contrib/credential/wincred
%%CONTRIB%%@dirrm share/git-core/contrib/credential
%%CONTRIB%%@dirrm share/git-core/contrib/diffall