aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-10-26 16:56:34 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-10-26 16:56:34 +0800
commitea9589a4b23467d1bda7102375e27fe22f127e56 (patch)
tree3af1630e8d2d0ee9657b7d036cc91580722d0c55 /textproc
parent122cde120f86cab276b4d940f25bd15b14a7a5dd (diff)
downloadfreebsd-ports-gnome-ea9589a4b23467d1bda7102375e27fe22f127e56.tar.gz
freebsd-ports-gnome-ea9589a4b23467d1bda7102375e27fe22f127e56.tar.zst
freebsd-ports-gnome-ea9589a4b23467d1bda7102375e27fe22f127e56.zip
- Fix CONF_FILES detection which make *.conf.sample got installed as *.conf
unconditionally (regardless of *.conf existence) Reported by: eadler
Diffstat (limited to 'textproc')
-rw-r--r--textproc/asciidoc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/textproc/asciidoc/Makefile b/textproc/asciidoc/Makefile
index 61e5c0686d13..3b2e88625301 100644
--- a/textproc/asciidoc/Makefile
+++ b/textproc/asciidoc/Makefile
@@ -62,7 +62,7 @@ pre-install:
post-install:
.for conf_file in ${CONF_FILES}
- @if [ ! -f ${STAGEDIR}${ETCDIR}/${conf_file} ]; then \
+ @if [ ! -f ${ETCDIR}/${conf_file} ]; then \
${CP} -p ${STAGEDIR}${ETCDIR}/${conf_file}.sample ${STAGEDIR}${ETCDIR}/${conf_file} ; \
fi
.endfor