New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 83340


Ignore:
Timestamp:
08/29/11 19:57:54 (4 years ago)
Author:
pixilla@…
Message:

graphics/librsvg:

  • Claim maintainer.
  • Add svg2pdf script.
  • See #27887.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/librsvg/Portfile

    r78097 r83340  
    77name            librsvg 
    88version         2.34.0 
    9 revision        0 
     9revision        1 
    1010license         GPL-2 LGPL-2 
    1111set branch      [join [lrange [split ${version} .] 0 1] .] 
    1212categories      graphics gnome 
    1313platforms       darwin 
    14 maintainers     nomaintainer 
     14maintainers     pixilla openmaintainer 
    1515description     Gnome implementation of rsvg. 
    1616 
     
    5555    lib/libxml2.dylib 
    5656 
     57set buildpath   ${worksrcpath}/macports 
     58post-build { 
     59    xinstall -d ${buildpath} 
     60    set fp [open ${buildpath}/svg2pdf w] 
     61    puts $fp "#!/bin/sh" 
     62    puts $fp "if [ $# -lt 2 -o \"$1\" = \"-h\" -o \"$1\" = \"--help\" ] ; then" 
     63    puts $fp "  echo \"FAIL: usage: $0 input_file.svg output_file.pdf\"" 
     64    puts $fp "  exit 255;" 
     65    puts $fp "fi" 
     66    puts $fp "rsvg-convert -f pdf -o \"$2\" \"$1\"" 
     67    close $fp 
     68} 
     69 
    5770post-destroot { 
    5871    set python.branch ${pyversion} 
     
    6578    xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING COPYING.LIB NEWS README \ 
    6679        ${destroot}${docdir} 
     80    xinstall -m 755 -W ${buildpath} svg2pdf \ 
     81        ${destroot}${prefix}/sbin 
    6782} 
    6883 
Note: See TracChangeset for help on using the changeset viewer.