diff options
-rw-r--r-- | print/acroread7/DESCR | 6 | ||||
-rw-r--r-- | print/acroread7/Makefile | 79 | ||||
-rw-r--r-- | print/acroread7/PLIST | 265 | ||||
-rw-r--r-- | print/acroread7/distinfo | 6 | ||||
-rw-r--r-- | print/acroread7/files/acroread.diff | 40 | ||||
-rw-r--r-- | print/acroread7/patches/patch-aa | 52 |
6 files changed, 448 insertions, 0 deletions
diff --git a/print/acroread7/DESCR b/print/acroread7/DESCR new file mode 100644 index 00000000000..f88b49405ef --- /dev/null +++ b/print/acroread7/DESCR @@ -0,0 +1,6 @@ +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. diff --git a/print/acroread7/Makefile b/print/acroread7/Makefile new file mode 100644 index 00000000000..4c69de6eab3 --- /dev/null +++ b/print/acroread7/Makefile @@ -0,0 +1,79 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/04/15 14:23:30 markd Exp $ + +DISTNAME= acroread7 # Overridden below +PKGNAME= acroread7-7.0 +CATEGORIES= print +MASTER_SITES= http://ardownload.adobe.com/pub/adobe/reader/unix/7x/7.0/enu/ + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://www.adobe.com/prodindex/acrobat/readstep.html +COMMENT= View, distribute and print PDF documents + +CONFLICTS+= acroread-5.* +# conflict with acroread5 due to bin/acroread +# maybe should do ALTERNATIVES? +CONFLICTS+= acroread5-5.* + +RESTRICTED= "Original installer required to redistribute." +NO_SRC_ON_CDROM= ${RESTRICTED} +NO_BIN_ON_CDROM= ${RESTRICTED} +NO_BIN_ON_FTP= ${RESTRICTED} +NO_SRC_ON_FTP= ${RESTRICTED} +LICENSE= adobe-acrobat-license + +WRKSRC= ${WRKDIR}/AdobeReader +CHECK_SHLIBS= NO +NO_BUILD= YES +SHLIB_HANDLING= NO + +.include "../../mk/bsd.prefs.mk" + +ONLY_FOR_PLATFORM= *-*-i386 + +# Default (overridden below) +PLATFORM= unknown + +.if ${OPSYS} == "NetBSD" +. if (${MACHINE_ARCH} == "i386") +DEPENDS= suse_gtk2>=9.1:../../emulators/${SUSE_DIR_PREFIX}_gtk2 +DEPENDS+= suse_locale>=9.1:../../emulators/${SUSE_DIR_PREFIX}_locale +DISTNAME= AdbeRdr70_linux_enu +PLATFORM= intellinux +.endif +.elif ${OPSYS} == "Linux" +DISTNAME= AdbeRdr70_linux_enu +PLATFORM= intellinux +.endif + +PLIST_SUBST+= PLATFORM=${PLATFORM} + +BIN_PATCH= ${PATCH} --quiet ${_PATCH_BACKUP_ARG} .orig + +# Additional directories to search for fonts +BUILD_DEFS+= ACROREAD_FONTPATH +ACROREAD_FONTPATH?= ${PREFIX}/lib/X11/fonts/TTF + +do-install: + @${INSTALL_DATA_DIR} ${PREFIX}/Acrobat7 + @( ${ECHO} accept ) | PAGER=${CAT} InstallDir=${PREFIX}/Acrobat7 ${WRKSRC}/INSTALL + +post-install: + @cd ${PREFIX}/Acrobat7/bin && \ + ${BIN_PATCH} <${FILESDIR}/acroread.diff && \ + ${SED} -e 's:@PREFIX@:${PREFIX}:' \ + -e 's|@ACROREAD_FONTPATH@|${ACROREAD_FONTPATH}|' \ + <acroread >acroread.tmp && \ + ${MV} acroread.tmp acroread && \ + ${INSTALL_SCRIPT} ${PREFIX}/Acrobat7/bin/acroread \ + ${PREFIX}/bin/acroread7 && ${RM} -f acroread.orig acroread.tmp + ${CHMOD} +x ${PREFIX}/bin/acroread7 + @${ECHO_MSG} "Be sure to read the license agreement in" + @${ECHO_MSG} "${PREFIX}/Acrobat7/Reader/Legal/ENU/License.html" + ${LN} -sf ${PREFIX}/bin/acroread7 ${PREFIX}/bin/acroread + ${RM} ${PREFIX}/Acrobat7/Reader/${PLATFORM}/plug_ins/PPKLite.api + +# do not include the linux stuff if we are, for example, on a Solaris box +. if (${MACHINE_ARCH} == "i386") +.include "../../emulators/suse_linux/Makefile.application" +.endif +.include "../../mk/bsd.pkg.mk" diff --git a/print/acroread7/PLIST b/print/acroread7/PLIST new file mode 100644 index 00000000000..efcca302437 --- /dev/null +++ b/print/acroread7/PLIST @@ -0,0 +1,265 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/04/15 14:23:31 markd Exp $ +Acrobat7/Browser/Browser_Plugin_HowTo.txt +Acrobat7/Browser/install_browser_plugin +Acrobat7/Browser/${PLATFORM}/nppdf.so +Acrobat7/Reader/AcroVersion +Acrobat7/Reader/Cert/curl-ca-bundle.crt +Acrobat7/Reader/GlobalPrefs/AttachmentPerms +Acrobat7/Reader/GlobalPrefs/URLPerms +Acrobat7/Reader/HowTo/ENU/Forms.html +Acrobat7/Reader/HowTo/ENU/Forms01.html +Acrobat7/Reader/HowTo/ENU/Forms02.html +Acrobat7/Reader/HowTo/ENU/Hanko.html +Acrobat7/Reader/HowTo/ENU/Hanko01.html +Acrobat7/Reader/HowTo/ENU/Hanko02.html +Acrobat7/Reader/HowTo/ENU/Hanko03.html +Acrobat7/Reader/HowTo/ENU/Hanko04.html +Acrobat7/Reader/HowTo/ENU/Hanko05.html +Acrobat7/Reader/HowTo/ENU/HowTo.html +Acrobat7/Reader/HowTo/ENU/HowTo00.html +Acrobat7/Reader/HowTo/ENU/HowTo01.html +Acrobat7/Reader/HowTo/ENU/HowTo02.html +Acrobat7/Reader/HowTo/ENU/HowTo03.html +Acrobat7/Reader/HowTo/ENU/HowTo04.html +Acrobat7/Reader/HowTo/ENU/HowTo05.html +Acrobat7/Reader/HowTo/ENU/HowTo07.html +Acrobat7/Reader/HowTo/ENU/HowTo08.html +Acrobat7/Reader/HowTo/ENU/Images/1.gif +Acrobat7/Reader/HowTo/ENU/Images/2.gif +Acrobat7/Reader/HowTo/ENU/Images/3.gif +Acrobat7/Reader/HowTo/ENU/Images/4.gif +Acrobat7/Reader/HowTo/ENU/Images/5.gif +Acrobat7/Reader/HowTo/ENU/Images/6.gif +Acrobat7/Reader/HowTo/ENU/Images/7.gif +Acrobat7/Reader/HowTo/ENU/Images/8.gif +Acrobat7/Reader/HowTo/ENU/Images/C_HelpGreenButton_Lg_N.gif +Acrobat7/Reader/HowTo/ENU/Images/C_MoreTopics_Lg_N.gif +Acrobat7/Reader/HowTo/ENU/Images/C_UpOneLevel_Lg_N.png +Acrobat7/Reader/HowTo/ENU/Images/addfile.gif +Acrobat7/Reader/HowTo/ENU/Images/areatool.gif +Acrobat7/Reader/HowTo/ENU/Images/arrow_nxt.ai +Acrobat7/Reader/HowTo/ENU/Images/arrow_prev.ai +Acrobat7/Reader/HowTo/ENU/Images/attach.gif +Acrobat7/Reader/HowTo/ENU/Images/attach_comment.gif +Acrobat7/Reader/HowTo/ENU/Images/bkgrnd_art.gif +Acrobat7/Reader/HowTo/ENU/Images/bullet.gif +Acrobat7/Reader/HowTo/ENU/Images/callout.gif +Acrobat7/Reader/HowTo/ENU/Images/crossouttxt.gif +Acrobat7/Reader/HowTo/ENU/Images/dimensionlinetool.gif +Acrobat7/Reader/HowTo/ENU/Images/distance.gif +Acrobat7/Reader/HowTo/ENU/Images/distancetool.gif +Acrobat7/Reader/HowTo/ENU/Images/ebookonline.gif +Acrobat7/Reader/HowTo/ENU/Images/forms.gif +Acrobat7/Reader/HowTo/ENU/Images/handtool.gif +Acrobat7/Reader/HowTo/ENU/Images/highlighter.gif +Acrobat7/Reader/HowTo/ENU/Images/layerisvisible.gif +Acrobat7/Reader/HowTo/ENU/Images/listview.gif +Acrobat7/Reader/HowTo/ENU/Images/measure_loop.gif +Acrobat7/Reader/HowTo/ENU/Images/notes.gif +Acrobat7/Reader/HowTo/ENU/Images/obj_data.gif +Acrobat7/Reader/HowTo/ENU/Images/office_convert.gif +Acrobat7/Reader/HowTo/ENU/Images/office_email.gif +Acrobat7/Reader/HowTo/ENU/Images/office_review.gif +Acrobat7/Reader/HowTo/ENU/Images/perimeter.gif +Acrobat7/Reader/HowTo/ENU/Images/readebook.gif +Acrobat7/Reader/HowTo/ENU/Images/rectangle.gif +Acrobat7/Reader/HowTo/ENU/Images/replycomments.gif +Acrobat7/Reader/HowTo/ENU/Images/selecttext.gif +Acrobat7/Reader/HowTo/ENU/Images/sendemailreview.gif +Acrobat7/Reader/HowTo/ENU/Images/showmenu.gif +Acrobat7/Reader/HowTo/ENU/Images/snapshot.gif +Acrobat7/Reader/HowTo/ENU/Images/stamp.gif +Acrobat7/Reader/HowTo/ENU/Images/thumbnailview.gif +Acrobat7/Reader/HowTo/ENU/Images/tip.gif +Acrobat7/Reader/HowTo/ENU/Images/touchupobj.gif +Acrobat7/Reader/HowTo/ENU/Images/underlinetxt.gif +Acrobat7/Reader/HowTo/ENU/Images/zoomintool.gif +Acrobat7/Reader/HowTo/ENU/Review.html +Acrobat7/Reader/HowTo/ENU/Review01.html +Acrobat7/Reader/HowTo/ENU/Review02.html +Acrobat7/Reader/HowTo/ENU/Review03.html +Acrobat7/Reader/HowTo/ENU/Review04.html +Acrobat7/Reader/HowTo/ENU/Review05.html +Acrobat7/Reader/HowTo/ENU/Review06.html +Acrobat7/Reader/HowTo/ENU/Review07.html +Acrobat7/Reader/HowTo/ENU/Review08.html +Acrobat7/Reader/HowTo/ENU/Review09.html +Acrobat7/Reader/HowTo/ENU/Review10.html +Acrobat7/Reader/HowTo/ENU/Review11.html +Acrobat7/Reader/HowTo/ENU/Review12.html +Acrobat7/Reader/HowTo/ENU/Review13.html +Acrobat7/Reader/HowTo/ENU/Review14.html +Acrobat7/Reader/HowTo/ENU/Review16.html +Acrobat7/Reader/HowTo/ENU/Review17.html +Acrobat7/Reader/HowTo/ENU/Review18.html +Acrobat7/Reader/HowTo/ENU/Review19.html +Acrobat7/Reader/HowTo/ENU/Review20.html +Acrobat7/Reader/HowTo/ENU/Review21.html +Acrobat7/Reader/HowTo/ENU/Review22.html +Acrobat7/Reader/HowTo/ENU/Review23.html +Acrobat7/Reader/HowTo/ENU/Review28.html +Acrobat7/Reader/HowTo/ENU/Sign.html +Acrobat7/Reader/HowTo/ENU/Sign02.html +Acrobat7/Reader/HowTo/ENU/Sign04.html +Acrobat7/Reader/HowTo/ENU/Sign05.html +Acrobat7/Reader/HowTo/ENU/Sign06.html +Acrobat7/Reader/HowTo/ENU/Sign07.html +Acrobat7/Reader/HowTo/ENU/Sign09.html +Acrobat7/Reader/HowTo/ENU/Sign11.html +Acrobat7/Reader/HowTo/ENU/Sign13.html +Acrobat7/Reader/JavaScripts/JSByteCodeLin.bin +Acrobat7/Reader/JavaScripts/WebSearch.js +Acrobat7/Reader/Legal/ENU/License.html +Acrobat7/Reader/Legal/ENU/license_ENU_uc.txt +Acrobat7/Reader/Messages/ENU/RdrMsgENU.pdf +Acrobat7/Reader/Messages/RdrMsgSplash.pdf +Acrobat7/Reader/WebSearch/WebSearchENU.pdf +Acrobat7/Reader/help/ENU/README +Acrobat7/Reader/help/ENU/Reader.pdf +Acrobat7/Reader/${PLATFORM}/SPPlugins/ADMPlugin.apl +Acrobat7/Reader/${PLATFORM}/bin/acroread +Acrobat7/Reader/${PLATFORM}/lib/libACE.so +Acrobat7/Reader/${PLATFORM}/lib/libACE.so.2.07 +Acrobat7/Reader/${PLATFORM}/lib/libAGM.so +Acrobat7/Reader/${PLATFORM}/lib/libAGM.so.4.14 +Acrobat7/Reader/${PLATFORM}/lib/libAXE16SharedExpat.so +Acrobat7/Reader/${PLATFORM}/lib/libAXE8SharedExpat.so +Acrobat7/Reader/${PLATFORM}/lib/libAXSLE.so +Acrobat7/Reader/${PLATFORM}/lib/libBIB.so +Acrobat7/Reader/${PLATFORM}/lib/libBIB.so.1.1 +Acrobat7/Reader/${PLATFORM}/lib/libCoolType.so +Acrobat7/Reader/${PLATFORM}/lib/libCoolType.so.5.01 +Acrobat7/Reader/${PLATFORM}/lib/libJP2K.so +Acrobat7/Reader/${PLATFORM}/lib/libResAccess.so +Acrobat7/Reader/${PLATFORM}/lib/libResAccess.so.0.1 +Acrobat7/Reader/${PLATFORM}/lib/libWRServices.so +Acrobat7/Reader/${PLATFORM}/lib/libadobelinguistic.so.2 +Acrobat7/Reader/${PLATFORM}/lib/libadobelinguistic.so.2.0.0 +Acrobat7/Reader/${PLATFORM}/lib/libaglcnv.so +Acrobat7/Reader/${PLATFORM}/lib/libaglcnv.so.28 +Acrobat7/Reader/${PLATFORM}/lib/libaglcnv.so.28.0 +Acrobat7/Reader/${PLATFORM}/lib/libagldata.so +Acrobat7/Reader/${PLATFORM}/lib/libagldata.so.28 +Acrobat7/Reader/${PLATFORM}/lib/libagldata.so.28.0 +Acrobat7/Reader/${PLATFORM}/lib/libagli18n.so +Acrobat7/Reader/${PLATFORM}/lib/libagli18n.so.28 +Acrobat7/Reader/${PLATFORM}/lib/libagli18n.so.28.0 +Acrobat7/Reader/${PLATFORM}/lib/libagluc.so +Acrobat7/Reader/${PLATFORM}/lib/libagluc.so.28 +Acrobat7/Reader/${PLATFORM}/lib/libagluc.so.28.0 +Acrobat7/Reader/${PLATFORM}/lib/libcrypto.so +Acrobat7/Reader/${PLATFORM}/lib/libcrypto.so.0 +Acrobat7/Reader/${PLATFORM}/lib/libcrypto.so.0.9.6 +Acrobat7/Reader/${PLATFORM}/lib/libcurl.so +Acrobat7/Reader/${PLATFORM}/lib/libcurl.so.2 +Acrobat7/Reader/${PLATFORM}/lib/libcurl.so.2.0.2 +Acrobat7/Reader/${PLATFORM}/lib/libssl.so +Acrobat7/Reader/${PLATFORM}/lib/libssl.so.0 +Acrobat7/Reader/${PLATFORM}/lib/libssl.so.0.9.6 +Acrobat7/Reader/${PLATFORM}/plug_ins/Accessibility.api +Acrobat7/Reader/${PLATFORM}/plug_ins/AcroForm.api +Acrobat7/Reader/${PLATFORM}/plug_ins/AcroForm/acrobat7.xdc +Acrobat7/Reader/${PLATFORM}/plug_ins/Annotations/Stamps/ENU/Dynamic.pdf +Acrobat7/Reader/${PLATFORM}/plug_ins/Annotations/Stamps/ENU/SignHere.pdf +Acrobat7/Reader/${PLATFORM}/plug_ins/Annotations/Stamps/ENU/StandardBusiness.pdf +Acrobat7/Reader/${PLATFORM}/plug_ins/Annotations/Stamps/Words.pdf +Acrobat7/Reader/${PLATFORM}/plug_ins/Annots.api +Acrobat7/Reader/${PLATFORM}/plug_ins/DigSig.api +Acrobat7/Reader/${PLATFORM}/plug_ins/EFS.api +Acrobat7/Reader/${PLATFORM}/plug_ins/EScript.api +Acrobat7/Reader/${PLATFORM}/plug_ins/LegalPDF.api +Acrobat7/Reader/${PLATFORM}/plug_ins/MakeAccessible.api +Acrobat7/Reader/${PLATFORM}/plug_ins/PDDom.api +@comment Acrobat7/Reader/${PLATFORM}/plug_ins/PPKLite.api +Acrobat7/Reader/${PLATFORM}/plug_ins/SOAP.api +Acrobat7/Reader/${PLATFORM}/plug_ins/SaveAsRTF.api +Acrobat7/Reader/${PLATFORM}/plug_ins/SearchFind.api +Acrobat7/Reader/${PLATFORM}/plug_ins/SendMail.api +Acrobat7/Reader/${PLATFORM}/plug_ins/Spelling.api +Acrobat7/Reader/${PLATFORM}/plug_ins/checkers.api +Acrobat7/Reader/${PLATFORM}/plug_ins/ewh.api +Acrobat7/Reader/${PLATFORM}/plug_ins/wwwlink.api +Acrobat7/Resource/CMap/Identity-H +Acrobat7/Resource/CMap/Identity-V +Acrobat7/Resource/Font/AdobePiStd.otf +Acrobat7/Resource/Font/CourierStd-Bold.otf +Acrobat7/Resource/Font/CourierStd-BoldOblique.otf +Acrobat7/Resource/Font/CourierStd-Oblique.otf +Acrobat7/Resource/Font/CourierStd.otf +Acrobat7/Resource/Font/MinionPro-Bold.otf +Acrobat7/Resource/Font/MinionPro-BoldIt.otf +Acrobat7/Resource/Font/MinionPro-It.otf +Acrobat7/Resource/Font/MinionPro-Regular.otf +Acrobat7/Resource/Font/MyriadPro-Bold.otf +Acrobat7/Resource/Font/MyriadPro-BoldIt.otf +Acrobat7/Resource/Font/MyriadPro-It.otf +Acrobat7/Resource/Font/MyriadPro-Regular.otf +Acrobat7/Resource/Font/PFM/SY______.PFM +Acrobat7/Resource/Font/PFM/zx______.pfm +Acrobat7/Resource/Font/PFM/zy______.pfm +Acrobat7/Resource/Font/SY______.PFB +Acrobat7/Resource/Font/ZX______.PFB +Acrobat7/Resource/Font/ZY______.PFB +Acrobat7/Resource/Icons/AdobeReader.png +Acrobat7/Resource/Linguistics/LanguageNames/DisplayLanguageNames.en_US.txt +Acrobat7/Resource/Linguistics/Providers/Proximity/brt04.lex +Acrobat7/Resource/Linguistics/Providers/Proximity/brt0401.lex +Acrobat7/Resource/Linguistics/Providers/Proximity/brt0402.lex +Acrobat7/Resource/Linguistics/Providers/Proximity/brt32.clx +Acrobat7/Resource/Linguistics/Providers/Proximity/brtphon.env +Acrobat7/Resource/Linguistics/Providers/Proximity/can112.lex +Acrobat7/Resource/Linguistics/Providers/Proximity/can32.clx +Acrobat7/Resource/Linguistics/Providers/Proximity/canphon.env +Acrobat7/Resource/Linguistics/Providers/Proximity/eng32.clx +Acrobat7/Resource/Linguistics/Providers/Proximity/engphon.env +Acrobat7/Resource/Linguistics/Providers/Proximity/usa86.lex +Acrobat7/Resource/Linguistics/Providers/Proximity/usa8601.lex +Acrobat7/Resource/Linguistics/Providers/Proximity/usa8602.lex +Acrobat7/Resource/Linguistics/Providers/Proximity/usa8603.lex +Acrobat7/Resource/Linguistics/Providers/Proximity/usa8604.lex +Acrobat7/Resource/Support/AdobeReader_GNOME.desktop +Acrobat7/Resource/Support/AdobeReader_KDE.desktop +Acrobat7/bin/acroread +bin/acroread +bin/acroread7 +@dirrm Acrobat7/Browser/${PLATFORM} +@dirrm Acrobat7/Browser +@dirrm Acrobat7/Reader/Cert +@dirrm Acrobat7/Reader/GlobalPrefs +@exec ln -sf Images %D/Acrobat7/Reader/HowTo/ENU/images +@unexec ${RM} -f %D/Acrobat7/Reader/HowTo/ENU/images +@dirrm Acrobat7/Reader/HowTo/ENU/Images +@dirrm Acrobat7/Reader/HowTo/ENU +@dirrm Acrobat7/Reader/HowTo +@dirrm Acrobat7/Reader/JavaScripts +@dirrm Acrobat7/Reader/Legal/ENU +@dirrm Acrobat7/Reader/Legal +@dirrm Acrobat7/Reader/Messages/ENU +@dirrm Acrobat7/Reader/Messages +@dirrm Acrobat7/Reader/WebSearch +@dirrm Acrobat7/Reader/help/ENU +@dirrm Acrobat7/Reader/help +@exec ln -sf ../../Resource %D/Acrobat7/Reader/${PLATFORM}/res +@unexec ${RM} -f %D/Acrobat7/Reader/${PLATFORM}/res +@dirrm Acrobat7/Reader/${PLATFORM}/SPPlugins +@dirrm Acrobat7/Reader/${PLATFORM}/bin +@dirrm Acrobat7/Reader/${PLATFORM}/lib +@dirrm Acrobat7/Reader/${PLATFORM}/plug_ins/AcroForm +@dirrm Acrobat7/Reader/${PLATFORM}/plug_ins/Annotations/Stamps/ENU +@dirrm Acrobat7/Reader/${PLATFORM}/plug_ins/Annotations/Stamps +@dirrm Acrobat7/Reader/${PLATFORM}/plug_ins/Annotations +@dirrm Acrobat7/Reader/${PLATFORM}/plug_ins +@dirrm Acrobat7/Reader/${PLATFORM} +@dirrm Acrobat7/Reader +@dirrm Acrobat7/Resource/CMap +@dirrm Acrobat7/Resource/Font/PFM +@dirrm Acrobat7/Resource/Font +@dirrm Acrobat7/Resource/Icons +@dirrm Acrobat7/Resource/Linguistics/LanguageNames +@dirrm Acrobat7/Resource/Linguistics/Providers/Proximity +@dirrm Acrobat7/Resource/Linguistics/Providers +@dirrm Acrobat7/Resource/Linguistics +@dirrm Acrobat7/Resource/Support +@dirrm Acrobat7/Resource +@dirrm Acrobat7/bin +@dirrm Acrobat7 diff --git a/print/acroread7/distinfo b/print/acroread7/distinfo new file mode 100644 index 00000000000..3dca5ffb113 --- /dev/null +++ b/print/acroread7/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/04/15 14:23:31 markd Exp $ + +SHA1 (AdbeRdr70_linux_enu.tar.gz) = 22c29e2c1cf479ee132a8f9b001a875084bd4b84 +RMD160 (AdbeRdr70_linux_enu.tar.gz) = dd1d9954e3c1491225d4963401cce2250824eb54 +Size (AdbeRdr70_linux_enu.tar.gz) = 39467776 bytes +SHA1 (patch-aa) = ba20e9e2e8b7670d11466a9586774fd8c5e6bb6b diff --git a/print/acroread7/files/acroread.diff b/print/acroread7/files/acroread.diff new file mode 100644 index 00000000000..3d913bb6c49 --- /dev/null +++ b/print/acroread7/files/acroread.diff @@ -0,0 +1,40 @@ +--- acroread.orig 2005-03-12 14:50:00.000000000 +1300 ++++ acroread 2005-03-16 23:59:20.000000000 +1300 +@@ -14,7 +14,7 @@ + ScriptDirectory="`pwd 2> /dev/null`" + cd "$cwd" + fi +-install_dir=`dirname "$ScriptDirectory"`/Reader ++install_dir=@PREFIX@/Acrobat7/Reader + + + # +@@ -172,6 +172,19 @@ + ACRO_CONFIG=intellinux + export ACRO_CONFIG + ;; ++ NetBSD) ++ machine_type=`uname -p` ++ case "$machine_type" in ++ i386) ++ ACRO_CONFIG=intellinux ++ export ACRO_CONFIG ++ ;; ++ sparc*) ++ ACRO_CONFIG=sparcsolaris ++ export ACRO_CONFIG ++ ;; ++ esac ++ ;; + esac + + if [ -z "$ACRO_CONFIG" ] ; then +@@ -202,7 +215,7 @@ + ;; + esac + +-DefaultPSRESPATH="$HOME/psres:$HOME/fonts:/usr/psres" ++DefaultPSRESPATH="$HOME/psres:$HOME/fonts:/usr/psres:@ACROREAD_FONTPATH@" + if [ -z "$PSRESOURCEPATH" ] ; then + PSRESOURCEPATH="$DefaultPSRESPATH" + else 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 |