# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name evince version 2.26.2 revision 1 set branch [join [lrange [split ${version} .] 0 1] .] description Evince is a document viewer for multiple document formats like pdf, and many others. long_description \ ${description} maintainers devans openmaintainer categories gnome print platforms darwin homepage http://projects.gnome.org/evince/ master_sites gnome:sources/${name}/${branch}/ use_bzip2 yes checksums md5 ed8b9fb5c5d6feafd19f0114b736c9ef \ sha1 1a789e078b4c95f3e3387a45092ae2f222135013 \ rmd160 00dd3dfa006dc019f8f951a356d7260283bf8bab depends_lib port:gconf \ port:gnome-keyring \ port:gnome-icon-theme \ port:poppler \ port:t1lib \ port:libspectre \ port:xorg-libsm \ port:nautilus depends_build port:gnome-doc-utils \ port:intltool \ port:p5-xml-parser \ port:pkgconfig configure.args --disable-scrollkeeper \ --disable-schemas-install \ --disable-introspection \ --disable-djvu \ --enable-ps \ --enable-pdf \ --enable-tiff \ --enable-dvi \ --enable-impress \ --enable-comics \ --enable-nautilus \ --enable-t1lib \ --enable-pixbuf \ --mandir=${prefix}/share/man configure.ldflags-append -lstdc++ configure.cflags-append -D__DARWIN_UNIX03=1 variant djvu description {Builds against port:djvulibre} { configure.args-delete --disable-djvu configure.args-append --enable-djvu depends_lib-append port:djvulibre } post-activate { system "${prefix}/bin/scrollkeeper-update" system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor" system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \ gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas" } livecheck.check regex livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}