Use ${LN} -sf if one installs acroread4 (or had it installed).

PR:		ports/41042
Submitted by:	Miguel Mendez <flynn@energyhq.homeip.net>
Approved by:	maintainer timeout (about 1 year)
This commit is contained in:
Norikatsu Shigemura 2003-06-25 02:35:53 +00:00
parent ae11b2e96d
commit 5bed2ad5f5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=83558

View file

@ -53,7 +53,7 @@ post-install:
@${CHOWN} -R -h root:wheel ${PREFIX}/Acrobat5
@${CHMOD} +x ${PREFIX}/bin/acroread5
[ -e ${PREFIX}/bin/acroread ] \
|| (cd ${PREFIX}/bin ; ${LN} -s acroread5 acroread)
|| (cd ${PREFIX}/bin ; ${LN} -sf acroread5 acroread)
@${ECHO_MSG} "Be sure to read the license agreement in"
@${ECHO_MSG} "${PREFIX}/Acrobat5/Reader/license.txt"