Files
haikuports/dev-vcs/mercurial/mercurial-3.2.1.recipe
Humdinger e7c19a38d3 Small changes to DESCRIPTION/SUMMARY, reordering blocks
*	subversion
	Smuggled in a "svn" as people do search for that

*	mercurial
	Smuggled in a "hg" as people do search for that

*	vision
	Improved DESCRIPTION
2015-08-15 08:22:37 +02:00

53 lines
994 B
Bash

SUMMARY="Free, distributed source control management tool"
DESCRIPTION="Mercurial (hg) is a free, distributed source control management \
tool."
HOMEPAGE="http://mercurial.selenic.com/"
COPYRIGHT="2005-2014 Matt Mackall et al."
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="http://mercurial.selenic.com/release/mercurial-$portVersion.tar.gz"
CHECKSUM_SHA256="26418276fbc36850782f1f4feb30da4a83800b48493082985c4d3ac29ad0ca0f"
PATCHES="mercurial-3.2.1.patch"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
mercurial = $portVersion compat >= 3
cmd:hg = $portVersion compat >= 3
"
REQUIRES="
haiku_devel
cmd:python < 3
cmd:nano
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:python < 3
cmd:gcc
cmd:gettext
cmd:ld
cmd:make
cmd:msgfmt
"
BUILD()
{
$portPackageLinksDir/cmd~python/bin/python setup.py build --force
}
INSTALL()
{
$portPackageLinksDir/cmd~python/bin/python setup.py install \
--prefix="$prefix" \
--force
}
TEST()
{
cd tests
python run-tests.py
}