1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/print/acroread5/Makefile
Thomas Gellekum 81910b6246 Brand acroread executable. Doesn't really matter because it's linked
dynamically, but doesn't hurt, either.

PR:		8779
Submitted by:	Joel Ray Holbeck <joelh@gnu.org>
1998-11-23 09:51:57 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: acroread
# Version required: 3.02
# Date created: 16 November 1996
# Whom: Thomas Gellekum <tg@freebsd.org>
#
# $Id: Makefile,v 1.8 1998/11/20 10:26:11 tg Exp $
#
DISTNAME= ar302lin
PKGNAME= acroread-3.02
CATEGORIES= print
MASTER_SITES= ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/3.x/ \
ftp://sunsite.cnlab-switch.ch/mirror/acrobatreader/unix/3.x/
EXTRACT_SUFX= .tar.Z
MAINTAINER= tg@FreeBSD.ORG
RUN_DEPENDS= /compat/linux/lib/libc.so.5:${PORTSDIR}/emulators/linux_lib
NO_FILTER_SHLIBS= yes
WRKSRC= ${WRKDIR}/ILINXR.install
do-build:
@${ECHO_MSG} "Do a \`make install' as root."
do-install:
@${MKDIR} ${PREFIX}/Acrobat3
@ReadInstallDir=${PREFIX}/Acrobat3 ${WRKSRC}/INSTALL
post-install:
@cd ${PREFIX}/Acrobat3/bin && \
${PATCH} --quiet < ${FILESDIR}/acroread.diff && \
${INSTALL_SCRIPT} ${PREFIX}/Acrobat3/bin/acroread ${PREFIX}/bin && \
${RM} acroread.orig
@brandelf -t Linux ${PREFIX}/Acrobat3/Reader/intellinux/bin/acroread
@chmod +x ${PREFIX}/bin/acroread
@${ECHO_MSG} "Be sure to read the license agreement in"
@${ECHO_MSG} "${PREFIX}/Acrobat3/Reader/License.pdf"
.include <bsd.port.mk>