[37871] trunk/dports/ruby
Ryan Schmidt
ryandesign at macports.org
Fri Jun 27 14:34:26 PDT 2008
On Jun 27, 2008, at 09:52, kimuraw at macports.org wrote:
> Revision: 37871
> http://trac.macosforge.org/projects/macports/changeset/37871
> Author: kimuraw at macports.org
> Date: 2008-06-27 07:52:50 -0700 (Fri, 27 Jun 2008)
> Log Message:
> -----------
> New Port ruby/rb-rcairo 1.6.2.
> rcairo is Ruby bindings for Cairo.
>
> Added Paths:
> -----------
> trunk/dports/ruby/rb-rcairo/
> trunk/dports/ruby/rb-rcairo/Portfile
>
> Added: trunk/dports/ruby/rb-rcairo/Portfile
> ===================================================================
> --- trunk/dports/ruby/rb-rcairo/Portfile
> (rev 0)
> +++ trunk/dports/ruby/rb-rcairo/Portfile 2008-06-27 14:52:50 UTC
> (rev 37871)
> @@ -0,0 +1,31 @@
> +# $Id$
> +PortSystem 1.0
> +PortGroup ruby 1.0
> +
> +ruby.setup rcairo 1.6.2 extconf.rb {README COPYING GPL samples doc}
> +maintainers kimuraw
> +description Ruby bindings for cairo
> +long_description \
> + Ruby bindings for Cairo. Cairo is a 2D graphics library \
> + with support for multiple output devices.
> +categories-append graphics
> +extract.suffix .tar.gz
FYI, this is the default extract.suffix so you don't need to specify it.
http://guide.macports.org/#reference.phases.extract
> +checksums md5 062442e070d44984e11e34aac104d9f2 \
> + rmd160 ce38c16fc293d8b5113e33761761c30c2c1b0fc3 \
> + sha1 a4d00f91131d378f68016ed19a5b3f1b77809477
> +platforms darwin
> +
> +depends_lib-append lib:libcairo.1.6.0:cairo
port:-style dependencies are preferred to lib:-style ones, so you
should write "port:cairo" instead of "lib:libcairo.1.6.0:cairo".
http://guide.macports.org/#reference.dependencies.types
> +configure.env-append PKG_CONFIG=${prefix}/bin/pkg-config
> +configure.args-append --vendor
> +
> +homepage http://cairographics.org/rcairo/
> +master_sites http://cairographics.org/releases/
> +
> +test.env-append PKG_CONFIG=${prefix}/bin/pkg-config
> +test.run yes
> +test.dir ${worksrcpath}
> +test.cmd ${ruby.bin}
> +test.target test/run-test.rb
> +test.args --testcase=PaperTest
More information about the macports-dev
mailing list