1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Fix installation.

Submitted by:	Jeremy Lea <reg@shale.csir.co.za>
This commit is contained in:
Satoshi Asami 1999-09-12 02:48:34 +00:00
parent 8ad988e1b1
commit fcfd47f169
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=21669

View File

@ -41,11 +41,10 @@ do-install:
${INSTALL_PROGRAM} analog ${PREFIX}/bin
cd ${WRKSRC} && \
for file in analog.cfg ; do \
if [ -f ${PREFIX}/etc/$$file ] ; then \
${INSTALL_DATA} -m 644 $$file ${PREFIX}/etc/$$file-dist ; \
else \
if [ ! -f ${PREFIX}/etc/$$file ] ; then \
${INSTALL_DATA} -m 644 $$file ${PREFIX}/etc/$$file ; \
fi ; \
${INSTALL_DATA} -m 644 $$file ${PREFIX}/etc/$$file-dist ; \
done
.if !defined(NOPORTDOCS)
cd ${WRKSRC}/docs && \