New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 80878


Ignore:
Timestamp:
07/19/11 18:13:51 (4 years ago)
Author:
ryandesign@…
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
Location:
trunk/dports/graphics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/graphviz-devel/Portfile

    r80872 r80878  
    1212set my_name                     graphviz 
    1313version                         2.29.20110717.0445 
     14revision                        1 
    1415categories                      graphics 
    1516maintainers                     ryandesign 
     
    4647                                port:jpeg \ 
    4748                                port:libpng \ 
     49                                port:libLASi \ 
    4850                                port:fontconfig \ 
    4951                                port:freetype \ 
     
    5961                                lib/libjpeg.dylib \ 
    6062                                lib/libpng.dylib \ 
     63                                lib/libLASi.dylib \ 
    6164                                lib/libfontconfig.dylib \ 
    6265                                lib/libfreetype.dylib \ 
     
    293296 
    294297post-destroot { 
     298    set files "${prefix}/share/graphviz/doc/pdf/gvedit.1.pdf ${prefix}/share/man/man1/gvedit.1" 
     299    if {![variant_isset smyrna]} { 
     300        set files "${files} ${prefix}/share/graphviz/doc/pdf/smyrna.1.pdf ${prefix}/share/graphviz/doc/pdf/smyrna.pdf ${prefix}/share/man/man1/smyrna.1" 
     301    } 
     302    foreach f ${files} { 
     303        delete ${destroot}${f} 
     304    } 
     305     
    295306    # Make the configuration file that makes the plugins work. 
    296307    system "GVBINDIR=${destroot}${prefix}/lib/graphviz DYLD_LIBRARY_PATH=${destroot}${prefix}/lib ${destroot}${prefix}/bin/dot -c" 
  • trunk/dports/graphics/graphviz/Portfile

    r80872 r80878  
    1212set my_name                     graphviz 
    1313version                         2.28.0 
     14revision                        1 
    1415categories                      graphics 
    1516maintainers                     ryandesign 
     
    4647                                port:jpeg \ 
    4748                                port:libpng \ 
     49                                port:libLASi \ 
    4850                                port:fontconfig \ 
    4951                                port:freetype \ 
     
    5961                                lib/libjpeg.dylib \ 
    6062                                lib/libpng.dylib \ 
     63                                lib/libLASi.dylib \ 
    6164                                lib/libfontconfig.dylib \ 
    6265                                lib/libfreetype.dylib \ 
     
    298301 
    299302post-destroot { 
     303    set files "${prefix}/share/graphviz/doc/pdf/gvedit.1.pdf ${prefix}/share/man/man1/gvedit.1" 
     304    if {![variant_isset smyrna]} { 
     305        set files "${files} ${prefix}/share/graphviz/doc/pdf/smyrna.1.pdf ${prefix}/share/graphviz/doc/pdf/smyrna.pdf ${prefix}/share/man/man1/smyrna.1" 
     306    } 
     307    foreach f ${files} { 
     308        delete ${destroot}${f} 
     309    } 
     310     
    300311    # Make the configuration file that makes the plugins work. 
    301312    system "GVBINDIR=${destroot}${prefix}/lib/graphviz DYLD_LIBRARY_PATH=${destroot}${prefix}/lib ${destroot}${prefix}/bin/dot -c" 
Note: See TracChangeset for help on using the changeset viewer.