source: trunk/dports/perl/p5-gnome/Portfile @ 20363

Last change on this file since 20363 was 20363, checked in by blair@…, 13 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 931 bytes
Line 
1# $Id: Portfile 20363 2006-11-02 18:07:40Z blair@macports.org $
2
3PortSystem              1.0
4PortGroup               perl5 1.0
5perl5.setup             Gnome 0.7009
6maintainers             landonf@opendarwin.org
7description             Bindings to Gnome library
8long_description        gtk-perl is a set of modules that let you use the gtk \
9                        libraries from Perl.
10
11platforms               darwin
12
13homepage                http://www.gnome.org
14master_sites            http://www.cpan.org/modules/by-module/Gtk
15distname                Gtk-Perl-${version}
16
17checksums               md5 72ce462caa1afe57d60a8e654d63204b
18
19depends_lib             port:gtk1 port:imlib port:gdk-pixbuf port:libglade \
20                        port:gnome-libs port:p5-gtk-perl
21
22depends_build           port:p5-xml-writer port:p5-xml-parser
23
24set modules {Gnome GdkImlib}
25
26post-build {
27        global modules
28        foreach module $modules {
29                system "cd ${worksrcpath}/$module && ${perl5.bin} Makefile.PL INSTALLDIRS=vendor"
30        }
31}
32
33destroot {
34        global modules
35        foreach module $modules {
36                system "cd ${worksrcpath}/$module && make install DESTDIR=${destroot}"
37        }
38}
39
40destroot.dir            ${worksrcpath}/Gnome
Note: See TracBrowser for help on using the repository browser.