Portfile

# $Id: Portfile 22888 2007-03-17 23:02:02Z rhwood@macports.org $
PortSystem 1.0
name nautilus
version 2.18.0.1
description The GNOME filemanager
long_description Nautilus is the official file manager for the \
GNOME desktop. It is designed to be primarly a file manager, \
but there are support for web and file viewing too.
maintainers rhwood@macports.org openmaintainer@macports.org
categories gnome
platforms darwin
homepage http://www.gnome.org/
master_sites gnome:sources/nautilus/2.18/
checksums md5 a4e98623e326c5daa201564eed218594 \
sha1 2cf2f3b221e11084549e4aab1317d80d2a7a2be4 \
rmd160 954e6b7a707179b2d082f35dd3943671dc0627ba

depends_lib lib:libeel-2:eel lib:libexif.12:libexif port:librsvg \
port:dbus \
port:dbus-glib
depends_build bin:update-mime-database:shared-mime-info
use_bzip2 yes

configure.args --mandir=${prefix}/share/man \
--disable-update-mimedb
configure.env CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \

post-extract {
reinplace "s|-no-undefined||g" \
${worksrcpath}/libnautilus-private/Makefile.in \
${worksrcpath}/libnautilus-extension/Makefile.in
}

post-activate {
system "update-mime-database ${prefix}/share/mime"
}

platform darwin 8 {
pre-configure {
reinplace "s|-flat_namespace -undefined suppress||g" \
${worksrcpath}/configure
}
}

files