[64709] trunk/dports/graphics

ryandesign at macports.org ryandesign at macports.org
Mon Mar 15 03:19:01 PDT 2010


Revision: 64709
          http://trac.macports.org/changeset/64709
Author:   ryandesign at macports.org
Date:     2010-03-15 03:18:58 -0700 (Mon, 15 Mar 2010)
Log Message:
-----------
graphviz ports: use archcheck portgroup

Modified Paths:
--------------
    trunk/dports/graphics/graphviz/Portfile
    trunk/dports/graphics/graphviz-devel/Portfile
    trunk/dports/graphics/graphviz-gui/Portfile
    trunk/dports/graphics/graphviz-gui-devel/Portfile

Modified: trunk/dports/graphics/graphviz/Portfile
===================================================================
--- trunk/dports/graphics/graphviz/Portfile	2010-03-15 07:54:21 UTC (rev 64708)
+++ trunk/dports/graphics/graphviz/Portfile	2010-03-15 10:18:58 UTC (rev 64709)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem                      1.0
+PortGroup                       archcheck 1.0
 PortGroup                       xcodeversion 1.0
 
 name                            graphviz
@@ -51,6 +52,19 @@
                                 port:zlib \
                                 port:gettext
 
+# Ghostscript is not included here because Graphviz uses the gs executable,
+# not the libgs library.
+archcheck.files                 lib/libXaw.dylib \
+                                lib/libpango-1.0.dylib \
+                                lib/libjpeg.dylib \
+                                lib/libpng.dylib \
+                                lib/libfontconfig.dylib \
+                                lib/libfreetype.dylib \
+                                lib/libexpat.dylib \
+                                lib/libgd.dylib \
+                                lib/libz.dylib \
+                                lib/libintl.dylib
+
 depends_build                   port:pkgconfig
 
 depends_run                     port:urw-fonts
@@ -221,6 +235,10 @@
                                 port:gtkglext \
                                 port:libglade2 \
                                 port:gts
