Date: Wed, 16 Mar 2005 11:07:07 -0500 (EST) From: Paul Chvostek <paul+ports@it.ca> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Paul Chvostek <paul+ports@it.ca> Subject: ports/78921: New port: print/pdfjam - shell scripts to manipulate PDF files Message-ID: <200503161607.j2GG77tK015455@foo.it.ca> Resent-Message-ID: <200503161610.j2GGA5IS070645@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 78921 >Category: ports >Synopsis: New port: print/pdfjam - shell scripts to manipulate PDF files >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Mar 16 16:10:05 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Paul Chvostek >Release: FreeBSD 5.3-STABLE i386 >Organization: >Environment: System: FreeBSD foo.it.ca 5.3-STABLE FreeBSD 5.3-STABLE #2: Mon Dec 6 03:04:05 EST 2004 paul@foo.it.ca:/usr/obj/a/src/sys/foo i386 >Description: PDFjam, by David Firth, is a small collection of shell scripts which provide a simple interface to some of the functionality of the pdfpages package (by Andreas Matthias) for pdfLaTeX. >How-To-Repeat: >Fix: --- pdfjam.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # pdfjam/ # pdfjam/pkg-descr # pdfjam/files # pdfjam/files/patch-aa # pdfjam/files/patch-ab # pdfjam/files/patch-ac # pdfjam/Makefile # pdfjam/distinfo # pdfjam/.exrc # pdfjam/pkg-plist # echo c - pdfjam/ mkdir -p pdfjam/ > /dev/null 2>&1 echo x - pdfjam/pkg-descr sed 's/^X//' >pdfjam/pkg-descr << 'END-of-pdfjam/pkg-descr' XPDFjam, by David Firth, is a small collection of shell scripts which provide a Xsimple interface to some of the functionality of the excellent pdfpages package X(by Andreas Matthias) for pdfLaTeX. At present the utilities available are: X X * pdfnup, which allows PDF files to be "n-upped" in roughly the way that psnup X does for PostScript files. X * pdfjoin, which concatenates the pages of multiple PDF files together into a X single file X * pdf90, which rotates the pages of one or more PDF files through 90 degrees X (anti-clockwise). X X- Paul Chvostek <paul+ports@it.ca> X XWWW: http://www.warwick.ac.uk/go/pdfjam END-of-pdfjam/pkg-descr echo c - pdfjam/files mkdir -p pdfjam/files > /dev/null 2>&1 echo x - pdfjam/files/patch-aa sed 's/^X//' >pdfjam/files/patch-aa << 'END-of-pdfjam/files/patch-aa' X--- scripts/pdf90.orig Tue Jan 25 14:19:21 2005 X+++ scripts/pdf90 Wed Mar 16 09:16:35 2005 X@@ -23,7 +23,7 @@ X ## X ## First say where your "pdflatex" program lives: X ## X-pdflatex=pdflatex X+pdflatex=__LOCALBASE__/bin/pdflatex X #pdflatex="pdflatex.exe" ## this for Windows computers X ## X ## Next a permitted location for temporary files on your system: END-of-pdfjam/files/patch-aa echo x - pdfjam/files/patch-ab sed 's/^X//' >pdfjam/files/patch-ab << 'END-of-pdfjam/files/patch-ab' X--- scripts/pdfjoin.orig Tue Jan 25 14:19:21 2005 X+++ scripts/pdfjoin Wed Mar 16 09:16:42 2005 X@@ -23,7 +23,7 @@ X ## X ## First say where your "pdflatex" program lives: X ## X-pdflatex=pdflatex X+pdflatex=__LOCALBASE__/bin/pdflatex X #pdflatex="pdflatex.exe" ## this for Windows computers X ## X ## Next a permitted location for temporary files on your system: END-of-pdfjam/files/patch-ab echo x - pdfjam/files/patch-ac sed 's/^X//' >pdfjam/files/patch-ac << 'END-of-pdfjam/files/patch-ac' X--- scripts/pdfnup.orig Tue Jan 25 14:19:21 2005 X+++ scripts/pdfnup Wed Mar 16 09:17:40 2005 X@@ -23,7 +23,7 @@ X ## X ## First say where your "pdflatex" program lives: X ## X-pdflatex=pdflatex X+pdflatex=__LOCALBASE__/bin/pdflatex X #pdflatex="pdflatex.exe" ## this for Windows computers X ## X ## Next a permitted location for temporary files on your system: END-of-pdfjam/files/patch-ac echo x - pdfjam/Makefile sed 's/^X//' >pdfjam/Makefile << 'END-of-pdfjam/Makefile' X# New ports collection makefile for: pdfjam X# Date created: Tue Mar 15 17:50:34 EST 2005 X# Whom: Paul Chvostek <paul@it.ca> X# X# $FreeBSD$ X# X XPORTNAME= pdfjam XPORTVERSION= 1.20 XCATEGORIES= print XMASTER_SITES= http://www.warwick.ac.uk/go/pdfjam/ \ X http://www.it.ca/~paul/src/ XDISTNAME= ${PORTNAME}_${PORTVERSION} XEXTRACT_SUFX= .tgz X XMAINTAINER= paul+ports@it.ca XCOMMENT= Shell scripts to manipulate PDF files X XRUN_DEPENDS= ${LOCALBASE}/bin/pdflatex:${PORTSDIR}/print/teTeX-base X# ${LOCALBASE}/share/texmf/tex/latex/pdftex.def:${PORTSDIR}/print/latex X XWRKSRC= ${WRKDIR}/${PORTNAME} X XMAN1= pdfjoin.1 pdf90.1 pdfnup.1 XPLIST_FILES= bin/pdfjoin bin/pdf90 bin/pdfnup X Xpost-patch: X @${LN} -s scripts ${WRKSRC}/bin X.for FILE in ${PLIST_FILES} X @${SED} -i '' "1s:^#! /bin/sh:#!${SH}:;s:__LOCALBASE__:${LOCALBASE}:" ${WRKSRC}/${FILE} X.endfor X Xdo-build: X Xdo-install: X.for FILE in ${PLIST_FILES} X @${INSTALL_SCRIPT} ${WRKSRC}/${FILE} ${PREFIX}/bin/ X.endfor X.for FILE in ${MAN1} X @${INSTALL_MAN} ${WRKSRC}/man1/${FILE} ${PREFIX}/man/man1/ X.endfor X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X @${INSTALL_DATA} ${WRKSRC}/PDFjam-README.html ${DOCSDIR} X @${INSTALL_DATA} ${WRKSRC}/pdfdroplets.png ${DOCSDIR} X.endif X X.include <bsd.port.mk> END-of-pdfjam/Makefile echo x - pdfjam/distinfo sed 's/^X//' >pdfjam/distinfo << 'END-of-pdfjam/distinfo' XMD5 (pdfjam_1.20.tgz) = 3e443fd2c0063330313c1c079053e622 XSIZE (pdfjam_1.20.tgz) = 52814 END-of-pdfjam/distinfo echo x - pdfjam/.exrc sed 's/^X//' >pdfjam/.exrc << 'END-of-pdfjam/.exrc' Xset exrc END-of-pdfjam/.exrc echo x - pdfjam/pkg-plist sed 's/^X//' >pdfjam/pkg-plist << 'END-of-pdfjam/pkg-plist' X%%PORTDOCS%%%%DOCSDIR%%/PDFjam-README.html X%%PORTDOCS%%%%DOCSDIR%%/pdfdroplets.png X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-pdfjam/pkg-plist exit --- pdfjam.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503161607.j2GG77tK015455>