openbsd-ports/print/acroread/Makefile

46 lines
1.2 KiB
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.11 2000/10/22 15:43:14 espie 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
NEED_VERSION= 1.230
1999-07-19 14:21:16 -04:00
MASTER_SITES= ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/4.x/
ONLY_FOR_ARCHS= i386
1998-06-07 22:36:00 -04:00
2000-10-22 10:02:46 -04:00
MAINTAINER= Angelos D. Keromytis <angelos@openbsd.org>
1998-06-07 22:36:00 -04:00
2000-03-22 23:12:04 -05:00
PERMIT_PACKAGE_CDROM= "commercial software"
PERMIT_PACKAGE_FTP= "commercial software"
PERMIT_DISTFILES_CDROM= "commercial software"
PERMIT_DISTFILES_FTP= Yes
RUN_DEPENDS= /emul/linux/lib/libc.so.5::emulators/linux_lib
1998-06-07 22:36:00 -04:00
WRKDIST= ${WRKDIR}/ILINXR.install
1998-06-07 22:36:00 -04:00
do-build:
@${ECHO_MSG} "Do a \`make install' as root."
do-install:
@${INSTALL_DATA_DIR} ${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
2000-03-08 20:58:24 -05:00
@chmod a+r ${PREFIX}/Acrobat4/Reader/ReadMe
@echo "Be sure to read the license agreement in"
@echo "${PREFIX}/Acrobat4/Reader/License.pdf"
1998-06-07 22:36:00 -04:00
.include <bsd.port.mk>