23f671d2fa
Changes: Important bug fixes 1289558: Forms: Opening and closing certain forms can lead to a memory leak various: Fixes to address various Reader crashes. various: Security: several security bug fixes have been made, including one considered critical. For more information about the Adobe Severity Rating System, see the Adobe website at www.adobe.com/support/security/severity_ratings.html Release notes: http://www.adobe.com/support/techdocs/327817.html
82 lines
2.6 KiB
Makefile
82 lines
2.6 KiB
Makefile
# $NetBSD: Makefile,v 1.14 2006/06/13 10:28:24 salo Exp $
|
|
|
|
DISTNAME= acroread7 # Overridden below
|
|
PKGNAME= acroread7-7.0.8
|
|
CATEGORIES= print
|
|
MASTER_SITES= http://ardownload.adobe.com/pub/adobe/reader/unix/7x/7.0.8/enu/
|
|
|
|
MAINTAINER= pkgsrc-users@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_SUPPORTED= NO
|
|
NO_BUILD= YES
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
ONLY_FOR_PLATFORM= *-*-i386
|
|
|
|
# Default (overridden below)
|
|
PLATFORM= unknown
|
|
|
|
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly"
|
|
. if (${MACHINE_ARCH} == "i386")
|
|
DEPENDS+= suse_gtk2>=10.0:../../emulators/${SUSE_DIR_PREFIX}_gtk2
|
|
DEPENDS+= suse_libcups>=10.0:../../emulators/${SUSE_DIR_PREFIX}_libcups
|
|
DEPENDS+= suse_locale>=10.0:../../emulators/${SUSE_DIR_PREFIX}_locale
|
|
DEPENDS+= suse_compat>=10.0:../../emulators/${SUSE_DIR_PREFIX}_compat
|
|
DISTNAME= AdobeReader_enu-7.0.8-1.i386
|
|
PLATFORM= intellinux
|
|
.endif
|
|
.elif ${OPSYS} == "Linux"
|
|
DISTNAME= AdobeReader_enu-7.0.8-1.i386
|
|
PLATFORM= intellinux
|
|
.endif
|
|
|
|
PLIST_SUBST+= PLATFORM=${PLATFORM:Q}
|
|
|
|
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
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-install:
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/Acrobat7
|
|
@( ${ECHO} n; ${ECHO} n ) | 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"
|