# $Id: Portfile 54785 2009-08-02 03:33:39Z kimuraw@macports.org $

PortSystem		1.0
PortGroup		ruby 1.0

ruby.setup		{gtksourceview2 ruby-gnome2} 0.19.1 extconf.rb \
				{ gtksourceview2/README gtksourceview2/sample } \
				sourceforge:ruby-gnome2
revision		0
maintainers		kimuraw
platforms		darwin
description		Ruby/GtkSourceView2 is a Ruby binding of gtksourceview-2.x.\
				(a part of Ruby-Gnome2)
long_description	Ruby/GtkSourceView2 is a Ruby binding of gtksourceview-2.x.\
				(a part of Ruby-Gnome2)
categories-append	gnome
checksums		md5 d40a03e79ac2a6e6a786ed5a4851337d \
				rmd160 3161d8e2d99ba91ac3a8c6ee51992462b5413e10 \
				sha1 7b42fd26e54eb82c006f7aeacaf91efc417bdbde
patchfiles		patch-gtksourceview2-test-run-test.rb.diff
configure.env	RUBYOPT=-rvendor-specific
configure.args		--strict gtksourceview2
depends_lib-append	port:rb-gtk2 port:gtksourceview2
distname		${ruby.project}-all-${version}

pre-destroot {
	xinstall -d ${destroot}${prefix}/lib/pkgconfig
}

# for developer only, this test may launch X11.app
#test.run		yes
test.cmd		${ruby.bin}
test.target		-Cgtksourceview2/test run-test.rb

