[52871] trunk/dports/gnome/gpdf/Portfile

devans at macports.org devans at macports.org
Wed Jun 24 17:20:54 PDT 2009


Revision: 52871
          http://trac.macports.org/changeset/52871
Author:   devans at macports.org
Date:     2009-06-24 17:20:53 -0700 (Wed, 24 Jun 2009)
Log Message:
-----------
gpdf: fix livecheck, lint.

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

Modified: trunk/dports/gnome/gpdf/Portfile
===================================================================
--- trunk/dports/gnome/gpdf/Portfile	2009-06-25 00:14:10 UTC (rev 52870)
+++ trunk/dports/gnome/gpdf/Portfile	2009-06-25 00:20:53 UTC (rev 52871)
@@ -1,14 +1,17 @@
 # $Id$
+
 PortSystem 1.0
+
 name		gpdf
 version		2.10.0
+set branch  [join [lrange [split ${version} .] 0 1] .]
 description	gpdf is a viewer for Portable Document Format (PDF) files.
 long_description   	gpdf is a viewer for Portable Document Format (PDF) files.
 maintainers	nomaintainer
 categories	gnome print
-platforms	darwin 
+platforms	darwin
 homepage	http://www.gnome.org/
-master_sites    gnome:sources/gpdf/2.10/
+master_sites    gnome:sources/${name}/${branch}/
 use_bzip2	yes
 checksums	md5 9278cd3b9d06e3b1d364452f0e512fa9
 depends_lib	bin:gs:ghostscript lib:libgail-gnome:libgail-gnome \
@@ -17,3 +20,7 @@
 configure.cppflags-append "-no-cpp-precomp -L${prefix}/lib"
 configure.cflags-append "-no-cpp-precomp -flat_namespace -undefined suppress"
 configure.ldflags-append "-lexpat -lfontconfig -lXft -lXrender -lfreetype -L/usr/X11R6/lib -lX11 -lXinerama -lXext -lXrandr"
+
+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/20090624/ab698de0/attachment-0001.html>


More information about the macports-changes mailing list