source: trunk/dports/gnome/gconf/Portfile

Last change on this file was 134962, checked in by devans@…, 2 years ago

intltool dependents already updated for intltool 0.51: change 'reconfigure with autogen.sh' to 'reconfigure with upstream autogen.sh' in comment.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
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 134962 2015-04-12 08:20:29Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       muniversal 1.0
6PortGroup       active_variants 1.1
7PortGroup       gobject_introspection 1.0
8
9name            gconf
10set my_name     GConf
11epoch           1
12version         3.2.6
13set branch      [join [lrange [split ${version} .] 0 1] .]
14maintainers     nomaintainer
15categories      gnome
16platforms       darwin
17license         GPL-2+
18description     GConf is a configuration database system.
19
20long_description \
21                GConf is a configuration database system, \
22                functionally similar to the Windows registry \
23                but lots better. :-) It's written for \
24                the GNOME desktop but does not require GNOME.
25
26homepage        http://www.gnome.org/projects/gconf/
27master_sites    gnome:sources/${my_name}/${branch}/
28distname        ${my_name}-${version}
29
30use_xz          yes
31
32checksums       rmd160  63c382672abfcee51440ff1e1524020e82fc304c \
33                sha256  1912b91803ab09a5eed34d364bf09fe3a2a9c96751fde03a4e0cfa51a04d784c
34
35depends_build   port:pkgconfig \
36                port:gtk-doc \
37                port:intltool \
38                port:gnome-common \
39                port:autoconf \
40                port:automake \
41                port:libtool
42
43depends_lib     port:gtk3 \
44                port:libxml2 \
45                port:dbus-glib \
46                port:policykit \
47                port:orbit2
48
49gobject_introspection yes
50
51configure.args  --with-gtk=3.0 \
52                --without-openldap \
53                --enable-gsettings-backend
54
55# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
56
57post-patch {
58    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
59}
60
61configure.cmd   ./autogen.sh
62
63destroot.keepdirs \
64    ${destroot}${prefix}/etc/gconf/gconf.xml.mandatory \
65    ${destroot}${prefix}/etc/gconf/gconf.xml.defaults
66
67variant openldap description {Enable support for openldap} {
68               depends_lib-append port:openldap
69               configure.args-delete --without-openldap
70}
71
72variant quartz conflicts x11 {}
73variant x11 conflicts quartz {}
74
75if {![variant_isset quartz]} {
76        require_active_variants gtk3 x11 quartz
77        default_variants +x11
78} else {
79        require_active_variants gtk3 quartz x11
80}
81
82post-activate {
83    system "${prefix}/bin/gio-querymodules ${prefix}/lib/gio/modules"
84}
85
86livecheck.type  gnome
87livecheck.name  ${my_name}
Note: See TracBrowser for help on using the repository browser.