diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2002-05-29 18:55:25 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2002-05-29 18:55:25 +0000 |
commit | 31ad27a8abed64244e7c8c97449b9653a5f03c0b (patch) | |
tree | f3d8be2ddc6af0768a8a82820dbddf61f954d746 /print | |
parent | Allow to add custom args to configure. (diff) |
Set LATEST_LINK so that we don't have a race with acroread5.
Notes
Notes:
svn path=/head/; revision=60261
Diffstat (limited to 'print')
-rw-r--r-- | print/acroread4/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/print/acroread4/Makefile b/print/acroread4/Makefile index f0105c75be48..32e5c21f11ab 100644 --- a/print/acroread4/Makefile +++ b/print/acroread4/Makefile @@ -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" |