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

Last change on this file since 20299 was 20299, checked in by blair@…, 14 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: 2.0 KB
Line 
1# $Id: Portfile 20299 2006-11-01 19:12:34Z blair@macports.org $
2PortSystem 1.0
3name            control-center
4version         2.16.1
5revision        0
6description     Control center for GNOME 2.0 project.
7long_description        ${description}
8maintainers     macports-dev@lists.macosforge.org rhwood@macports.org
9categories      gnome
10platforms       darwin
11homepage        http://www.gnome.org/
12master_sites    gnome:sources/control-center/2.16/
13checksums       rmd160 13924bd1f0f3bd7c223a63e2479237a6c67b4c53
14depends_lib     lib:nautilus:nautilus port:desktop-file-utils \
15                        lib:xklavier:libxklavier port:gnome-panel \
16                        port:metacity port:gst-plugins-base \
17                        port:evolution-data-server \
18                        port:vte
19depends_build   port:gnome-doc-utils
20use_bzip2       yes
21configure.args  \
22                --mandir=${prefix}/share/man \
23                --disable-hal \
24                --disable-scrollkeeper
25configure.env   CPPFLAGS="-L${prefix}/lib -I${prefix}/include"  \
26                CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress -DDBUS_API_SUBJECT_TO_CHANGE"
27post-patch {
28        reinplace "s|g_strdup (\"/usr|g_strdup (\"${prefix}/share:/usr|g" \
29        ${worksrcpath}/capplets/background/gnome-wp-xml.c
30
31        reinplace  "s|/usr/share|${prefix}/share|g" \
32        ${worksrcpath}/capplets/common/gnome-theme-info.c \
33        ${worksrcpath}/libwindow-settings/metacity-window-manager.c
34
35        reinplace "s|-Werror||g" ${worksrcpath}/libgswitchit/Makefile.in
36}
37
38
39post-install    {
40                system " \
41                export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`&&\
42                gconftool-2 --makefile-install-rule \
43                        ${prefix}/etc/gconf/schemas/*.schemas &&\
44                 gconftool-2 --direct --config-source=\$GCONF_CONFIG_SOURCE \
45                        --recursive-unset /schemas/apps/panel &&\
46                gconftool-2 --direct --config-source \
47                        xml:readwrite:${prefix}/etc/gconf/gconf.xml.defaults \
48                        --load ${prefix}/etc/gconf/schemas/panel-default-setup.entries "
49                system "scrollkeeper-update"
50}
51
52platform darwin {
53        post-destroot {
54                system "cd ${destroot}${prefix}/lib/window-manager-settings/ && \
55                ln -s libmetacity.dylib libmetacity.so"
56
57                system "cd ${destroot}${prefix}/lib && \
58                        ln -s libgnome-window-settings.1.0.0.dylib libgnome-window-settings.1.0.0.so"
59        }
60}
Note: See TracBrowser for help on using the repository browser.