2004-12-18 18:17:16 +01:00
|
|
|
# $NetBSD: Makefile,v 1.24 2004/12/18 17:17:16 jdolecek Exp $
|
Initial import of Acrobat Reader 5 into the NetBSD packages collection.
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.
Tested on NetBSD/i386 and Solaris/sparc. Problems were found on
NetBSD/sparc, so this is marked ONLY_FOR_PLATFORM *-*-i386 and
SunOS-*-sparc for now.
2002-08-01 13:59:08 +02:00
|
|
|
|
2003-01-04 13:58:24 +01:00
|
|
|
DISTNAME= acroread5 # Overridden below
|
2004-12-18 18:17:16 +01:00
|
|
|
PKGNAME= acroread5-5.10
|
Initial import of Acrobat Reader 5 into the NetBSD packages collection.
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.
Tested on NetBSD/i386 and Solaris/sparc. Problems were found on
NetBSD/sparc, so this is marked ONLY_FOR_PLATFORM *-*-i386 and
SunOS-*-sparc for now.
2002-08-01 13:59:08 +02:00
|
|
|
CATEGORIES= print
|
2004-08-23 07:36:08 +02:00
|
|
|
MASTER_SITES= http://ardownload.adobe.com/pub/adobe/acrobatreader/unix/5.x/
|
Initial import of Acrobat Reader 5 into the NetBSD packages collection.
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.
Tested on NetBSD/i386 and Solaris/sparc. Problems were found on
NetBSD/sparc, so this is marked ONLY_FOR_PLATFORM *-*-i386 and
SunOS-*-sparc for now.
2002-08-01 13:59:08 +02:00
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
Initial import of Acrobat Reader 5 into the NetBSD packages collection.
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.
Tested on NetBSD/i386 and Solaris/sparc. Problems were found on
NetBSD/sparc, so this is marked ONLY_FOR_PLATFORM *-*-i386 and
SunOS-*-sparc for now.
2002-08-01 13:59:08 +02:00
|
|
|
HOMEPAGE= http://www.adobe.com/prodindex/acrobat/readstep.html
|
|
|
|
COMMENT= View, distribute and print PDF documents
|
|
|
|
|
2003-05-08 18:35:41 +02:00
|
|
|
CONFLICTS+= acroread-5.*
|
|
|
|
|
Initial import of Acrobat Reader 5 into the NetBSD packages collection.
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.
Tested on NetBSD/i386 and Solaris/sparc. Problems were found on
NetBSD/sparc, so this is marked ONLY_FOR_PLATFORM *-*-i386 and
SunOS-*-sparc for now.
2002-08-01 13:59:08 +02:00
|
|
|
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
|
|
|
|
|
2004-12-18 18:17:16 +01:00
|
|
|
WRKSRC= ${WRKDIR}/installers
|
Initial import of Acrobat Reader 5 into the NetBSD packages collection.
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.
Tested on NetBSD/i386 and Solaris/sparc. Problems were found on
NetBSD/sparc, so this is marked ONLY_FOR_PLATFORM *-*-i386 and
SunOS-*-sparc for now.
2002-08-01 13:59:08 +02:00
|
|
|
CHECK_SHLIBS= NO
|
|
|
|
NO_BUILD= YES
|
|
|
|
SHLIB_HANDLING= NO
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2004-07-24 16:43:12 +02:00
|
|
|
ONLY_FOR_PLATFORM= *-*-i386 *-*-sparc*
|
Initial import of Acrobat Reader 5 into the NetBSD packages collection.
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.
Tested on NetBSD/i386 and Solaris/sparc. Problems were found on
NetBSD/sparc, so this is marked ONLY_FOR_PLATFORM *-*-i386 and
SunOS-*-sparc for now.
2002-08-01 13:59:08 +02:00
|
|
|
|
2003-01-04 13:58:24 +01:00
|
|
|
# Default (overridden below)
|
|
|
|
PLATFORM= unknown
|
|
|
|
|
Initial import of Acrobat Reader 5 into the NetBSD packages collection.
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.
Tested on NetBSD/i386 and Solaris/sparc. Problems were found on
NetBSD/sparc, so this is marked ONLY_FOR_PLATFORM *-*-i386 and
SunOS-*-sparc for now.
2002-08-01 13:59:08 +02:00
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
|
|
. if (${MACHINE_ARCH} == "i386")
|
|
|
|
DEPENDS= suse_x11>=6.1:../../emulators/${SUSE_DIR_PREFIX}_x11
|
2004-12-18 18:17:16 +01:00
|
|
|
DISTNAME= linux-5010
|
Initial import of Acrobat Reader 5 into the NetBSD packages collection.
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.
Tested on NetBSD/i386 and Solaris/sparc. Problems were found on
NetBSD/sparc, so this is marked ONLY_FOR_PLATFORM *-*-i386 and
SunOS-*-sparc for now.
2002-08-01 13:59:08 +02:00
|
|
|
PLATFORM= intellinux
|
|
|
|
. elif (${MACHINE_ARCH} == "sparc")
|
|
|
|
. if !exists(/emul/svr4/usr/lib/ld.so)
|
2002-12-07 03:38:52 +01:00
|
|
|
PKG_FAIL_REASON= '${PKGNAME} requires Solaris libraries - see compat_svr4(8)'
|
Initial import of Acrobat Reader 5 into the NetBSD packages collection.
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.
Tested on NetBSD/i386 and Solaris/sparc. Problems were found on
NetBSD/sparc, so this is marked ONLY_FOR_PLATFORM *-*-i386 and
SunOS-*-sparc for now.
2002-08-01 13:59:08 +02:00
|
|
|
. endif
|
2004-12-18 18:17:16 +01:00
|
|
|
DISTNAME= solaris-5010
|
2004-07-24 16:43:12 +02:00
|
|
|
PLATFORM= sparcsolaris
|
|
|
|
. elif (${MACHINE_ARCH} == "sparc64")
|
|
|
|
. if !exists(/emul/svr4_32/usr/lib/ld.so)
|
|
|
|
PKG_FAIL_REASON= '${PKGNAME} requires Solaris libraries - see compat_svr4_32(8)'
|
|
|
|
. endif
|
2004-12-18 18:17:16 +01:00
|
|
|
DISTNAME= solaris-5010
|
Initial import of Acrobat Reader 5 into the NetBSD packages collection.
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.
Tested on NetBSD/i386 and Solaris/sparc. Problems were found on
NetBSD/sparc, so this is marked ONLY_FOR_PLATFORM *-*-i386 and
SunOS-*-sparc for now.
2002-08-01 13:59:08 +02:00
|
|
|
PLATFORM= sparcsolaris
|
|
|
|
. endif
|
2003-09-04 10:21:52 +02:00
|
|
|
.elif ${OPSYS} == "Linux"
|
2004-12-18 18:17:16 +01:00
|
|
|
DISTNAME= linux-5010
|
2003-09-04 10:21:52 +02:00
|
|
|
PLATFORM= intellinux
|
Initial import of Acrobat Reader 5 into the NetBSD packages collection.
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.
Tested on NetBSD/i386 and Solaris/sparc. Problems were found on
NetBSD/sparc, so this is marked ONLY_FOR_PLATFORM *-*-i386 and
SunOS-*-sparc for now.
2002-08-01 13:59:08 +02:00
|
|
|
.elif ${OPSYS} == "SunOS"
|
2004-12-18 18:17:16 +01:00
|
|
|
DISTNAME= solaris-5010
|
Initial import of Acrobat Reader 5 into the NetBSD packages collection.
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.
Tested on NetBSD/i386 and Solaris/sparc. Problems were found on
NetBSD/sparc, so this is marked ONLY_FOR_PLATFORM *-*-i386 and
SunOS-*-sparc for now.
2002-08-01 13:59:08 +02:00
|
|
|
PLATFORM= sparcsolaris
|
|
|
|
.endif
|
|
|
|
|
|
|
|
PLIST_SUBST+= PLATFORM=${PLATFORM}
|
|
|
|
|
|
|
|
PLIST_SRC= ${PKGDIR}/PLIST.pre
|
|
|
|
.if ${MACHINE_ARCH} == "sparc"
|
|
|
|
PLIST_SRC+= ${PKGDIR}/PLIST.${MACHINE_ARCH}
|
|
|
|
.endif
|
|
|
|
PLIST_SRC+= ${PKGDIR}/PLIST.post
|
|
|
|
|
|
|
|
BIN_PATCH= ${PATCH} --quiet ${_PATCH_BACKUP_ARG} .orig
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/Acrobat5
|
|
|
|
@( ${ECHO} accept ) | PAGER=${CAT} ReadInstallDir=${PREFIX}/Acrobat5 ${WRKSRC}/INSTALL
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@cd ${PREFIX}/Acrobat5/bin && \
|
|
|
|
${BIN_PATCH} <${FILESDIR}/acroread.diff && \
|
|
|
|
${INSTALL_SCRIPT} ${PREFIX}/Acrobat5/bin/acroread \
|
|
|
|
${PREFIX}/bin/acroread5 && ${RM} -f acroread.orig
|
|
|
|
${CHMOD} +x ${PREFIX}/bin/acroread5
|
|
|
|
@${ECHO_MSG} "Be sure to read the license agreement in"
|
|
|
|
@${ECHO_MSG} "${PREFIX}/Acrobat5/Reader/license.txt"
|
|
|
|
|
2003-11-01 14:33:10 +01:00
|
|
|
# do not include the linux stuff if we are, for example, on a Solaris box
|
|
|
|
. if (${MACHINE_ARCH} == "i386")
|
Initial import of Acrobat Reader 5 into the NetBSD packages collection.
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.
Tested on NetBSD/i386 and Solaris/sparc. Problems were found on
NetBSD/sparc, so this is marked ONLY_FOR_PLATFORM *-*-i386 and
SunOS-*-sparc for now.
2002-08-01 13:59:08 +02:00
|
|
|
.include "../../emulators/suse_linux/Makefile.application"
|
2003-11-01 14:33:10 +01:00
|
|
|
.endif
|
2003-03-26 05:05:37 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|