1996-11-20 07:29:45 +00:00
|
|
|
# New ports collection makefile for: acroread
|
1999-04-08 07:41:21 +00:00
|
|
|
# Version required: 4.0
|
1996-11-20 07:29:45 +00:00
|
|
|
# Date created: 16 November 1996
|
|
|
|
# Whom: Thomas Gellekum <tg@freebsd.org>
|
|
|
|
#
|
1999-08-31 01:53:22 +00:00
|
|
|
# $FreeBSD$
|
1996-11-20 07:29:45 +00:00
|
|
|
#
|
|
|
|
|
1999-04-08 07:41:21 +00:00
|
|
|
DISTNAME= linux-ar-40
|
1999-06-17 02:29:24 +00:00
|
|
|
PKGNAME= acroread-4.0
|
1996-11-20 07:29:45 +00:00
|
|
|
CATEGORIES= print
|
1999-06-17 02:29:24 +00:00
|
|
|
MASTER_SITES= ftp://ftp-pac.adobe.com/pub/adobe/acrobatreader/unix/4.x/
|
1996-11-20 07:29:45 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= dima@FreeBSD.org
|
1996-11-20 07:29:45 +00:00
|
|
|
|
1999-07-21 14:55:43 +00:00
|
|
|
RUN_DEPENDS= /compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${PORTSDIR}/emulators/linux_base
|
1996-11-20 07:29:45 +00:00
|
|
|
|
1999-01-07 02:31:51 +00:00
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
1998-11-20 10:26:12 +00:00
|
|
|
NO_FILTER_SHLIBS= yes
|
|
|
|
|
1998-10-06 11:19:51 +00:00
|
|
|
WRKSRC= ${WRKDIR}/ILINXR.install
|
1996-11-20 07:29:45 +00:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
@${ECHO_MSG} "Do a \`make install' as root."
|
|
|
|
|
|
|
|
do-install:
|
1999-04-08 07:41:21 +00:00
|
|
|
@${MKDIR} ${PREFIX}/Acrobat4
|
|
|
|
@ReadInstallDir=${PREFIX}/Acrobat4 ${WRKSRC}/INSTALL
|
1996-11-20 07:29:45 +00:00
|
|
|
|
|
|
|
post-install:
|
1999-04-08 07:41:21 +00:00
|
|
|
@cd ${PREFIX}/Acrobat4/bin && \
|
1998-11-20 10:26:12 +00:00
|
|
|
${PATCH} --quiet < ${FILESDIR}/acroread.diff && \
|
1999-04-08 07:41:21 +00:00
|
|
|
${INSTALL_SCRIPT} ${PREFIX}/Acrobat4/bin/acroread \
|
|
|
|
${PREFIX}/bin/acroread4 && ${RM} acroread.orig
|
|
|
|
@brandelf -t Linux ${PREFIX}/Acrobat4/Reader/intellinux/bin/acroread
|
1999-08-22 19:01:07 +00:00
|
|
|
@${CHMOD} +x ${PREFIX}/bin/acroread4
|
1996-11-21 07:12:12 +00:00
|
|
|
@${ECHO_MSG} "Be sure to read the license agreement in"
|
1999-04-08 07:41:21 +00:00
|
|
|
@${ECHO_MSG} "${PREFIX}/Acrobat4/Reader/License.pdf"
|
1996-11-20 07:29:45 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|