Changeset 74719


Ignore:
Timestamp:
Dec 30, 2010, 5:14:22 PM (8 years ago)
Author:
kimuraw@…
Message:

ruby/rb-rcairo: enable universal variant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/ruby/rb-rcairo/Portfile

    r71924 r74719  
    22
    33PortSystem              1.0
     4PortGroup               muniversal 1.0
    45PortGroup               ruby 1.0
    56
    67ruby.setup              rcairo 1.10.0 extconf.rb {README.rdoc COPYING GPL samples doc}
     8revision                1
    79maintainers             kimuraw
    810description             Ruby bindings for cairo
     
    2527license                 Ruby
    2628
     29# run extconf.rb with each arch `ruby'
     30use_parallel_build      no
     31post-configure {
     32        if {[variant_isset universal]} {
     33                foreach arch ${universal_archs} {
     34                        system "/usr/bin/arch -arch ${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/ext/cairo extconf.rb --vendor"
     35                }
     36        }
     37}
     38
    2739test.env-append         PKG_CONFIG=${prefix}/bin/pkg-config
    2840test.run                yes
Note: See TracChangeset for help on using the changeset viewer.