openbsd-ports/print/acroread/Makefile

39 lines
1008 B
Makefile
Raw Normal View History

1998-06-07 22:36:00 -04:00
# OpenBSD makefile for: acroread
# Version required: 4.0
1998-06-07 22:36:00 -04:00
# Date created: June 7 1998
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.3 1999/07/14 10:58:37 jakob Exp $
1998-06-07 22:36:00 -04:00
#
DISTNAME= linux-ar-40
PKGNAME= acroread-4.0
1998-06-07 22:36:00 -04:00
CATEGORIES= print
MASTER_SITES= ftp://ftp-pac.adobe.com/pub/adobe/acrobatreader/unix/4.x/
ONLY_FOR_ARCHS= i386
1998-06-07 22:36:00 -04:00
MAINTAINER= angelos@openbsd.org
RUN_DEPENDS= /emul/linux/lib/libc.so.5:${PORTSDIR}/emulators/linux_lib
WRKSRC= ${WRKDIR}/ILINXR.install
1998-06-07 22:36:00 -04:00
do-build:
@${ECHO_MSG} "Do a \`make install' as root."
do-install:
@${MKDIR} ${PREFIX}/Acrobat4
@ReadInstallDir=${PREFIX}/Acrobat4 ${WRKSRC}/INSTALL
1998-06-07 22:36:00 -04:00
post-install:
@cd ${PREFIX}/Acrobat4/bin && \
${PATCH} --quiet < ${FILESDIR}/acroread.diff && \
${INSTALL_SCRIPT} ${PREFIX}/Acrobat4/bin/acroread \
${PREFIX}/bin/acroread && ${RM} acroread.orig
1998-06-07 22:36:00 -04:00
@chmod +x ${PREFIX}/bin/acroread
@${ECHO_MSG} "Be sure to read the license agreement in"
@${ECHO_MSG} "${PREFIX}/Acrobat4/Reader/License.pdf"
1998-06-07 22:36:00 -04:00
.include <bsd.port.mk>