Files
haikuports/dev-vcs/gitdoc/gitdoc-1.7.9.1.bep
Chris Roberts 52ad672192 Update git and gitdoc to 1.7.9.1
gitdoc has been fixed to build packages properly and kludged to download htmldocs

git has been fixed to allow help to pop up in web+ with commands like "git help -w clone"
(iirc html docs can be set as the default in a users gitconfig file)
2012-02-20 00:39:18 +00:00

33 lines
930 B
Plaintext

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.7.9.1.tar.gz"
CHECKSUM_MD5="c2d9b838bb5ba1385e65ed8ae0e4fe00"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
echo "Attempting to download additional formats"
wget http://git-core.googlecode.com/files/git-htmldocs-1.7.9.1.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.7.9.1
mkdir -p "${DESTDIR}/${DOC_DIR}"
WORKDIR="$(pwd)"
cd "${DESTDIR}/${DOC_DIR}"
tar xvf "${WORKDIR}/git-htmldocs-1.7.9.1.tar.gz"
}
LICENSE="GNU GPL v2"
COPYRIGHT="2005-2012 Git Authors (see git web site for list)"