+    archcheck.files-append      bin/gtk-demo \
+                                lib/libgtkglext-x11-1.0.dylib \
+                                lib/libglade-2.0.dylib \
+                                lib/libgts.dylib
 }
 
 variant r description {Include R language bindings} {
@@ -232,36 +250,42 @@
 
 variant rsvg description {enable the rsvg plugin} {
     depends_lib-append          port:librsvg
+    archcheck.files-append      lib/librsvg-2.dylib
     configure.args-delete       --without-rsvg
     configure.args-append       --with-rsvg
 }
 
 variant gdk_pixbuf description {enable the gdk_pixbuf plugin} {
     depends_lib-append          port:gtk2
+    archcheck.files-append      bin/gtk-demo
     configure.args-delete       --without-gdk-pixbuf
     configure.args-append       --with-gdk-pixbuf
 }
 
 variant glitz description {enable the incomplete glitz plugin} {
     depends_lib-append          port:glitz
+    archcheck.files-append      lib/libglitz.dylib
     configure.args-delete       --without-glitz
     configure.args-append       --with-glitz
 }
 
 variant ming description {enable the incomplete ming plugin} {
     depends_lib-append          port:ming
+    archcheck.files-append      lib/libming.dylib
     configure.args-delete       --without-ming
     configure.args-append       --with-ming
 }
 
 variant no_pangocairo description {Remove pangocairo support (no antialiased bitmapped output; no PDF output)} {
     depends_lib-delete          path:lib/pkgconfig/pango.pc:pango
+    archcheck.files-delete      lib/libpango-1.0.dylib
     configure.args-delete       --with-pangocairo
     configure.args-append       --without-pangocairo
 }
 
 variant no_x11 requires no_pangocairo {
     depends_lib-delete          port:xorg-libXaw
+    archcheck.files-delete      lib/libXaw.dylib
     configure.args-append       --without-x
 }
 

Modified: trunk/dports/graphics/graphviz-devel/Portfile
===================================================================
--- trunk/dports/graphics/graphviz-devel/Portfile	2010-03-15 07:54:21 UTC (rev 64708)
+++ trunk/dports/graphics/graphviz-devel/Portfile	2010-03-15 10:18:58 UTC (rev 64709)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem                      1.0
+PortGroup                       archcheck 1.0
 PortGroup                       xcodeversion 1.0
 
 name                            graphviz-devel
@@ -51,6 +52,19 @@
                                 port:zlib \
                                 port:gettext
 
+# Ghostscript is not included here because Graphviz uses the gs executable,
+# not the libgs library.
+archcheck.files                 lib/libXaw.dylib \
+                                lib/libpango-1.0.dylib \
+                                lib/libjpeg.dylib \
+                                lib/libpng.dylib \
+                                lib/libfontconfig.dylib \
+                                lib/libfreetype.dylib \
+                                lib/libexpat.dylib \
+                                lib/libgd.dylib \
+                                lib/libz.dylib \
+                                lib/libintl.dylib
+
 depends_build                   port:pkgconfig
 
 depends_run                     port:urw-fonts
@@ -221,6 +235,10 @@
                                 port:gtkglext \
                                 port:libglade2 \
                                 port:gts
+    archcheck.files-append      bin/gtk-demo \
+                                lib/libgtkglext-x11-1.0.dylib \
+                                lib/libglade-2.0.dylib \
+                                lib/libgts.dylib
 }
 
 variant r description {Include R language bindings} {
@@ -232,36 +250,42 @@
 
 variant rsvg description {enable the rsvg plugin} {
     depends_lib-append          port:librsvg
+    archcheck.files-append      lib/librsvg-2.dylib
     configure.args-delete       --without-rsvg
     configure.args-append       --with-rsvg
 }
 
 variant gdk_pixbuf description {enable the gdk_pixbuf plugin} {
     depends_lib-append          port:gtk2
+    archcheck.files-append      bin/gtk-demo
     configure.args-delete       --without-gdk-pixbuf
     configure.args-append       --with-gdk-pixbuf
 }
 
 variant glitz description {enable the incomplete glitz plugin} {
     depends_lib-append          port:glitz
+    archcheck.files-append      lib/libglitz.dylib
     configure.args-delete       --without-glitz
     configure.args-append       --with-glitz
 }
 
 variant ming description {enable the incomplete ming plugin} {
     depends_lib-append          port:ming
+    archcheck.files-append      lib/libming.dylib
     configure.args-delete       --without-ming
     configure.args-append       --with-ming
 }
 
 variant no_pangocairo description {Remove pangocairo support (no antialiased bitmapped output; no PDF output)} {
     depends_lib-delete          path:lib/pkgconfig/pango.pc:pango
+    archcheck.files-delete      lib/libpango-1.0.dylib
     configure.args-delete       --with-pangocairo
     configure.args-append       --without-pangocairo
 }
 
 variant no_x11 requires no_pangocairo {
     depends_lib-delete          port:xorg-libXaw
+    archcheck.files-delete      lib/libXaw.dylib
     configure.args-append       --without-x
 }
 

Modified: trunk/dports/graphics/graphviz-gui/Portfile
===================================================================
--- trunk/dports/graphics/graphviz-gui/Portfile	2010-03-15 07:54:21 UTC (rev 64708)
+++ trunk/dports/graphics/graphviz-gui/Portfile	2010-03-15 10:18:58 UTC (rev 64709)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem                      1.0
+PortGroup                       archcheck 1.0
 PortGroup                       xcode 1.0
 PortGroup                       xcodeversion 1.0
 
@@ -30,6 +31,8 @@
 
 depends_lib                     port:graphviz
 
+archcheck.files                 lib/libgvc.dylib
+
 pre-fetch {
     if {"darwin" != ${os.platform}} {
         ui_error "${name} requires Mac OS X."

Modified: trunk/dports/graphics/graphviz-gui-devel/Portfile
===================================================================
--- trunk/dports/graphics/graphviz-gui-devel/Portfile	2010-03-15 07:54:21 UTC (rev 64708)
+++ trunk/dports/graphics/graphviz-gui-devel/Portfile	2010-03-15 10:18:58 UTC (rev 64709)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem                      1.0
+PortGroup                       archcheck 1.0
 PortGroup                       xcode 1.0
 PortGroup                       xcodeversion 1.0
 
@@ -30,6 +31,8 @@
 
 depends_lib                     port:graphviz-devel
 
+archcheck.files                 lib/libgvc.dylib
+
 pre-fetch {
     if {"darwin" != ${os.platform}} {
         ui_error "${name} requires Mac OS X."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100315/ef1f511b/attachment.html>


More information about the macports-changes mailing list