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

Last change on this file was 112278, checked in by kimuraw@…, 4 years ago

ruby/rb-gnomecanvas, libgnome, libglade2: revert deleting at r111612 (#40770)

port:metasploit3 requires port:libglade2.

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