[50392] trunk/dports/gnome/evince/Portfile

devans at macports.org devans at macports.org
Wed Apr 29 20:47:43 PDT 2009


Revision: 50392
          http://trac.macports.org/changeset/50392
Author:   devans at macports.org
Date:     2009-04-29 20:47:42 -0700 (Wed, 29 Apr 2009)
Log Message:
-----------
evince: update to version 2.26.1, take maintainership openmaintainer, fix djvu variant and livecheck, update and simplify dependencies.

Modified Paths:
--------------
    trunk/dports/gnome/evince/Portfile

Modified: trunk/dports/gnome/evince/Portfile
===================================================================
--- trunk/dports/gnome/evince/Portfile	2009-04-30 02:53:03 UTC (rev 50391)
+++ trunk/dports/gnome/evince/Portfile	2009-04-30 03:47:42 UTC (rev 50392)
@@ -1,3 +1,4 @@
+# -*- 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
@@ -3,74 +4,61 @@
 
 name		evince
-version		2.24.2
-set branch  [join [lrange [split ${version} .] 0 1] .]
+version		2.26.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	nomaintainer
+maintainers	devans openmaintainer
 categories	gnome print
 platforms	darwin
 homepage	http://www.gnome.org/
-master_sites    gnome:sources/evince/${branch}/
+master_sites    gnome:sources/${name}/${branch}/
 use_bzip2	yes
-checksums	md5     f0f9e06a93516b238ee24ac38d68b57c \
-		sha1    918f8ec07c393cad4fea1c3315cd26ed384d65eb \
-		rmd160  d038ac41e2d956011e294344e442317719149fb3
-depends_lib	\
-    port:atk \
-    port:audiofile \
-    port:cairo \
-    port:dbus \
-    port:dbus-glib \
-    port:esound \
-    port:expat \
-    port:fontconfig \
-    port:freetype \
-    port:gconf \
-    port:gettext \
-    path:lib/pkgconfig/glib-2.0.pc:glib2 \
-    port:gnome-keyring \
-    port:gnome-icon-theme \
-    port:gnome-vfs \
-    port:gtk2 \
-    port:hicolor-icon-theme \
-    port:jpeg \
-    port:libart_lgpl \
-    port:libglade2 \
-    port:libgnome \
-    port:libgnomecanvas \
-    port:libgnomeui \
-    port:libiconv \
-    port:libpng \
-    port:libxml2 \
-    port:libxslt \
-    port:nautilus \
-    port:openssl \
-    path:lib/pkgconfig/pango.pc:pango \
-    port:poppler \
-    port:popt \
-    port:tiff \
-    port:zlib
-depends_build	\
-    port:gnome-doc-utils \
-    port:m4 \
-    path:bin/perl:perl5 \
-    port:pkgconfig \
-    port:rarian
 
-variant djvu description {Builds against port:djvulibre} {
-    depends_lib-append port:djvulibre
-}
+checksums       md5     5508b1f1fc0b4b66de59b7af1e560d8b \
+                sha1    dff4222b39f9bff10fb106f543d6a7268622b2bf \
+                rmd160  27838c3235809305156f570b4f0dfc5bc2eb40eb
 
-configure.args  \
-    --disable-scrollkeeper \
-    --enable-nautilus \
-    --with-print=gtk \
-    --enable-pixbuf \
-    --mandir=${prefix}/share/man
+depends_lib	port:gconf \
+                port:gnome-keyring \
+                port:gnome-icon-theme \
+                port:poppler \
+                port:xorg-libsm \
+                port:nautilus
+
+depends_build	port:gnome-doc-utils \
+                port:m4 \
+                path:bin/perl:perl5 \
+                port:pkgconfig \
+                port:rarian
+
+configure.args  --disable-scrollkeeper \
+                --disable-introspection \
+                --disable-djvu \
+                --disable-t1lib \
+                --disable-ps \
+                --enable-pdf \
+                --enable-tiff \
+                --enable-dvi \
+                --enable-impress \
+                --enable-comics \
+                --enable-nautilus \
+                --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"
 }
+
+livecheck.check regex
+livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090429/5876ca07/attachment.html>


More information about the macports-changes mailing list