Updated git and gitdoc to 1.8.1.3 this closes #706.

This commit is contained in:
Scott McCreary
2013-03-17 18:43:08 +00:00
parent ac58f0ca19
commit ca1df0dab3
3 changed files with 105 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
DESCRIPTION="git a fast version control system"
HOMEPAGE="http://code.google.com/p/git-core/"
SRC_URI="http://git-core.googlecode.com/files/git-manpages-1.8.1.3.tar.gz"
CHECKSUM_MD5="b8e050c3c96b0b9fa28a7b7e9413af01"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
echo "Attempting to download additional formats"
wget http://git-core.googlecode.com/files/git-htmldocs-1.8.1.3.tar.gz
if [ $? != 0 ];then
echo "Error downloading additional formats"
exit 1
fi
}
INSTALL {
MAN_DIR=$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man
mkdir -p "${DESTDIR}/${MAN_DIR}"
cp -afv man* "${DESTDIR}/${MAN_DIR}"
echo "Extracting extra docs"
DOC_DIR=$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/doc/git-1.8.1.3
mkdir -p "${DESTDIR}/${DOC_DIR}"
WORKDIR="$(pwd)"
cd "${DESTDIR}/${DOC_DIR}"
tar xvf "${WORKDIR}/git-htmldocs-1.8.1.3.tar.gz"
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2013 Git Authors (see git web site for list)"