Changeset 83340
- Timestamp:
- 08/29/11 19:57:54 (4 years ago)
- File:
-
- 1 edited
-
trunk/dports/graphics/librsvg/Portfile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/graphics/librsvg/Portfile
r78097 r83340 7 7 name librsvg 8 8 version 2.34.0 9 revision 09 revision 1 10 10 license GPL-2 LGPL-2 11 11 set branch [join [lrange [split ${version} .] 0 1] .] 12 12 categories graphics gnome 13 13 platforms darwin 14 maintainers nomaintainer14 maintainers pixilla openmaintainer 15 15 description Gnome implementation of rsvg. 16 16 … … 55 55 lib/libxml2.dylib 56 56 57 set buildpath ${worksrcpath}/macports 58 post-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 57 70 post-destroot { 58 71 set python.branch ${pyversion} … … 65 78 xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING COPYING.LIB NEWS README \ 66 79 ${destroot}${docdir} 80 xinstall -m 755 -W ${buildpath} svg2pdf \ 81 ${destroot}${prefix}/sbin 67 82 } 68 83
Note: See TracChangeset
for help on using the changeset viewer.

