aboutsummaryrefslogtreecommitdiff
path: root/www/analog/Makefile
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1999-09-12 02:48:34 +0000
committerSatoshi Asami <asami@FreeBSD.org>1999-09-12 02:48:34 +0000
commitfcfd47f169821ab9b4171833b30d652567232909 (patch)
tree000de180ed5fb500510d515079cbdfce6176ec38 /www/analog/Makefile
parent8ad988e1b134cfb88d2506dbaaf7984bcd7a79fe (diff)
downloadports-fcfd47f169821ab9b4171833b30d652567232909.tar.gz
ports-fcfd47f169821ab9b4171833b30d652567232909.zip
Notes
Diffstat (limited to 'www/analog/Makefile')
-rw-r--r--www/analog/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/www/analog/Makefile b/www/analog/Makefile
index a0d1e4fc887a..abc993d3438e 100644
--- a/www/analog/Makefile
+++ b/www/analog/Makefile
@@ -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 && \