From e58168fb85c087e9093378c9095ee21b1da6e3f7 Mon Sep 17 00:00:00 2001 From: vs Date: Thu, 6 May 2004 07:35:24 +0000 Subject: - tg@ drops maintainership :( - Register CONFLICTS with acroread-5* - Fix packaging by deleting acroread.bak from REINPLACE-invocation - Pet portlint ('brandelf' -> ${BRANDELF} - Depend on linux-base-6 [1] PR: ports/46092 [1] Submitted by: Ronald F. Guilmette via trevor@ Approved by: tg@ --- print/acroread/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'print/acroread') diff --git a/print/acroread/Makefile b/print/acroread/Makefile index f318ff3f85d0..660aabad1472 100644 --- a/print/acroread/Makefile +++ b/print/acroread/Makefile @@ -19,15 +19,16 @@ DISTNAME= ar302osf EXTRACT_SUFX= .tar.Z LATEST_LINK= acroread3 -MAINTAINER= tg@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= View, distribute and print PDF documents .if ${ARCH} == "i386" -USE_LINUX= yes +RUN_DEPENDS=${LINUXBASE}/lib/ld-linux.so.1:${PORTSDIR}/emulators/linux_base-6 .elif ${ARCH} == "alpha" RUN_DEPENDS= /compat/osf1/usr/shlib/libc.so:${PORTSDIR}/emulators/osf1_base .endif +CONFLICTS= acroread-5* ONLY_FOR_ARCHS= i386 alpha NO_FILTER_SHLIBS= yes @@ -58,7 +59,7 @@ do-install: post-install: .if ${ARCH} == "i386" @${REINPLACE_CMD} -e 's:Linux):FreeBSD|Linux):g' ${PREFIX}/Acrobat3/bin/acroread - @brandelf -t Linux ${PREFIX}/Acrobat3/Reader/intellinux/bin/acroread + @${BRANDELF} -t Linux ${PREFIX}/Acrobat3/Reader/intellinux/bin/acroread .elif ${ARCH} == "alpha" @${REINPLACE_CMD} -e 's:OSF1):FreeBSD|OSF1):g' ${PREFIX}/Acrobat3/bin/acroread .endif @@ -66,7 +67,7 @@ post-install: ${PATCH} --quiet < ${FILESDIR}/acroread.diff && \ ${INSTALL_SCRIPT} ${PREFIX}/Acrobat3/bin/acroread \ ${PREFIX}/bin/acroread3 && \ - ${RM} acroread.orig + ${RM} acroread.orig acroread.bak @${CHMOD} +x ${PREFIX}/bin/acroread3 [ -e ${PREFIX}/bin/acroread ] \ || (cd ${PREFIX}/bin ; ${LN} -s acroread3 acroread) -- cgit