# $Id: Portfile 64856 2010-03-16 14:47:07Z kimuraw@macports.org $
PortSystem		1.0
PortGroup		ruby 1.0

ruby.setup		webgen 0.5.11 setup.rb {COPYING GPL ChangeLog VERSION \
				AUTHORS THANKS } \
				rubyforge:69267
maintainers		nomaintainer
description		Templated based static website generator
long_description	Webgen is a web page generator implemented in Ruby. \
					It is used to generate static web pages from \
					templates and page description files.
categories-append	www
homepage		http://webgen.rubyforge.org/
extract.suffix	.tgz
checksums		md5 a7347dad05ecb0bf1ed8bd4b629b6e75
platforms		darwin

depends_lib		port:rb-redcloth \
				port:rb-cmdparse \
				port:rb-kramdown

post-destroot {
	reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${destroot}${prefix}/bin/webgen
}

