source: users/devans/GNOME_2_27/gnome/gnome-utils/Portfile @ 54197

Last change on this file since 54197 was 54197, checked in by devans@…, 10 years ago

GNOME_2_27/gnome/gnome-utils: update to version 2.27.2, update dependencies, configuration, update/install gconf schemas post-activate.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 54197 2009-07-22 23:43:07Z devans@macports.org $
3
4PortSystem 1.0
5
6name            gnome-utils
7version         2.27.2
8set branch      [join [lrange [split ${version} .] 0 1] .]
9description     GNOME utilities
10long_description Utilities for the GNOME 2.0 desktop.
11maintainers     devans openmaintainer
12categories      gnome
13platforms       darwin
14homepage        http://www.gnome.org/
15master_sites    gnome:sources/${name}/${branch}/
16
17checksums       md5     b7ee7d23f2713334c68ebf5121186219 \
18                sha1    14a227c7d4d3c58eba2ddce1892c150699c1cdab \
19                rmd160  d20f296a316547772271efc14855e2d0798791b5
20
21depends_lib     port:gconf \
22                port:libgtop \
23                port:gnome-panel
24
25use_bzip2       yes
26
27configure.args  --mandir=${prefix}/share/man \
28                --x-includes=${prefix}/include \
29                --x-libraries=${prefix}/lib \
30                --disable-shave \
31                --enable-maintainer-flags=no \
32                --disable-schemas-install \
33                --disable-scrollkeeper
34
35post-extract {
36        reinplace "s|-export-dynamic||g" ${worksrcpath}/gnome-screenshot/Makefile.in
37}
38
39post-activate   {
40        system "scrollkeeper-update"
41        system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
42            gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
43}
44
45platform darwin 7 {
46        depends_lib-append lib:libgnuregex:gnuregex
47        post-patch {
48                reinplace "s|gnuregex.h|regex.h|g" ${worksrcpath}/gsearchtool/gsearchtool-support.c
49        }
50}
51
52livecheck.check regex
53livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
54livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.