# $Id: Portfile,v 1.2 2004/06/14 03:36:57 rshaw Exp $
PortSystem		1.0
PortGroup		ruby 1.0

ruby.setup		aspectr 0.3.5 basic_install.rb {README aspects examples} \
				sourceforge
revision		1
maintainers		shu@rufuran.org
description		Simple aspect-oriented programming in Ruby
long_description	Aspect-oriented programming concepts to Ruby. \
					Essentially it allows you to wrap code around existing \
					methods in your classes. This can be a good thing (and \
					even affect how you design your code) since it \
					separates different concerns into different parts of \
					the code. It is somewhat similar to Aspect
categories-append	devel
distname		${ruby.module}-[strsed ${version} {g/[.]/-/}]
checksums		md5 c640a1a82802ddb107c3ee1245a22705
platforms		darwin

post-patch {
	reinplace "s|installdir = \"|&${ruby.version}|" ${worksrcpath}/install.rb
}

