aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2009-08-23 17:07:55 +0000
committerJohan van Selst <johans@FreeBSD.org>2009-08-23 17:07:55 +0000
commit48f012a784ec947de4a5c242f87ca1b57bc85f3e (patch)
treeab3154cc5be45f46082bf497452eac241f7194e7 /print
parentce260bcb8d57f2dc2a2173b0074d0ff9ad09e65f (diff)
downloadports-48f012a784ec947de4a5c242f87ca1b57bc85f3e.tar.gz
ports-48f012a784ec947de4a5c242f87ca1b57bc85f3e.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/pdfjam/Makefile2
-rw-r--r--print/pdfjam/files/patch-pdfjam-nobash21
2 files changed, 22 insertions, 1 deletions
diff --git a/print/pdfjam/Makefile b/print/pdfjam/Makefile
index 0ddbb62da9b2..3dc4e81aa7d3 100644
--- a/print/pdfjam/Makefile
+++ b/print/pdfjam/Makefile
@@ -7,7 +7,7 @@
PORTNAME= pdfjam
PORTVERSION= 1.21
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= print
MASTER_SITES= http://www2.warwick.ac.uk/fac/sci/statistics/staff/academic/firth/software/pdfjam/ \
http://www.it.ca/~paul/src/
diff --git a/print/pdfjam/files/patch-pdfjam-nobash b/print/pdfjam/files/patch-pdfjam-nobash
new file mode 100644
index 000000000000..88659c45f3af
--- /dev/null
+++ b/print/pdfjam/files/patch-pdfjam-nobash
@@ -0,0 +1,21 @@
+--- scripts/pdfjoin.orig 2009-08-21 14:49:42.000000000 +0400
++++ scripts/pdfjoin 2009-08-21 14:53:57.000000000 +0400
+@@ -8,8 +8,16 @@
+ echo "This is pdfjoin version ""$version"
+ ##
+ ##
+-shopt -u xpg_echo ## mainly to cope with Mac OS 10.5 "Leopard"
+- ## -- and this is why we need /bin/bash as interpreter
++## Inhibit interpretation of backslashed characters inside echo
++## arguments. Needed mainly to cope with Mac OS 10.5 "Leopard".
++
++## This is why we need /bin/bash as interpreter; but do a check
++## if the interpretation is really here -- people on systems
++## with conformant /bin/sh might want to run this script
++## without Bash -- don't trouble them with 'shopt' stuff.
++if [ "`echo '\n'`" != '\n' ]; then
++ shopt -u xpg_echo
++fi
+ ##
+ ##
+ ## Relies on pdflatex and the 'pdfpages' package (version 0.2e