mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 22:00:09 +02:00
35 lines
926 B
Plaintext
35 lines
926 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.8.0.tar.gz"
|
|
CHECKSUM_MD5="66f0a839d933c7d573fb40cb051b5e66"
|
|
REVISION="1"
|
|
STATUS_HAIKU="stable"
|
|
DEPEND=""
|
|
|
|
BUILD()
|
|
{
|
|
echo "Attempting to download additional formats"
|
|
wget http://git-core.googlecode.com/files/git-htmldocs-1.8.0.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.0
|
|
mkdir -p "${DESTDIR}/${DOC_DIR}"
|
|
WORKDIR="$(pwd)"
|
|
cd "${DESTDIR}/${DOC_DIR}"
|
|
tar xvf "${WORKDIR}/git-htmldocs-1.8.0.tar.gz"
|
|
}
|
|
|
|
LICENSE="GNU GPL v2"
|
|
COPYRIGHT="2005-2012 Git Authors (see git web site for list)"
|