Fix reinstall-problem.

PR:		ports/28481
Submitted by:	Takanori Saneto <sanewo@ba2.so-net.ne.jp>
This commit is contained in:
Shigeyuki Fukushima 2001-06-28 14:21:04 +00:00
parent fb6b217383
commit e05981cf79
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44527

View file

@ -24,7 +24,7 @@ PLIST_SUB= DOCDIR=${DOCDIR}
post-install:
.if !defined(NOPORTDOCS)
@[ ! -d ${PREFIX}/${DOCDIR} ] && ${MKDIR} ${PREFIX}/${DOCDIR}
@${MKDIR} ${PREFIX}/${DOCDIR}
@for i in AUTHORS COPYING ChangeLog NEWS README ; do \
${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${DOCDIR} ;\
done