source: trunk/dports/textproc/pdftk/Portfile @ 10224

Last change on this file since 10224 was 10224, checked in by blb, 15 years ago

Port: pdftk
Version: 1.12

Update port textproc/pdftk
Version bump to 1.12

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1# $Id: Portfile,v 1.3 2005/01/05 03:53:30 blb Exp $
2
3PortSystem                      1.0
4name                            pdftk
5version                         1.12
6categories                      textproc graphics pdf
7maintainers                     blb@pobox.com
8description                     pdftk - PDF Toolkit, for various operations on PDF files
9long_description \
10        pdftk is a simple tool for doing everyday things with PDF documents: \
11        Merge PDF Documents \
12        Split PDF Pages into a New Document \
13        Decrypt Input as Necessary (Password Required) \
14        Encrypt Output as Desired \
15        Fill PDF Forms with FDF Data and/or Flatten Forms \
16        Apply a Background Watermark \
17        Report on PDF Metrics such as Metadata, Bookmarks, and Page Labels \
18        Update PDF Metadata \
19        Attach Files to PDF Pages or the PDF Document \
20        Unpack PDF Attachments \
21        Burst a PDF Document into Single Pages \
22        Uncompress and Re-Compress Page Streams \
23        Repair Corrupted PDF (Where Possible)
24
25platforms                       darwin
26
27homepage                        http://www.pdfhacks.com/pdftk/
28master_sites            ${homepage}
29use_bzip2                       yes
30
31checksums                       md5 ec1b6d9e06109c6f05e19033f1d91d8a \
32                                        sha1 caab4ae9ede56b12b007e9b5c9a78c6a4873dc44
33
34depends_lib                     bin:gcj:gcj34
35
36worksrcdir                      ${distname}/${name}
37
38use_configure           no
39
40# Use glob's -nocomplain so portindex succeeds on systems without gcj34
41build.args                      -f Makefile.MacOSX \
42                                        TOOLPATH=[glob -nocomplain ${prefix}/gcj34-*]/bin/
43
44destroot {
45        xinstall -m 755 -d ${destroot}/${prefix}/share/doc/${name}
46        xinstall -m 755 -W ${worksrcpath} pdftk ${destroot}/${prefix}/bin
47        xinstall -m 644 -W ${worksrcpath}/.. pdftk.1.html pdftk.1.txt \
48                ${destroot}/${prefix}/share/doc/${name}
49        xinstall -m 644 -W ${worksrcpath}/../debian pdftk.1 \
50                ${destroot}/${prefix}/share/man/man1
51}
52
Note: See TracBrowser for help on using the repository browser.