1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 118282 2014-03-28 19:56:40Z devans@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name libgnome |
---|
7 | version 2.32.1 |
---|
8 | set branch [join [lrange [split ${version} .] 0 1] .] |
---|
9 | maintainers nomaintainer |
---|
10 | categories gnome |
---|
11 | platforms darwin |
---|
12 | license LGPL-2+ |
---|
13 | description This is the non-gui part of the library formerly known as gnome-libs. |
---|
14 | |
---|
15 | long_description \ |
---|
16 | ${description} |
---|
17 | |
---|
18 | homepage http://www.gnome.org/ |
---|
19 | master_sites gnome:sources/${name}/${branch}/ |
---|
20 | use_bzip2 yes |
---|
21 | |
---|
22 | checksums sha256 b2c63916866485793b87398266dd7778548c1734923c272a94d84ee011b6f7a4 \ |
---|
23 | rmd160 e425910756737363ef910e9d2d5cd3820d009441 |
---|
24 | |
---|
25 | depends_build port:pkgconfig \ |
---|
26 | port:intltool \ |
---|
27 | port:gtk-doc |
---|
28 | |
---|
29 | depends_lib \ |
---|
30 | port:libbonobo \ |
---|
31 | port:libcanberra \ |
---|
32 | port:gnome-vfs \ |
---|
33 | port:libiconv \ |
---|
34 | port:gettext |
---|
35 | |
---|
36 | # update m4/intltool.m4 and autoreconf |
---|
37 | |
---|
38 | pre-configure { |
---|
39 | copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4 |
---|
40 | } |
---|
41 | |
---|
42 | use_autoreconf yes |
---|
43 | autoreconf.args -fvi |
---|
44 | |
---|
45 | configure.args --disable-schemas-install |
---|
46 | |
---|
47 | post-activate { |
---|
48 | system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \ |
---|
49 | gconftool-2 --makefile-install-rule \ |
---|
50 | ${prefix}/etc/gconf/schemas/*.schemas" |
---|
51 | } |
---|
52 | |
---|
53 | patchfiles patch-libgnome-Makefile.in.diff patch-libgnome-Makefile.am.diff |
---|
54 | |
---|
55 | livecheck.type gnome |
---|