summaryrefslogtreecommitdiff
path: root/print/acroread
diff options
context:
space:
mode:
authorsakamoto <sakamoto>1999-06-17 01:04:29 +0000
committersakamoto <sakamoto>1999-06-17 01:04:29 +0000
commit19f71d61b0f952a75a96c04f2b275eae579dc587 (patch)
treee4959f835d7bc6835ae74069b91b68b9216a465f /print/acroread
parent7eabe6ea5a76a285807c2ef6c18fc06f88928b98 (diff)
downloadpkgsrc-19f71d61b0f952a75a96c04f2b275eae579dc587.tar.gz
Add IS_INTERACTIVE=yes, and RESTRICTED="Original installer required
to redistribute.", as suggested by minoura makoto (minoura@netbsd.org). Add alpha,sparc support, but disabled now.
Diffstat (limited to 'print/acroread')
-rw-r--r--print/acroread/Makefile26
-rw-r--r--print/acroread/patches/patch-aa11
-rw-r--r--print/acroread/pkg/MESSAGE3
3 files changed, 21 insertions, 19 deletions
diff --git a/print/acroread/Makefile b/print/acroread/Makefile
index 59ef274adff..2fff9f50bfb 100644
--- a/print/acroread/Makefile
+++ b/print/acroread/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.2 1999/06/16 11:08:30 sakamoto Exp $
+# $NetBSD: Makefile,v 1.3 1999/06/17 01:04:29 sakamoto Exp $
# FreeBSD Id: Makefile,v 1.13 1999/04/08 07:49:18 dima Exp $
-DISTNAME= linux-ar-40
PKGNAME= acroread-4.0
CATEGORIES= print
MASTER_SITES= ftp://ftp-pac.adobe.com/pub/adobe/acrobatreader/unix/4.x/
@@ -9,25 +8,40 @@ MASTER_SITES= ftp://ftp-pac.adobe.com/pub/adobe/acrobatreader/unix/4.x/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.adobe.com/prodindex/acrobat/readstep.html
-NO_BUILD= yes
+IS_INTERACTIVE= YES
+RESTRICTED= "Original installer required to redistribute."
+
+NO_BUILD= YES
.if (${MACHINE_ARCH} == "i386")
.if !exists(/emul/linux/lib/ld-linux.so.2)
IGNORE=You must have Linux libraries installed - see compat_linux(8)
.endif
+DISTNAME= linux-ar-40
+#.elif (${MACHINE_ARCH} == "alpha")
+#.if !exists(/emul/osf1/sbin/loader)
+#IGNORE=You must have Digital UNIX libraries installed - see compat_osf1(8)
+#.endif
+#DISTNAME= dec-arws-40
+#.elif (${MACHINE_ARCH} == "sparc")
+#.if !exists(/emul/sunos/usr/lib/ld.so)
+#IGNORE=You must have SunOS libraries installed - see compat_sunos(8)
+#.endif
+#DISTNAME= sunsparc-arws-40
+.else
+DISTNAME= ${PKGNAME}
.endif
+
ONLY_FOR_PLATFORM= *-*-i386
+# *-*-alpha *-*-sparc
WRKSRC= ${WRKDIR}/ILINXR.install
-MESSAGE_SRC= ${PKGDIR}/MESSAGE
-MESSAGE_FILE= ${WRKDIR}/.MESSAGE
do-install:
@${MKDIR} ${PREFIX}/Acrobat4
@ReadInstallDir=${PREFIX}/Acrobat4 ${WRKSRC}/INSTALL
post-install:
- @${SED} -e 's|$${PREFIX}|${PREFIX}|' ${MESSAGE_SRC} > ${MESSAGE_FILE}
@cd ${PREFIX}/Acrobat4/bin && \
${PATCH} --quiet < ${FILESDIR}/acroread.diff && \
${INSTALL_SCRIPT} ${PREFIX}/Acrobat4/bin/acroread \
diff --git a/print/acroread/patches/patch-aa b/print/acroread/patches/patch-aa
index 8b371e4c9ef..25d232798eb 100644
--- a/print/acroread/patches/patch-aa
+++ b/print/acroread/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 1999/06/16 11:08:31 sakamoto Exp $
+$NetBSD: patch-aa,v 1.3 1999/06/17 01:04:29 sakamoto Exp $
--- INSTALL.orig Thu Nov 7 00:04:53 1996
+++ INSTALL Wed Nov 20 17:37:14 1996
@@ -11,15 +11,6 @@ $NetBSD: patch-aa,v 1.2 1999/06/16 11:08:31 sakamoto Exp $
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
diff --git a/print/acroread/pkg/MESSAGE b/print/acroread/pkg/MESSAGE
deleted file mode 100644
index 65d71745023..00000000000
--- a/print/acroread/pkg/MESSAGE
+++ /dev/null
@@ -1,3 +0,0 @@
- Be sure to read the license agreement in
- ${PREFIX}/Acrobat4/Reader/License.pdf
-