47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# OpenBSD makefile for: acroread
|
|
# Version required: 4.0
|
|
# Date created: June 7 1998
|
|
# Whom: Angelos D. Keromytis
|
|
#
|
|
# $OpenBSD: Makefile,v 1.15 2001/11/13 22:13:24 espie Exp $
|
|
#
|
|
|
|
COMMENT= "view, distribute and print PDF documents"
|
|
|
|
DISTNAME= linux-ar-405
|
|
PKGNAME= acroread-4.05
|
|
CATEGORIES= print
|
|
NEED_VERSION= 1.496
|
|
|
|
MASTER_SITES= ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/4.x/
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
MAINTAINER= Angelos D. Keromytis <angelos@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= "commercial software"
|
|
PERMIT_PACKAGE_FTP= "commercial software"
|
|
PERMIT_DISTFILES_CDROM= "commercial software"
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
RUN_DEPENDS= ::emulators/redhat/base
|
|
|
|
WRKDIST= ${WRKDIR}/ILINXR.install
|
|
|
|
do-build:
|
|
@${ECHO_MSG} "Do a \`make install' as root."
|
|
|
|
do-install:
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/Acrobat4
|
|
@ReadInstallDir=${PREFIX}/Acrobat4 ${WRKSRC}/INSTALL
|
|
|
|
post-install:
|
|
@cd ${PREFIX}/Acrobat4/bin && \
|
|
patch --quiet < ${FILESDIR}/acroread.diff && \
|
|
${INSTALL_SCRIPT} ${PREFIX}/Acrobat4/bin/acroread \
|
|
${PREFIX}/bin/acroread && rm acroread.orig
|
|
# @chmod +x ${PREFIX}/bin/acroread
|
|
@echo "Be sure to read the license agreement in"
|
|
@echo "${PREFIX}/Acrobat4/Reader/License.pdf"
|
|
|
|
.include <bsd.port.mk>
|