# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id: Portfile 65907 2010-04-02 22:08:22Z jmr@macports.org $

PortSystem        1.0
PortGroup         python25 1.0

name                    py25-hgsvn
version                 0.1.8
categories-append       devel
platforms               darwin
maintainers             saispo
homepage                http://pypi.python.org/pypi/hgsvn
description             hgsvn is a set of scripts for Subversion and Mercurial
long_description		This set of scripts allows to work locally on \
						Subversion-managed projects using the Mercurial \
						distributed version control system.

master_sites            http://pypi.python.org/packages/source/h/hgsvn
distname                hgsvn-${version}
checksums               md5     56209eae48b955754e09185712123428 \
                        sha1    029eeb5646228194d4677d2f4e3e33bc41da44cc \
                        rmd160  af056571b2d25110b61cffbf5512cb35967a7c1f

depends_lib-append      port:py25-distribute
post-extract            { file copy ${filespath}/ez_setup.py ${worksrcpath} }

post-destroot   {
        xinstall -m 644 -W ${worksrcpath} AUTHORS.txt COPYING.txt README.txt TODO.txt  \
                ${destroot}${prefix}/share/doc/${name}
}

