summaryrefslogtreecommitdiff
path: root/print/ghostscript-gnu/files/patch-lib:pj-gs.sh.CAN-2004-0967
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2008-09-05 19:41:48 +0000
committerHiroki Sato <hrs@FreeBSD.org>2008-09-05 19:41:48 +0000
commit6e0909e045a068d899c6347684796ba545f7202e (patch)
treee79848665db740cc8788eb18695e78e172bdef35 /print/ghostscript-gnu/files/patch-lib:pj-gs.sh.CAN-2004-0967
parentUpgrade to snapshot 2008.09.05 (SVN revision 73). (diff)
* print/ghostscript-* and related ports have been renamed in the
following way: print/ghostscript-gnu -> print/ghostscript7 print/ghostscript-gnu-nox11 -> print/ghostscript7-nox11 print/ghostscript-gnu-commfont -> print/ghostscript7-commfont print/ghostscript-gpl -> print/ghostscript8 print/ghostscript-gpl-nox11 -> print/ghostscript8-nox11 japanese/ghostscript-gnu-jpnfont -> print/ghostscript7-jpnfont korean/ghostscript-gnu-korfont -> print/ghostscript7-korfont * USE_GHOSTSCRIPT now supports a version number which the port requires. The valid value is "7" or "8". If other value is specified, value of WITH_GHOSTSCRIPT_VER is used. * WITH_GHOSTSCRIPT_GNU has been removed in favor of WITH_GHOSTSCRIPT_VER. The valid value of WITH_GHOSTSCRIPT_VER is "7" or "8", and the default value is "8". Approved by: portmgr (pav)
Notes
Notes: svn path=/head/; revision=219946
Diffstat (limited to 'print/ghostscript-gnu/files/patch-lib:pj-gs.sh.CAN-2004-0967')
-rw-r--r--print/ghostscript-gnu/files/patch-lib:pj-gs.sh.CAN-2004-096740
1 files changed, 0 insertions, 40 deletions
diff --git a/print/ghostscript-gnu/files/patch-lib:pj-gs.sh.CAN-2004-0967 b/print/ghostscript-gnu/files/patch-lib:pj-gs.sh.CAN-2004-0967
deleted file mode 100644
index 9d4a0850f191..000000000000
--- a/print/ghostscript-gnu/files/patch-lib:pj-gs.sh.CAN-2004-0967
+++ /dev/null
@@ -1,40 +0,0 @@
---- lib/pj-gs.sh.orig Thu Mar 9 17:40:40 2000
-+++ lib/pj-gs.sh Mon Nov 28 02:22:20 2005
-@@ -241,6 +241,7 @@
- then
- /usr/lib/lprcat $Nofilter $Nolabel $file PCL1 $user $dev
- else
-+ TEMPFILE=`mktemp -t pjXXXXXX` || exit 1
- type=`file $file | sed 's/^[^:]*..//'`
- case "$type" in
- postscript*)
-@@ -251,22 +252,22 @@
- #
- # gs -q -sDEVICE=paintjet -r180 -sOutputFile=- -dDISKFONTS -dNOPAUSE - < $file 2>/tmp/sh$$
-
-- gs -q -sDEVICE=paintjet -r180 -sOutputFile=/tmp/pj$$ -dDISKFONTS -dNOPAUSE - < $file 1>2
-- cat /tmp/pj$$
-- rm /tmp/pj$$
-+ gs -q -sDEVICE=paintjet -r180 -sOutputFile=$TEMPFILE -dDISKFONTS -dNOPAUSE - < $file 1>2
-+ cat $TEMPFILE
-+ rm $TEMPFILE
- needff=
- ;;
-- *) cat "$file" 2>/tmp/sh$$
-+ *) cat "$file" 2>$TEMPFILE
- needff=1
- ;;
- esac
-
-- if [ -s /tmp/sh$$ ]
-+ if [ -s $TEMPFILE ]
- then
- # cat /tmp/sh$$ # output any errors
-- cat /tmp/sh$$ 1>2 # output any errors
-+ cat $TEMPFILE 1>2 # output any errors
- fi
-- rm -f /tmp/sh$$
-+ rm -f $TEMPFILE
- if [ $needff ]; then echo "\014\r\c"; fi
- fi
-