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

Last change on this file was 96038, checked in by dports@…, 5 years ago

bump revisions on poppler dependents after r95790

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 96038 2012-07-30 02:14:11Z ryandesign@macports.org $
2
3PortSystem              1.0
4PortGroup               muniversal 1.0
5PortGroup               ruby 1.0
6
7ruby.setup              {poppler ruby-gnome2} 1.1.3 extconf.rb \
8                                { poppler/README poppler/sample } \
9                                sourceforge:ruby-gnome2
10revision                1
11maintainers             kimuraw
12platforms               darwin
13description             Ruby/Poppler is a Ruby binding of poppler-glib.
14long_description        Ruby/Poppler is a Ruby binding of poppler-glib.
15categories-append       gnome
16license                 LGPL-2
17checksums               md5 8fa5a2b35f45df722df599fb0765b069 \
18                                rmd160 7f78bd36632bf5547000a92304cefd368da9ad98 \
19                                sha1 f99af53f020136a1e1162e97c792343cd97a9a45
20configure.env   RUBYOPT=-rvendor-specific
21configure.args  --strict poppler
22depends_lib-append      port:poppler port:rb-glib2 port:rb-gtk2 \
23                                        port:rb-rcairo port:rb-pkg-config
24distname                ${ruby.project}-all-${version}
25
26# run extconf.rb with each arch `ruby'
27use_parallel_build      no
28post-configure {
29        if {[variant_isset universal]} {
30                foreach arch ${universal_archs} {
31                        system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/poppler/ext/poppler extconf.rb --vendor"
32                }
33        }
34}
35
36## for developer, this test launches X11.app
37#test.run               yes
38## genearte header files for testing
39#pre-configure  {
40#       system "${ruby.bin} -C ${worksrcpath} extconf.rb --strict glib2 atk pango gdk_pixbuf2 gtk2"
41#}
42test.cmd                ${ruby.bin}
43test.target             -C poppler test/run-test.rb
44
Note: See TracBrowser for help on using the repository browser.