# $Id: Portfile 20363 2006-11-02 18:07:40Z blair@macports.org $ PortSystem 1.0 PortGroup perl5 1.0 perl5.setup Gnome 0.7009 maintainers landonf@opendarwin.org description Bindings to Gnome library long_description gtk-perl is a set of modules that let you use the gtk \ libraries from Perl. platforms darwin homepage http://www.gnome.org master_sites http://www.cpan.org/modules/by-module/Gtk distname Gtk-Perl-${version} checksums md5 72ce462caa1afe57d60a8e654d63204b depends_lib port:gtk1 port:imlib port:gdk-pixbuf port:libglade \ port:gnome-libs port:p5-gtk-perl depends_build port:p5-xml-writer port:p5-xml-parser set modules {Gnome GdkImlib} post-build { global modules foreach module $modules { system "cd ${worksrcpath}/$module && ${perl5.bin} Makefile.PL INSTALLDIRS=vendor" } } destroot { global modules foreach module $modules { system "cd ${worksrcpath}/$module && make install DESTDIR=${destroot}" } } destroot.dir ${worksrcpath}/Gnome