Date: Mon, 1 May 2017 12:45:55 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r439872 - head/textproc/asciidoc Message-ID: <201705011245.v41CjtPD052090@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Mon May 1 12:45:55 2017 New Revision: 439872 URL: https://svnweb.freebsd.org/changeset/ports/439872 Log: Simplify conf file handling Modified: head/textproc/asciidoc/Makefile Modified: head/textproc/asciidoc/Makefile ============================================================================== --- head/textproc/asciidoc/Makefile Mon May 1 12:45:49 2017 (r439871) +++ head/textproc/asciidoc/Makefile Mon May 1 12:45:55 2017 (r439872) @@ -16,22 +16,11 @@ LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING RUN_DEPENDS= docbook-xsl>=0:textproc/docbook-xsl -NO_ARCH= yes GNU_CONFIGURE= yes +NO_ARCH= yes USE_GNOME= libxml2:run libxslt:run USES= gmake gnome python:2 shebangfix -CONF_FILES= asciidoc.conf docbook45.conf filters/code/code-filter.conf \ - filters/graphviz/graphviz-filter.conf \ - filters/latex/latex-filter.conf \ - filters/music/music-filter.conf \ - filters/source/source-highlight-filter.conf help.conf \ - html4.conf html5.conf lang-cs.conf lang-de.conf lang-el.conf \ - lang-en.conf lang-es.conf lang-fr.conf lang-hu.conf \ - lang-it.conf lang-nl.conf lang-pt-BR.conf lang-ro.conf \ - lang-ru.conf lang-uk.conf latex.conf slidy.conf text.conf \ - xhtml11.conf xhtml11-quirks.conf - SHEBANG_FILES= a2x.py \ asciidoc.py \ asciidocapi.py \ @@ -42,9 +31,7 @@ SHEBANG_FILES= a2x.py \ post-patch: @${REINPLACE_CMD} -e '/^INSTALL_PROG/ s|INSTALL_PROGRAM|INSTALL_SCRIPT|; s|\.conf|&.sample|' ${WRKSRC}/Makefile.in -.for conf_file in ${CONF_FILES} - @cd ${WRKSRC}/ && ${MV} ${conf_file} ${conf_file}.sample -.endfor + @${FIND} ${WRKSRC} -name '*.conf' | ${XARGS} -I % ${MV} % %.sample post-install: ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705011245.v41CjtPD052090>