# $Id: Portfile 30250 2007-10-23 02:16:17Z jmpp@macports.org $
PortSystem		1.0
PortGroup		ruby 1.0

ruby.setup		archive-tar-minitar 0.5.1 basic_install.rb {README doc tests} \
				rubyforge:1558
maintainers		nomaintainer
description		Ruby library and command line utility to deal with POSIX tar archive files.
long_description	Archive::Tar::Minitar is a pure-Ruby library and \
                    command-line utility that provides the ability to \
                    deal with POSIX tar(1) archive files. The \
                    implementation is based heavily on Mauricio \
                    Fernandez's implementation in rpa-base, but has \
                    been reorganised to promote reuse in other projects.
categories-append	archivers
homepage        http://rubyforge.org/frs/shownotes.php?release_id=787
checksums		md5 ba2455034213b61684a7bb91594b3f6a
platforms		darwin

destroot.args	--no-ri --no-tests
post-destroot {
	reinplace "s%#!.*ruby%#!${ruby.bin}%" ${destroot}${prefix}/bin/minitar
	file delete -force ${destroot}${prefix}/bin/minitar.bat
}

