PortSystem		1.0
PortGroup		ruby 1.0

ruby.setup		{cvs ruby-cvs} 0.2 copy_install:lib {README}
revision        1
maintainers		otierney.net:dports
description		High level interface to a CVS repository
long_description	Ruby/CVS provides high level interface to a CVS repository. 
homepage            http://cvs.m17n.org/~akr/ruby-cvs/
master_sites        fink
categories-append   devel
depends_lib-append  port:cvs
worksrcdir          ${ruby.filename}
checksums		    md5 4e40b597ba43ef8ecc8b0fdce22119bd
post-destroot       {
                        reinplace "s;/usr/local/bin/ruby;${ruby.bin};" ${worksrcpath}/viztree
                        xinstall -m 0755 ${worksrcpath}/viztree ${destroot}${ruby.bindir}
                        # install commands at post-destroot, need to make symlink in portfile
                        ln -s ${ruby.bindir}/viztree ${destroot}${prefix}/bin/viztree${ruby.link_binaries_suffix}
                    }
platforms		    any 
supported_archs     noarch
