# $Id: Portfile 104846 2013-04-03 20:58:22Z jmr@macports.org $ PortSystem 1.0 PortGroup ruby 1.0 ruby.setup {xml-xpath ruby-xpath} 0.4.0 extconf.rb \ {README ChangeLog tests} maintainers nomaintainer description A simple XPath class for Ruby long_description ${description} categories-append textproc license GPL-2+ homepage http://www.webtime-project.net/ master_sites http://gregoire.lejeune.free.fr/ distname ${ruby.project}_${version} worksrcdir ${ruby.project} checksums md5 fe4edae5cdac5494bf4216f23e92986f platforms darwin depends_lib-append lib:libz.1:zlib \ lib:libxml2.2.6:libxml2 test.run yes test.dir ${worksrcpath}/tests pre-test { system "cd ${test.dir} && rm -f xml && ln -s .. xml" } test.cmd ${ruby.bin} test.target test.rb