source: trunk/dports/gnome/control-center/Portfile @ 14650

Last change on this file since 14650 was 14650, checked in by rhwood, 14 years ago

Update control-center to version 2.12.1
This update addresses bug 5131.

  • Property svn:eol-style set to native
File size: 1.8 KB
Line 
1# $Id: Portfile,v 1.13 2005/10/15 14:08:11 rhwood Exp $
2PortSystem 1.0
3name            control-center
4version         2.12.1
5description     Control center for GNOME 2.0 project.
6long_description        ${description}
7maintainers     gnome-darwinports@opendarwin.org rhwood@opendarwin.org
8categories      gnome
9platforms       darwin
10homepage        http://www.gnome.org/
11master_sites    gnome:sources/control-center/2.12/
12checksums       rmd160 297369394c20b453aea1345d389a731328f8c611
13depends_lib     lib:nautilus:nautilus port:desktop-file-utils
14use_bzip2       yes
15configure.args  --mandir=${prefix}/share/man
16configure.env   CPPFLAGS="-L${prefix}/lib -I${prefix}/include"  \
17                CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress"
18post-patch {
19        reinplace "s|g_strdup (\"/usr|g_strdup (\"${prefix}/share:/usr|g" \
20        ${worksrcpath}/capplets/background/gnome-wp-xml.c
21
22        reinplace  "s|/usr/share|${prefix}/share|g" \
23        ${worksrcpath}/capplets/common/gnome-theme-info.c \
24        ${worksrcpath}/libwindow-settings/metacity-window-manager.c
25
26        reinplace "s|-Werror||g" ${worksrcpath}/libgswitchit/Makefile.in
27}
28
29
30post-install    {
31                system " \
32                export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`&&\
33                gconftool-2 --makefile-install-rule \
34                        ${prefix}/etc/gconf/schemas/*.schemas &&\
35                 gconftool-2 --direct --config-source=\$GCONF_CONFIG_SOURCE \
36                        --recursive-unset /schemas/apps/panel &&\
37                gconftool-2 --direct --config-source \
38                        xml:readwrite:${prefix}/etc/gconf/gconf.xml.defaults \
39                        --load ${prefix}/etc/gconf/schemas/panel-default-setup.entries "
40}
41
42platform darwin {
43        post-destroot {
44                system "cd ${destroot}${prefix}/lib/window-manager-settings/ && \
45                ln -s libmetacity.dylib libmetacity.so"
46
47                system "cd ${destroot}${prefix}/lib && \
48                        ln -s libgnome-window-settings.1.0.0.dylib libgnome-window-settings.1.0.0.so"
49        }
50}
Note: See TracBrowser for help on using the repository browser.