summaryrefslogtreecommitdiff
path: root/print/acroread7/patches
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2005-04-15 14:23:30 +0000
committermarkd <markd@pkgsrc.org>2005-04-15 14:23:30 +0000
commit4952d141eb7a8ff54e6756acb68acb64c7fb9a60 (patch)
tree0a3e2ad9b04e5fca58f26571ddb9533c6332a70f /print/acroread7/patches
parent56adf2733a00a0beb3269eb42c850678fe4809e7 (diff)
downloadpkgsrc-4952d141eb7a8ff54e6756acb68acb64c7fb9a60.tar.gz
Import Adobe Reader 7.0 now its officially out.
Adobe Reader is part of the Adobe Acrobat family of software, which lets you view, distribute, and print documents in Portable Document Format (PDF)--regardless of the computer, operating system, fonts, or application used to create the original file. PDF files retain all the formatting, fonts, and graphics of the original document, and virtually any PostScript(TM) document can be converted into a PDF file.
Diffstat (limited to 'print/acroread7/patches')
-rw-r--r--print/acroread7/patches/patch-aa52
1 files changed, 52 insertions, 0 deletions
diff --git a/print/acroread7/patches/patch-aa b/print/acroread7/patches/patch-aa
new file mode 100644
index 00000000000..9a8a46215ad
--- /dev/null
+++ b/print/acroread7/patches/patch-aa
@@ -0,0 +1,52 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/04/15 14:23:31 markd Exp $
+
+--- INSTALL.orig 2005-03-12 14:50:00.000000000 +1300
++++ INSTALL
+@@ -82,7 +82,7 @@ OutputLicense ()
+ fi
+
+ TypeCheck $PAGER
+- if [ $? -ne 0 ] || [ -z "$PAGER" ] ; then
++ if [ $? -eq 0 ] || [ -z "$PAGER" ] ; then
+ command=cat
+ TypeCheck pg
+ if [ $? -eq 0 ] ; then
+@@ -143,6 +143,8 @@ PrintRequiredFree()
+
+ if [ `uname -s` = "Linux" ] ; then
+ size=`ls -lLn "$i" | ( read perm links owner group size date ; echo $size )`
++ elif [ `uname -s|sed -e 's|.*\(...\)|\\1|'` = "BSD" ] ; then
++ size=`ls -lL "$i" | ( read perm links owner group size date ; echo $size )`
+ else
+ size=`ls -lLon "$i" | ( read perm links owner size date ; echo $size )`
+ fi
+@@ -223,6 +225,8 @@ GetInstallDirectory ()
+ AIX)
+ defdir="/usr/lpp/Adobe/Acrobat7.0"
+ ;;
++ NetBSD)
++ ;;
+ esac
+
+ while [ -z "$InstallDir" ] ; do
+@@ -560,6 +564,20 @@ case "$OSname" in
+ ReadDefaultNum="$ReadIntelLinuxNum"
+ DefaultName="Intel/Linux"
+ ;;
++ NetBSD)
++ MachArch=`uname -p`
++ case "$MachArch" in
++ i386)
++ ReadDefaultNum="$ReadIntelLinuxNum"
++ DefaultName="Intel/Linux"
++ ;;
++ sparc*)
++ ReadDefaultNum="$ReadSparcSolarisNum"
++ DefaultName="SPARC/Solaris 2.x"
++ ;;
++ esac
++ ;;
++
+ esac
+
+ if [ -z "$ReadDefaultNum" ] ; then