diff options
author | sakamoto <sakamoto@pkgsrc.org> | 1999-06-16 11:04:33 +0000 |
---|---|---|
committer | sakamoto <sakamoto@pkgsrc.org> | 1999-06-16 11:04:33 +0000 |
commit | 384f0af2c368895c59a0cecc60d8a1f795d6b063 (patch) | |
tree | f7c2649f85e453b833efc473e3d6ef3dc4e4e616 /print/acroread | |
parent | f7d886ea625f7af3bb5c95a7d0364fcd35750199 (diff) | |
download | pkgsrc-384f0af2c368895c59a0cecc60d8a1f795d6b063.tar.gz |
Import FreeBSD's "acroread4" port:
View, distribute and print PDF documents.
Diffstat (limited to 'print/acroread')
-rw-r--r-- | print/acroread/Makefile | 41 | ||||
-rw-r--r-- | print/acroread/files/acroread.diff | 20 | ||||
-rw-r--r-- | print/acroread/files/md5 | 1 | ||||
-rw-r--r-- | print/acroread/patches/patch-aa | 38 | ||||
-rw-r--r-- | print/acroread/pkg/COMMENT | 1 | ||||
-rw-r--r-- | print/acroread/pkg/DESCR | 6 | ||||
-rw-r--r-- | print/acroread/pkg/PLIST | 75 |
7 files changed, 182 insertions, 0 deletions
diff --git a/print/acroread/Makefile b/print/acroread/Makefile new file mode 100644 index 00000000000..45cda4bb9d0 --- /dev/null +++ b/print/acroread/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: acroread +# Version required: 4.0 +# Date created: 16 November 1996 +# Whom: Thomas Gellekum <tg@freebsd.org> +# +# $Id: Makefile,v 1.1.1.1 1999/06/16 11:04:33 sakamoto Exp $ +# + +DISTNAME= linux-ar-40 +PKGNAME= acroread-4.0b +CATEGORIES= print +MASTER_SITES= ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/4.x/beta/ + +MAINTAINER= dima@FreeBSD.ORG + +RUN_DEPENDS= /compat/linux/lib/libc.so.5:${PORTSDIR}/emulators/linux_lib + +ONLY_FOR_ARCHS= i386 + +NO_FILTER_SHLIBS= yes + +WRKSRC= ${WRKDIR}/ILINXR.install + +do-build: + @${ECHO_MSG} "Do a \`make install' as root." + +do-install: + @${MKDIR} ${PREFIX}/Acrobat4 + @ReadInstallDir=${PREFIX}/Acrobat4 ${WRKSRC}/INSTALL + +post-install: + @cd ${PREFIX}/Acrobat4/bin && \ + ${PATCH} --quiet < ${FILESDIR}/acroread.diff && \ + ${INSTALL_SCRIPT} ${PREFIX}/Acrobat4/bin/acroread \ + ${PREFIX}/bin/acroread4 && ${RM} acroread.orig + @brandelf -t Linux ${PREFIX}/Acrobat4/Reader/intellinux/bin/acroread + @chmod +x ${PREFIX}/bin/acroread4 + @${ECHO_MSG} "Be sure to read the license agreement in" + @${ECHO_MSG} "${PREFIX}/Acrobat4/Reader/License.pdf" + +.include <bsd.port.mk> diff --git a/print/acroread/files/acroread.diff b/print/acroread/files/acroread.diff new file mode 100644 index 00000000000..7da09ec4606 --- /dev/null +++ b/print/acroread/files/acroread.diff @@ -0,0 +1,20 @@ +--- acroread.orig Fri Nov 20 17:44:30 1998 ++++ acroread Fri Nov 20 17:45:11 1998 +@@ -205,7 +205,7 @@ + ACRO_CONFIG=intelbsdi + export ACRO_CONFIG + ;; +- Linux) ++ FreeBSD|Linux) + ACRO_CONFIG=intellinux + export ACRO_CONFIG + ;; +@@ -309,6 +309,8 @@ + intellinux) + LD_LIBRARY_PATH="`prepend "$ACRO_INSTALL_DIR/$ACRO_CONFIG/lib:$ACRO_INSTALL_DIR/$ACRO_CONFIG/lib" "$LD_LIBRARY_PATH"`" + export LD_LIBRARY_PATH ++ LC_CTYPE="C" ++ export LC_CTYPE + ;; + intelbsdi) + ;; diff --git a/print/acroread/files/md5 b/print/acroread/files/md5 new file mode 100644 index 00000000000..74693ea190b --- /dev/null +++ b/print/acroread/files/md5 @@ -0,0 +1 @@ +MD5 (linux-ar-40.tar.gz) = 0074171824df07de4ef047c35d642bf4 diff --git a/print/acroread/patches/patch-aa b/print/acroread/patches/patch-aa new file mode 100644 index 00000000000..96af67355cd --- /dev/null +++ b/print/acroread/patches/patch-aa @@ -0,0 +1,38 @@ +--- INSTALL.orig Thu Nov 7 00:04:53 1996 ++++ INSTALL Wed Nov 20 17:37:14 1996 +@@ -117,6 +117,8 @@ + if [ "$i" -a -f "$i" ] ; then + if [ `uname -s` = "Linux" ] ; then + size=`ls -lLn "$i" | ( read perm links owner group size date ; echo $size )` ++ elif [ `uname -s` = "FreeBSD" ] ; 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 +@@ -486,7 +488,7 @@ + SearchPlatformTar="$3" + CustomPlatformTar="$4" + +- OutputLicense "$ReadLicense" ++# OutputLicense "$ReadLicense" + ReadLicense="" + + PrintRequiredFree "$ReadTar" "$SearchTar" "$CustomTar" \ +@@ -559,7 +561,7 @@ + *) ScriptDirectory="$CurrentDirectory"/"$ScriptDirectory" ;; + esac + +-if [ "`type uname`" != "uname not found" ] ; then ++if [ "`uname`" != "uname not found" ] ; then + OSname=`uname -s` + if [ "$OSname" = "AIX" ] ; then + OSrelease=`uname -a | ( read name host minor major foo ; echo $major.$minor )` +@@ -1044,7 +1046,7 @@ + DistDefaultNum="$DistIntelBSDINum" + DefaultName="Intel/BSDI" + ;; +- Linux) ++ FreeBSD|Linux) + AcroDefaultNum="$AcroIntelLinuxNum" + ExchDefaultNum="$ExchIntelLinuxNum" + ReadDefaultNum="$ReadIntelLinuxNum" diff --git a/print/acroread/pkg/COMMENT b/print/acroread/pkg/COMMENT new file mode 100644 index 00000000000..e67f3020b0f --- /dev/null +++ b/print/acroread/pkg/COMMENT @@ -0,0 +1 @@ +View, distribute and print PDF documents. diff --git a/print/acroread/pkg/DESCR b/print/acroread/pkg/DESCR new file mode 100644 index 00000000000..ba2a664df76 --- /dev/null +++ b/print/acroread/pkg/DESCR @@ -0,0 +1,6 @@ +Acrobat 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/acroread/pkg/PLIST b/print/acroread/pkg/PLIST new file mode 100644 index 00000000000..0558d0c923c --- /dev/null +++ b/print/acroread/pkg/PLIST @@ -0,0 +1,75 @@ +Acrobat4/Browsers/netscape +Acrobat4/Browsers/intellinux/nppdf.so +Acrobat4/Resource/Font/Arial +Acrobat4/Resource/Font/Arial-Bold +Acrobat4/Resource/Font/Arial-BoldItalic +Acrobat4/Resource/Font/Arial-Italic +Acrobat4/Resource/Font/Fonts14.upr +Acrobat4/Resource/Font/TimesNewRoman +Acrobat4/Resource/Font/TimesNewRoman-Bold +Acrobat4/Resource/Font/TimesNewRoman-BoldItalic +Acrobat4/Resource/Font/TimesNewRoman-Italic +Acrobat4/Resource/Font/AdobeSansMM +Acrobat4/Resource/Font/AdobeSansMM.MMM +Acrobat4/Resource/Font/AdobeSerifMM +Acrobat4/Resource/Font/AdobeSerifMM.MMM +Acrobat4/Resource/Font/Courier +Acrobat4/Resource/Font/Courier-Bold +Acrobat4/Resource/Font/Courier-BoldOblique +Acrobat4/Resource/Font/Courier-Oblique +Acrobat4/Resource/Font/Symbol +Acrobat4/Resource/Font/ZapfDingbats +Acrobat4/Reader/AcroVersion +Acrobat4/Reader/Acrobat.pdf +Acrobat4/Reader/License.pdf +Acrobat4/Reader/MapTypes.pdf +Acrobat4/Reader/ReadMe +Acrobat4/Reader/help/reader.pdf +Acrobat4/Reader/intellinux/app-defaults/AcroRead +Acrobat4/Reader/intellinux/bin/acroread +Acrobat4/Reader/intellinux/lib/XKeysymDB +Acrobat4/Reader/intellinux/lib/libAGM.so +Acrobat4/Reader/intellinux/lib/libAGM.so.3.0 +Acrobat4/Reader/intellinux/lib/libCoolType.so +Acrobat4/Reader/intellinux/lib/libCoolType.so.1.0 +Acrobat4/Reader/intellinux/lib/libICC.so +Acrobat4/Reader/intellinux/lib/libICC.so.1.0 +Acrobat4/Reader/intellinux/lib/libreadcore.so +Acrobat4/Reader/intellinux/lib/libreadcore.so.4.0 +Acrobat4/Reader/intellinux/optional/ConfigSuite.api +Acrobat4/Reader/intellinux/optional/Exerciser.api +Acrobat4/Reader/intellinux/optional/GeneralSuite.api +Acrobat4/Reader/intellinux/optional/MiscSuite.api +Acrobat4/Reader/intellinux/plug_ins/AFString.js +Acrobat4/Reader/intellinux/plug_ins/AForm.js +Acrobat4/Reader/intellinux/plug_ins/AcroForm.api +Acrobat4/Reader/intellinux/plug_ins/Highlight.api +Acrobat4/Reader/intellinux/plug_ins/ewh.api +Acrobat4/Reader/intellinux/plug_ins/wwwlink.api +Acrobat4/Reader/res/splashScreen11R.xbm +Acrobat4/Reader/res/splashScreen18R.xpm +Acrobat4/Reader/res/splashScreen21.xbm +Acrobat4/Reader/res/splashScreen28.xpm +Acrobat4/bin/acroread +bin/acroread4 +@exec ln -sf ../../Resource/Font/ %D/Acrobat4/Reader/intellinux/fonts +@unexec rm -f %D/Acrobat4/Reader/intellinux/fonts +@exec ln -sf ../../res %D/Acrobat4/Reader/intellinux/res +@unexec rm -f %D/Acrobat4/Reader/intellinux/res +@exec echo "Be sure to read the license agreement in" +@exec echo "%D/Acrobat4/Reader/License.pdf" +@dirrm Acrobat4/bin +@dirrm Acrobat4/Reader/res +@dirrm Acrobat4/Reader/intellinux/optional +@dirrm Acrobat4/Reader/intellinux/plug_ins +@dirrm Acrobat4/Reader/intellinux/lib +@dirrm Acrobat4/Reader/intellinux/bin +@dirrm Acrobat4/Reader/intellinux/app-defaults +@dirrm Acrobat4/Reader/intellinux +@dirrm Acrobat4/Reader/help +@dirrm Acrobat4/Reader +@dirrm Acrobat4/Resource/Font +@dirrm Acrobat4/Resource +@dirrm Acrobat4/Browsers/intellinux +@dirrm Acrobat4/Browsers +@dirrm Acrobat4 |