svn commit: r331663 - head/textproc/asciidoc

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Oct 26 08:56:34 UTC 2013


Author: sunpoet
Date: Sat Oct 26 08:56:34 2013
New Revision: 331663
URL: http://svnweb.freebsd.org/changeset/ports/331663

Log:
  - Fix CONF_FILES detection which make *.conf.sample got installed as *.conf
    unconditionally (regardless of *.conf existence)
  
  Reported by:	eadler

Modified:
  head/textproc/asciidoc/Makefile

Modified: head/textproc/asciidoc/Makefile
==============================================================================
--- head/textproc/asciidoc/Makefile	Sat Oct 26 08:46:12 2013	(r331662)
+++ head/textproc/asciidoc/Makefile	Sat Oct 26 08:56:34 2013	(r331663)
@@ -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


More information about the svn-ports-head mailing list