1 | # JJS 10/7/08 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name pdfjam |
---|
6 | version 1.20 |
---|
7 | categories textproc pdf |
---|
8 | maintainers <nomaintainer> |
---|
9 | platforms darwin |
---|
10 | homepage http://go.warwick.ac.uk/pdfjam |
---|
11 | master_sites ${homepage} |
---|
12 | distname ${name}_${version} |
---|
13 | extract.suffix .tgz |
---|
14 | worksrcdir ${name} |
---|
15 | use_configure no |
---|
16 | |
---|
17 | description A few PDF manipulation tools. |
---|
18 | |
---|
19 | long_description \ |
---|
20 | PDFjam is a small collection of shell scripts which provide a \ |
---|
21 | simple interface to some of the functionality of the excellent \ |
---|
22 | pdfpages package (by Andreas Matthias) for pdfLaTeX. |
---|
23 | |
---|
24 | |
---|
25 | checksums \ |
---|
26 | md5 3e443fd2c0063330313c1c079053e622 |
---|
27 | |
---|
28 | depends_lib \ |
---|
29 | port:texlive |
---|
30 | |
---|
31 | post-extract { |
---|
32 | reinplace "s|/usr/local/etc|${prefix}/etc|" ${worksrcpath}/scripts/pdf90 |
---|
33 | reinplace "s|/usr/local/etc|${prefix}/etc|" ${worksrcpath}/scripts/pdfjoin |
---|
34 | reinplace "s|/usr/local/etc|${prefix}/etc|" ${worksrcpath}/scripts/pdfnup |
---|
35 | reinplace "s|/usr/local/etc|${prefix}/etc|" ${worksrcpath}/man1/pdf90.1 |
---|
36 | reinplace "s|/usr/local/etc|${prefix}/etc|" ${worksrcpath}/man1/pdfjoin.1 |
---|
37 | reinplace "s|/usr/local/etc|${prefix}/etc|" ${worksrcpath}/man1/pdfnup.1 |
---|
38 | reinplace "s|/usr/local/etc|${prefix}/etc|" ${worksrcpath}/PDFjam-README.html |
---|
39 | } |
---|
40 | |
---|
41 | build {} |
---|
42 | |
---|
43 | destroot { |
---|
44 | xinstall -m 755 -d ${destroot}${prefix}/bin |
---|
45 | xinstall -m 755 -W ${worksrcpath}/scripts pdf90 pdfjoin pdfnup \ |
---|
46 | ${destroot}${prefix}/bin |
---|
47 | xinstall -m 755 -d ${destroot}${prefix}/share/man/man1 |
---|
48 | xinstall -m 644 -W ${worksrcpath}/man1 pdf90.1 pdfjoin.1 pdfnup.1 \ |
---|
49 | ${destroot}${prefix}/share/man/man1 |
---|
50 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
---|
51 | xinstall -m 644 -W ${worksrcpath} COPYING PDFjam-README.html VERSION \ |
---|
52 | ${destroot}${prefix}/share/doc/${name} |
---|
53 | } |
---|