# $Id: Portfile 90963 2012-03-20 09:05:41Z kimuraw@macports.org $

PortSystem		1.0
PortGroup		ruby 1.0

ruby.setup		rabbit 1.0.6 setup.rb {README sample misc}
revision		0
maintainers		kimuraw
description		An application to do presentation with RD document.
long_description	This is an application to do presentation with RD document.\
					There are some features which are different from other\
					presentation tools:\
					  * To define slide look, use Ruby.\
					  * There are many keyboard interfaces.\
					  * This supports mouse gesture.\
					  * and more...

categories-append	graphics
platforms		darwin
homepage        http://rabbit-shockers.org/index.html.en
license			Ruby
supported_archs	noarch

depends_lib-append	port:rb-gtk2 port:rb-rsvg port:rb-poppler \
					port:rb-nokogiri port:rb-coderay port:rb-div \
					port:rb-rdtool port:rb-rttool

post-build {
	reinplace "s|^#!.*ruby|#!${ruby.bin}|" \
		${worksrcpath}/bin/rabbit \
		${worksrcpath}/bin/rabbit-command \
		${worksrcpath}/bin/rabbit-theme-manager \
		${worksrcpath}/bin/rabrick \
		${worksrcpath}/bin/rabbirc \
		${worksrcpath}/bin/rabbiter \
		${worksrcpath}/bin/rabwii
}

master_sites    http://rabbit-shockers.org/download/
checksums		md5 2d965fb3110119c12930163a32766b54 \
				rmd160 54fd032a64090435835e28bfea6dc4bdd823c537 \
				sha1 869d71213b0c6500772d245ba0058dcfd65c919c

livecheck.type	regex
livecheck.url	http://raa.ruby-lang.org/project/rabbit/
livecheck.regex	{download/rabbit-(.*)\.tar\.gz\">http://}

