[80878] trunk/dports/graphics

ryandesign at macports.org ryandesign at macports.org
Tue Jul 19 18:13:52 PDT 2011


Revision: 80878
          http://trac.macports.org/changeset/80878
Author:   ryandesign at macports.org
Date:     2011-07-19 18:13:51 -0700 (Tue, 19 Jul 2011)
Log Message:
-----------
graphviz, graphviz-devel:

 * add libLASi dependency since it will get used if found
 * do not install gvedit documentation files as they are provided by the gvedit / gvedit-devel ports
 * do not install smyrna documentation files when the smyrna variant is not selected

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

Modified: trunk/dports/graphics/graphviz/Portfile
===================================================================
--- trunk/dports/graphics/graphviz/Portfile	2011-07-20 00:25:17 UTC (rev 80877)
+++ trunk/dports/graphics/graphviz/Portfile	2011-07-20 01:13:51 UTC (rev 80878)
@@ -11,6 +11,7 @@
 conflicts                       graphviz-devel
 set my_name                     graphviz
 version                         2.28.0
+revision                        1
 categories                      graphics
 maintainers                     ryandesign
 license                         EPL-1.0
@@ -45,6 +46,7 @@
                                 path:lib/pkgconfig/pango.pc:pango \
                                 port:jpeg \
                                 port:libpng \
+                                port:libLASi \
                                 port:fontconfig \
                                 port:freetype \
                                 port:expat \
@@ -58,6 +60,7 @@
                                 lib/libpango-1.0.dylib \
                                 lib/libjpeg.dylib \
                                 lib/libpng.dylib \
+                                lib/libLASi.dylib \
                                 lib/libfontconfig.dylib \
                                 lib/libfreetype.dylib \
                                 lib/libexpat.dylib \
@@ -297,6 +300,14 @@
 }
 
 post-destroot {
+    set files "${prefix}/share/graphviz/doc/pdf/gvedit.1.pdf ${prefix}/share/man/man1/gvedit.1"
+    if {![variant_isset smyrna]} {
+        set files "${files} ${prefix}/share/graphviz/doc/pdf/smyrna.1.pdf ${prefix}/share/graphviz/doc/pdf/smyrna.pdf ${prefix}/share/man/man1/smyrna.1"
+    }
+    foreach f ${files} {
+        delete ${destroot}${f}
+    }
+    
     # Make the configuration file that makes the plugins work.
     system "GVBINDIR=${destroot}${prefix}/lib/graphviz DYLD_LIBRARY_PATH=${destroot}${prefix}/lib ${destroot}${prefix}/bin/dot -c"
 }

Modified: trunk/dports/graphics/graphviz-devel/Portfile
===================================================================
--- trunk/dports/graphics/graphviz-devel/Portfile	2011-07-20 00:25:17 UTC (rev 80877)
+++ trunk/dports/graphics/graphviz-devel/Portfile	2011-07-20 01:13:51 UTC (rev 80878)
@@ -11,6 +11,7 @@
 conflicts                       graphviz
 set my_name                     graphviz
 version                         2.29.20110717.0445
+revision                        1
 categories                      graphics
 maintainers                     ryandesign
 license                         EPL-1.0
@@ -45,6 +46,7 @@
                                 path:lib/pkgconfig/pango.pc:pango \
                                 port:jpeg \
                                 port:libpng \
+                                port:libLASi \
                                 port:fontconfig \
                                 port:freetype \
                                 port:expat \
@@ -58,6 +60,7 @@
                                 lib/libpango-1.0.dylib \
                                 lib/libjpeg.dylib \
                                 lib/libpng.dylib \
+                                lib/libLASi.dylib \
                                 lib/libfontconfig.dylib \
                                 lib/libfreetype.dylib \
                                 lib/libexpat.dylib \
@@ -292,6 +295,14 @@
 }
 
 post-destroot {
+    set files "${prefix}/share/graphviz/doc/pdf/gvedit.1.pdf ${prefix}/share/man/man1/gvedit.1"
+    if {![variant_isset smyrna]} {
+        set files "${files} ${prefix}/share/graphviz/doc/pdf/smyrna.1.pdf ${prefix}/share/graphviz/doc/pdf/smyrna.pdf ${prefix}/share/man/man1/smyrna.1"
+    }
+    foreach f ${files} {
+        delete ${destroot}${f}
+    }
+    
     # Make the configuration file that makes the plugins work.
     system "GVBINDIR=${destroot}${prefix}/lib/graphviz DYLD_LIBRARY_PATH=${destroot}${prefix}/lib ${destroot}${prefix}/bin/dot -c"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110719/dbaf05a3/attachment.html>


More information about the macports-changes mailing list