source: trunk/dports/ruby/rb-libart/Portfile

Last change on this file was 115019, checked in by ryandesign@…, 4 years ago

revbump ports depending on libpng following libpng 1.6.x update (#41842)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 115019 2013-12-22 09:29:46Z ryandesign@macports.org $
2
3PortSystem      1.0
4PortGroup       muniversal 1.0
5PortGroup       ruby 1.0
6
7ruby.setup      {libart ruby-gnome2} 0.90.5 extconf.rb \
8                { libart/README libart/sample } \
9                sourceforge:ruby-gnome2
10revision        5
11maintainers     nomaintainer
12platforms       darwin
13description     Ruby/Libart2 is a Ruby binding of Libart_lgpl.
14long_description    Ruby/Libart2 is a Ruby binding of Libart_lgpl.
15license         LGPL-2
16checksums       md5 58ee234ef8b121b11de8a245c61cd4a9 \
17                rmd160 7c96480e366bac2408a3790c355ad517cc0b0023 \
18                sha1 320fc4c9b65b6494abac894e84013683584acf54
19configure.env   RUBYOPT=-rvendor-specific
20configure.args  --strict libart
21depends_lib-append  port:libart_lgpl port:libpng port:jpeg port:rb-glib2 \
22                    port:rb-pkg-config
23distname        ${ruby.project}-all-${version}
24
25# run extconf.rb with each arch `ruby'
26use_parallel_build  no
27post-configure {
28    if {[variant_isset universal]} {
29        foreach arch ${universal_archs} {
30            system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/libart extconf.rb --vendor"
31        }
32    }
33}
34
Note: See TracBrowser for help on using the repository browser.