diff options
author | sakamoto <sakamoto@pkgsrc.org> | 1999-06-17 01:04:29 +0000 |
---|---|---|
committer | sakamoto <sakamoto@pkgsrc.org> | 1999-06-17 01:04:29 +0000 |
commit | 2c45ab60082902da15849718acbda5d370c0639b (patch) | |
tree | e4959f835d7bc6835ae74069b91b68b9216a465f /print | |
parent | e48c860f5b69a62f2792643803de4023d07e362f (diff) | |
download | pkgsrc-2c45ab60082902da15849718acbda5d370c0639b.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')
-rw-r--r-- | print/acroread/Makefile | 26 | ||||
-rw-r--r-- | print/acroread/patches/patch-aa | 11 | ||||
-rw-r--r-- | print/acroread/pkg/MESSAGE | 3 |
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 - |