# $Id: Portfile 80636 2011-07-16 02:48:10Z dluke@macports.org $

PortSystem 1.0

PortGroup		python26 1.0

name			cvs2svn
version			2.3.0
revision		1
categories		devel python
maintainers		geeklair.net:dluke
description		Tool for converting from CVS to subversion
#Actually it's CollabNet/Tigris.org Apache-style license
#which is the same as the Apache license, but with CollabNet as the copyright holder
#see http://cvs2svn.tigris.org/servlets/LicenseDetails?licenseID=9
license			Apache

long_description	cvs2svn is a Python script that converts a CVS \
			repository to a Subversion repository. It is designed \
			for one-time conversions, not for repeated \
			synchronizations between CVS and Subversion.

platforms		darwin
homepage		http://cvs2svn.tigris.org
master_sites		macports
checksums		md5 6c412baec974f3ff64b9145944682a15 \
			sha1 545237805ddb241054ba40b105b9c29b705539b8 \
			rmd160 83440b4c152b8116b1e6706133c1919a0acfa4b9

test.run		yes
test.cmd		${prefix}/bin/python2.6
test.target		run-tests.py

post-destroot {
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} BUGS CHANGES COMMITTERS COPYING \
		HACKING README doc/design-notes.txt ${destroot}${prefix}/share/doc/${name}
	file copy ${worksrcpath}/www ${destroot}${prefix}/share/doc/${name}
	ln -s ${python.prefix}/bin/cvs2svn ${destroot}${prefix}/bin/cvs2svn
	ln -s ${python.prefix}/bin/cvs2bzr ${destroot}${prefix}/bin/cvs2bzr
	ln -s ${python.prefix}/bin/cvs2git ${destroot}${prefix}/bin/cvs2git
}

