# -*- 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 # $Id: Portfile 43911 2008-12-17 06:49:31Z jeremyhu@macports.org $ PortSystem 1.0 name gnome-terminal version 2.24.2 set branch [join [lrange [split ${version} .] 0 1] .] description Terminal component for the GNOME 2 Desktop long_description Terminal component for the GNOME 2 Desktop maintainers nomaintainer categories gnome platforms darwin homepage http://www.gnome.org/ master_sites gnome:sources/${name}/${branch}/ checksums md5 c864ee43335db306e344df41e0090d4f \ sha1 f6900ee932fd7c3b86a11a598a0a7381fd2fd839 \ rmd160 c496f736b012b3324e8168a7fa5356ca6223ef8d depends_lib \ port:dbus \ port:dbus-glib \ port:gnome-doc-utils \ port:gnome-platform-suite \ path:bin/perl:perl5 \ port:popt \ port:rarian \ port:startup-notification \ port:vte use_bzip2 yes configure.args \ --mandir=${prefix}/share/man \ --disable-scrollkeeper set storagedir ${prefix}/etc/macports/gconf set storagefile $storagedir/${name} post-destroot { # schema installation procedure from #14729 (pending gnome portgroup) # Find all .schemas file in the destroot fs-traverse schema ${destroot}${prefix}/etc/gconf/schemas { if { [ file isfile $schema ] } { lappend schemafiles $schema } } # And put them in etc/macports/gconf/$name if { [ llength $schemafiles ] > 0 } { file mkdir ${destroot}${storagedir} set fh [open ${destroot}${storagefile} w] foreach file $schemafiles { puts $fh [exec basename $file] } close $fh } } post-activate { system "${prefix}/bin/scrollkeeper-update" system "${prefix}/bin/update-desktop-database -q ${prefix}/share/applications; true" if { [file exists ${storagefile} ] } { set fh [open ${storagefile} r] while { ! [eof $fh] } { lappend schemafiles [gets $fh] } close $fh } set schemastring [join $schemafiles " "] system "cd ${prefix}/etc/gconf/schemas && \ GCONF_CONFIG_SOURCE=`${prefix}/bin/gconftool-2 --get-default-source` ${prefix}/bin/gconftool-2 --makefile-install-rule $schemastring" } livecheck.check regex livecheck.url http://ftp.gnome.org/pub/sources/${name}/${branch}/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}