# $Id: Portfile,v 1.3 2005/08/11 21:33:37 rshaw Exp $
PortSystem		1.0
PortGroup		ruby 1.0

ruby.setup		webgen 0.3.0 setup.rb {COPYING README ChangeLog TODO VERSION} \
				rubyforge:3168
maintainers		darwinports@opendarwin.org
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 54cfbbfeb347db969b7a6a9e8f8fe7cb
platforms		darwin

depends_lib		port:rb-redcloth \
				port:rb-bluecloth

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

