Don't link ${PREFIX}/share/doc/apache/* to ${PREFIX}/www/data/

if the file or symlink exists already.

Reported by:	Peter Hawkins <thepish@freebsd.org> (a long time ago...)
PR:		ports/9347
Submitted by:	Sheldon Hearn <axl@iafrica.com>
This commit is contained in:
Dirk Froemberg 1999-01-08 17:22:06 +00:00
parent 31d7c43bee
commit 45e82821dc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=15931
3 changed files with 12 additions and 6 deletions

View File

@ -3,7 +3,7 @@
# Date created: So 21 Jun 1998 16:09:39 CEST
# Whom: Stefan Herrmann <stefan@asterix.webaffairs.net>
#
# $Id: Makefile,v 1.62 1998/12/26 00:08:09 dirk Exp $
# $Id: Makefile,v 1.63 1999/01/03 12:26:47 dirk Exp $
#
DISTNAME= apache_${VERSION_APACHE}
@ -113,7 +113,9 @@ post-install:
find ${APACHEDOCDIR} -type d -exec chmod a+rx {} \; ; \
find ${APACHEDOCDIR} -type f -exec chmod a+r {} \;
.for i in apache_pb.gif index.html manual
${LN} -s ${PREFIX}/share/doc/apache/$i ${PREFIX}/www/data/$i
if [ ! -e ${PREFIX}/www/data/$i ] ; then \
${LN} -s ${PREFIX}/share/doc/apache/$i ${PREFIX}/www/data/$i; \
fi
.endfor
.for i in CODING_STANDARDS EXTENSION_STATUS LICENSE
${INSTALL_DATA} ${WRKDIR}/php-${VERSION_PHP3}/$i ${PHP3DOCDIR}

View File

@ -3,7 +3,7 @@
# Date created: So 21 Jun 1998 16:09:39 CEST
# Whom: Stefan Herrmann <stefan@asterix.webaffairs.net>
#
# $Id: Makefile,v 1.62 1998/12/26 00:08:09 dirk Exp $
# $Id: Makefile,v 1.63 1999/01/03 12:26:47 dirk Exp $
#
DISTNAME= apache_${VERSION_APACHE}
@ -113,7 +113,9 @@ post-install:
find ${APACHEDOCDIR} -type d -exec chmod a+rx {} \; ; \
find ${APACHEDOCDIR} -type f -exec chmod a+r {} \;
.for i in apache_pb.gif index.html manual
${LN} -s ${PREFIX}/share/doc/apache/$i ${PREFIX}/www/data/$i
if [ ! -e ${PREFIX}/www/data/$i ] ; then \
${LN} -s ${PREFIX}/share/doc/apache/$i ${PREFIX}/www/data/$i; \
fi
.endfor
.for i in CODING_STANDARDS EXTENSION_STATUS LICENSE
${INSTALL_DATA} ${WRKDIR}/php-${VERSION_PHP3}/$i ${PHP3DOCDIR}

View File

@ -3,7 +3,7 @@
# Date created: So 21 Jun 1998 16:09:39 CEST
# Whom: Stefan Herrmann <stefan@asterix.webaffairs.net>
#
# $Id: Makefile,v 1.62 1998/12/26 00:08:09 dirk Exp $
# $Id: Makefile,v 1.63 1999/01/03 12:26:47 dirk Exp $
#
DISTNAME= apache_${VERSION_APACHE}
@ -113,7 +113,9 @@ post-install:
find ${APACHEDOCDIR} -type d -exec chmod a+rx {} \; ; \
find ${APACHEDOCDIR} -type f -exec chmod a+r {} \;
.for i in apache_pb.gif index.html manual
${LN} -s ${PREFIX}/share/doc/apache/$i ${PREFIX}/www/data/$i
if [ ! -e ${PREFIX}/www/data/$i ] ; then \
${LN} -s ${PREFIX}/share/doc/apache/$i ${PREFIX}/www/data/$i; \
fi
.endfor
.for i in CODING_STANDARDS EXTENSION_STATUS LICENSE
${INSTALL_DATA} ${WRKDIR}/php-${VERSION_PHP3}/$i ${PHP3DOCDIR}