Ticket #56138: Portfile-py-pdfrw.diff
File Portfile-py-pdfrw.diff, 2.2 KB (added by numeratus, 7 years ago) |
---|
-
Portfile
old new 1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 2 2 3 3 PortSystem 1.0 4 PortGroup github 1.0 4 5 PortGroup python 1.0 5 6 6 7 name py-pdfrw 7 version 0.1 8 9 github.setup pmaupin pdfrw v0.4 10 8 11 categories-append graphics 12 9 13 platforms darwin 10 supported_archs noarch11 14 license MIT 12 maintainers nomaintainer 15 maintainers {guenael.com:macports @numeratus} \ 16 openmaintainer 17 18 python.versions 26 27 33 34 35 36 13 19 14 20 description Pure Python PDF file reader/writer library 15 21 long_description pdfrw lets you read and write PDF files, including \ … … 17 23 watermarking, or to copy an image or diagram from \ 18 24 one PDF to another), and can output by itself, or \ 19 25 in conjunction with reportlab. 20 homepage https://code.google.com/p/pdfrw21 26 22 master_sites googlecode:pdfrw 23 distname pdfrw_${version} 24 checksums rmd160 108ebcbc7c422b663aa917306a6c6bd3f066f679 \ 25 sha256 4dbb4017b179f1ecee947501d178a90e1ff0aaf6444ef24b5a630ee68e884919 26 27 python.versions 27 28 29 if {${name} ne ${subport}} { 30 # Set this conditionally, or the stub port picks up an unnecessary 31 # extract dependency. 32 use_zip yes 33 34 post-destroot { 35 xinstall -m 755 -d \ 36 ${destroot}${prefix}/share/doc/${subport} \ 37 ${destroot}${prefix}/share/examples 38 xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.txt \ 39 ${destroot}${prefix}/share/doc/${subport} 40 copy ${worksrcpath}/examples \ 41 ${destroot}${prefix}/share/examples/${subport} 42 } 27 homepage https://github.com/pmaupin/pdfrw 28 29 checksums rmd160 cd7d040e33848bec36110a81fa75df44e85ef379 \ 30 sha256 0d613f9b619db532aa82fc977764d938d3916c664545e93cc5b4d0f372852690 43 31 44 livecheck.type none45 }