Ticket #43589: Portfile

File Portfile, 1.5 KB (added by order@…, 10 years ago)

Corrected portfile

Line 
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
4PortSystem      1.0
5
6name            libgnome
7version         2.32.1
8set branch      [join [lrange [split ${version} .] 0 1] .]
9maintainers     nomaintainer
10categories      gnome
11platforms       darwin
12license         LGPL-2+
13description     This is the non-gui part of the library formerly known as gnome-libs.
14
15long_description \
16    ${description}
17
18homepage        http://www.gnome.org/
19master_sites    gnome:sources/${name}/${branch}/
20use_bzip2       yes
21
22checksums       sha256  b2c63916866485793b87398266dd7778548c1734923c272a94d84ee011b6f7a4 \
23                rmd160  e425910756737363ef910e9d2d5cd3820d009441
24
25depends_build   port:pkgconfig \
26                port:intltool \
27                port:gtk-doc
28
29depends_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
38pre-configure {
39    copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4
40}
41
42use_autoreconf      yes
43autoreconf.args     -fvi
44
45configure.args  --disable-schemas-install
46
47post-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
53patchfiles     patch-libgnome-Makefile.in.diff patch-libgnome-Makefile.am.diff
54
55livecheck.type  gnome