[41209] trunk/dports/textproc

raimue at macports.org raimue at macports.org
Mon Oct 27 18:27:28 PDT 2008


Revision: 41209
          http://trac.macports.org/changeset/41209
Author:   raimue at macports.org
Date:     2008-10-27 18:27:28 -0700 (Mon, 27 Oct 2008)
Log Message:
-----------
textproc/pdfjam:
New port, closes #16782

Added Paths:
-----------
    trunk/dports/textproc/pdfjam/
    trunk/dports/textproc/pdfjam/Portfile

Added: trunk/dports/textproc/pdfjam/Portfile
===================================================================
--- trunk/dports/textproc/pdfjam/Portfile	                        (rev 0)
+++ trunk/dports/textproc/pdfjam/Portfile	2008-10-28 01:27:28 UTC (rev 41209)
@@ -0,0 +1,53 @@
+# $Id$
+
+PortSystem              1.0
+
+name                    pdfjam
+version                 1.20
+categories              textproc pdf
+maintainers             nomaintainer
+platforms               darwin
+homepage                http://go.warwick.ac.uk/pdfjam
+master_sites            ${homepage}
+distname                ${name}_${version}
+extract.suffix          .tgz
+worksrcdir              ${name}
+use_configure           no
+
+description             A few PDF manipulation tools.
+
+long_description \
+    PDFjam is a small collection of shell scripts which provide a  \
+    simple interface to some of the functionality of the excellent \
+    pdfpages package (by Andreas Matthias) for pdfLaTeX.
+
+
+checksums \
+    md5 3e443fd2c0063330313c1c079053e622 
+
+depends_lib \
+    port:texlive
+
+post-extract {
+    reinplace "s|/usr/local/etc|${prefix}/etc|" ${worksrcpath}/scripts/pdf90
+    reinplace "s|/usr/local/etc|${prefix}/etc|" ${worksrcpath}/scripts/pdfjoin
+    reinplace "s|/usr/local/etc|${prefix}/etc|" ${worksrcpath}/scripts/pdfnup
+    reinplace "s|/usr/local/etc|${prefix}/etc|" ${worksrcpath}/man1/pdf90.1
+    reinplace "s|/usr/local/etc|${prefix}/etc|" ${worksrcpath}/man1/pdfjoin.1
+    reinplace "s|/usr/local/etc|${prefix}/etc|" ${worksrcpath}/man1/pdfnup.1
+    reinplace "s|/usr/local/etc|${prefix}/etc|" ${worksrcpath}/PDFjam-README.html
+}
+
+build {}
+
+destroot {
+    xinstall -m 755 -d ${destroot}${prefix}/bin
+    xinstall -m 755 -W ${worksrcpath}/scripts pdf90 pdfjoin pdfnup \
+       ${destroot}${prefix}/bin
+    xinstall -m 755 -d ${destroot}${prefix}/share/man/man1
+    xinstall -m 644 -W ${worksrcpath}/man1 pdf90.1 pdfjoin.1 pdfnup.1 \
+       ${destroot}${prefix}/share/man/man1
+    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 644 -W ${worksrcpath} COPYING PDFjam-README.html VERSION \
+       ${destroot}${prefix}/share/doc/${name}
+}


Property changes on: trunk/dports/textproc/pdfjam/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081027/b2d71f1d/attachment-0001.html>


More information about the macports-changes mailing list