[29425] trunk/dports/gnome/libgnomecanvas/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sun Sep 23 06:23:38 PDT 2007


Revision: 29425
          http://trac.macosforge.org/projects/macports/changeset/29425
Author:   nox at macports.org
Date:     2007-09-23 06:23:38 -0700 (Sun, 23 Sep 2007)

Log Message:
-----------
libgnomecanvas:
 * Fixed dependencies (specially it depends on gail).
 * Added test support.
 * Added sha1 and rmd160 checksums.

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

Modified: trunk/dports/gnome/libgnomecanvas/Portfile
===================================================================
--- trunk/dports/gnome/libgnomecanvas/Portfile	2007-09-23 13:21:20 UTC (rev 29424)
+++ trunk/dports/gnome/libgnomecanvas/Portfile	2007-09-23 13:23:38 UTC (rev 29425)
@@ -2,6 +2,7 @@
 PortSystem 1.0
 name		libgnomecanvas
 version		2.20.0
+revision    1
 description	A graphics library for GNOME.
 long_description        The GNOMECanvas library provides a number \
 			of features: \
@@ -15,13 +16,42 @@
 homepage	http://www.gnome.org/
 master_sites    gnome:sources/${name}/[strsed ${version} {/\.[0-9]*$//}]/
 
-checksums	rmd160 4f79faa08220dcb788def836b9a1831d02bdf8f0
+checksums       md5 109b71b02e0c976d65b46129d0ad69d1 \
+                sha1 1afd7ef7636373f60d6ac7c7eec9cd6fd8ec0326 \
+                rmd160 4f79faa08220dcb788def836b9a1831d02bdf8f0
 
+depends_build   port:pkgconfig \
+                port:perl5.8 \
+                port:p5-xml-parser \
+                port:intltool
+
 depends_lib \
+    port:glib2 \
+    port:gtk2 \
+    port:gail \
+    port:pango \
+    port:gettext \
+    port:libiconv \
 	port:libart_lgpl \
 	port:libglade2
 
 use_bzip2 	yes
 
-configure.args  --mandir=${prefix}/share/man
 configure.cppflags-append "-L${prefix}/lib"
+
+test.run        yes
+test.target     check
+
+pre-test {
+    set libdirs {}
+    fs-traverse {dir} ${worksrcpath} {
+        if {[file tail ${dir}] == ".libs" && [file isdirectory ${dir}]} {
+            lappend libdirs ${dir}
+
+            continue
+        }
+    }
+
+    test.env    DYLD_LIBRARY_PATH=[join ${libdirs} :]
+}
+

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070923/e31e27d3/attachment.html


More information about the macports-changes mailing list