source: trunk/dports/python/py-pdfrw/Portfile

Last change on this file was 130659, checked in by larryv@…, 3 years ago

py{25,26}-pdfrw: Replace with py27

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
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# $Id: Portfile 130659 2015-01-02 06:28:06Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-pdfrw
8version             0.1
9categories-append   graphics
10platforms           darwin
11supported_archs     noarch
12license             MIT
13maintainers         nomaintainer
14
15description         Pure Python PDF file reader/writer library
16long_description    pdfrw lets you read and write PDF files, including \
17                    compositing multiple pages together (e.g. to do \
18                    watermarking, or to copy an image or diagram from \
19                    one PDF to another), and can output by itself, or \
20                    in conjunction with reportlab.
21homepage            http://code.google.com/p/pdfrw
22
23master_sites        googlecode:pdfrw
24distname            pdfrw_${version}
25checksums           rmd160  108ebcbc7c422b663aa917306a6c6bd3f066f679 \
26                    sha256  4dbb4017b179f1ecee947501d178a90e1ff0aaf6444ef24b5a630ee68e884919
27
28python.versions     27
29
30if {${name} ne ${subport}} {
31    # Set this conditionally, or the stub port picks up an unnecessary
32    # extract dependency.
33    use_zip         yes
34
35    post-destroot {
36        xinstall -m 755 -d \
37            ${destroot}${prefix}/share/doc/${subport} \
38            ${destroot}${prefix}/share/examples
39        xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.txt \
40            ${destroot}${prefix}/share/doc/${subport}
41        copy ${worksrcpath}/examples \
42            ${destroot}${prefix}/share/examples/${subport}
43    }
44
45    livecheck.type  none
46}
Note: See TracBrowser for help on using the repository browser.