openbsd-ports/print/acroread/Makefile
brad 2dbcea468f upgrade to acroread 5.08.
Fixes an issue with long malicious URLs embedded in PDFs.

http://marc.theaimsgroup.com/?l=bugtraq&m=105785749721291&w=2
2003-08-18 02:17:18 +00:00

37 lines
916 B
Makefile

# $OpenBSD: Makefile,v 1.23 2003/08/18 02:17:18 brad Exp $
ONLY_FOR_ARCHS= i386
COMMENT= "view, distribute and print PDF documents"
DISTNAME= linux-508
PKGNAME= acroread-5.08
CATEGORIES= print
MAINTAINER= Nikolay Sturm <sturm@openbsd.org>
PERMIT_PACKAGE_CDROM= "commercial software"
PERMIT_PACKAGE_FTP= "commercial software"
PERMIT_DISTFILES_CDROM= "commercial software"
PERMIT_DISTFILES_FTP= "Adobe are control freaks"
MASTER_SITES= ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/5.x/
RUN_DEPENDS= ::emulators/redhat/base
WRKDIST= ${WRKDIR}
NO_BUILD= Yes
NO_REGRESS= Yes
do-install:
@${INSTALL_DATA_DIR} ${PREFIX}/Acrobat5
@ReadInstallDir=${PREFIX}/Acrobat5 ${WRKSRC}/INSTALL
post-install:
@cd ${PREFIX}/Acrobat5/bin && \
patch --quiet < ${FILESDIR}/acroread.diff && \
${INSTALL_SCRIPT} ${PREFIX}/Acrobat5/bin/acroread \
${PREFIX}/bin/acroread && rm acroread.orig
.include <bsd.port.mk>