1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00

Set LATEST_LINK so that we don't have a race with acroread5.

This commit is contained in:
David E. O'Brien 2002-05-29 18:55:25 +00:00
parent 6fc4450403
commit 31ad27a8ab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60261

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTNAME= acroread4
PORTNAME= acroread
PORTVERSION= 4.05
CATEGORIES= print linux
MASTER_SITES= ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/4.x/
@ -26,6 +26,7 @@ RUN_DEPENDS= /compat/osf1/usr/shlib/libc.so:${PORTSDIR}/emulators/osf1_base
ONLY_FOR_ARCHS= i386 alpha
LATEST_LINK= acroread4
NO_FILTER_SHLIBS= yes
.if ${ARCH} == "i386"
@ -67,6 +68,8 @@ post-install:
${PREFIX}/bin/acroread4 && ${RM} acroread.orig
@${CHOWN} -R -h root:wheel ${PREFIX}/Acrobat4
@${CHMOD} +x ${PREFIX}/bin/acroread4
[ -e ${PREFIX}/bin/acroread ] \
|| (cd ${PREFIX}/bin ; ${LN} -s acroread4 acroread)
@${ECHO_MSG} "Be sure to read the license agreement in"
@${ECHO_MSG} "${PREFIX}/Acrobat4/Reader/License.pdf"