source: trunk/dports/ruby/rb-libgnome/Portfile @ 105283

Last change on this file since 105283 was 83385, checked in by dports@…, 8 years ago

standardize some license formatting issues:

  • use - to indicate version, not v, e.g. GPL-2 not GPLv2
  • use lists for multiple options, e.g. {Artistic GPL}
  • perl license is {Artistic GPL}
  • Python license is PSF
  • call the NCSA/UIUC license NCSA
  • libpng/zlib have the same license; call it zlib
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 83385 2011-08-31 01:52:26Z dports@macports.org $
2
3PortSystem              1.0
4PortGroup               muniversal 1.0
5PortGroup               ruby 1.0
6
7ruby.setup              {libgnome ruby-gnome2} 0.90.5 extconf.rb \
8                                { gnome/README gnome/sample } \
9                                sourceforge:ruby-gnome2
10revision                2
11maintainers             kimuraw
12platforms               darwin
13description             Ruby/GNOME2 is a Ruby binding of libgnome/libgnomeui-2.x.
14long_description        Ruby/GNOME2 is a Ruby binding of libgnome/libgnomeui-2.x.
15categories-append       gnome
16license                 LGPL-2
17checksums               md5 58ee234ef8b121b11de8a245c61cd4a9 \
18                                rmd160 7c96480e366bac2408a3790c355ad517cc0b0023 \
19                                sha1 320fc4c9b65b6494abac894e84013683584acf54
20configure.env   RUBYOPT=-rvendor-specific
21configure.args          --strict gnome
22depends_lib-append      port:libgnome port:libgnomeui port:libgnomecanvas \
23                                port:rb-glib2 port:rb-gtk2 port:rb-gnomecanvas \
24                                port:rb-pkg-config
25distname                ${ruby.project}-all-${version}
26
27# run extconf.rb with each arch `ruby'
28use_parallel_build      no
29post-configure {
30        if {[variant_isset universal]} {
31                foreach arch ${universal_archs} {
32                        system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/gnome extconf.rb --vendor"
33                }
34        }
35}
36
Note: See TracBrowser for help on using the repository browser.