Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2014 21:09:02 +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: r365050 - head/textproc/asciidoc
Message-ID:  <201408152109.s7FL92Ci002273@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Aug 15 21:09:01 2014
New Revision: 365050
URL: http://svnweb.freebsd.org/changeset/ports/365050
QAT: https://qat.redports.org/buildarchive/r365050/

Log:
  - Use @sample
  - Bump PORTREVISION for package change
  
  PR:		ports/192678
  Submitted by:	marino

Modified:
  head/textproc/asciidoc/Makefile
  head/textproc/asciidoc/pkg-plist

Modified: head/textproc/asciidoc/Makefile
==============================================================================
--- head/textproc/asciidoc/Makefile	Fri Aug 15 21:08:21 2014	(r365049)
+++ head/textproc/asciidoc/Makefile	Fri Aug 15 21:09:01 2014	(r365050)
@@ -3,7 +3,7 @@
 
 PORTNAME=	asciidoc
 PORTVERSION=	8.6.9
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	textproc
 MASTER_SITES=	SF
 

Modified: head/textproc/asciidoc/pkg-plist
==============================================================================
--- head/textproc/asciidoc/pkg-plist	Fri Aug 15 21:08:21 2014	(r365049)
+++ head/textproc/asciidoc/pkg-plist	Fri Aug 15 21:09:01 2014	(r365050)
@@ -2,9 +2,7 @@ bin/a2x
 bin/a2x.py
 bin/asciidoc
 bin/asciidoc.py
-@unexec if cmp -s %D/%%ETCDIR%%/asciidoc.conf.sample %D/%%ETCDIR%%/asciidoc.conf; then rm -f %D/%%ETCDIR%%/asciidoc.conf; fi
-%%ETCDIR%%/asciidoc.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/asciidoc.conf ]; then cp -p %D/%F %B/asciidoc.conf; fi
+@sample %%ETCDIR%%/asciidoc.conf.sample
 %%ETCDIR%%/dblatex/asciidoc-dblatex.sty
 %%ETCDIR%%/dblatex/asciidoc-dblatex.xsl
 %%ETCDIR%%/docbook-xsl/chunked.xsl
@@ -15,37 +13,19 @@ bin/asciidoc.py
 %%ETCDIR%%/docbook-xsl/manpage.xsl
 %%ETCDIR%%/docbook-xsl/text.xsl
 %%ETCDIR%%/docbook-xsl/xhtml.xsl
-@unexec if cmp -s %D/%%ETCDIR%%/docbook45.conf.sample %D/%%ETCDIR%%/docbook45.conf; then rm -f %D/%%ETCDIR%%/docbook45.conf; fi
-%%ETCDIR%%/docbook45.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/docbook45.conf ]; then cp -p %D/%F %B/docbook45.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/filters/code/code-filter.conf.sample %D/%%ETCDIR%%/filters/code/code-filter.conf; then rm -f %D/%%ETCDIR%%/filters/code/code-filter.conf; fi
-%%ETCDIR%%/filters/code/code-filter.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/filters/code/code-filter.conf ]; then cp -p %D/%F %B/code-filter.conf; fi
+@sample %%ETCDIR%%/docbook45.conf.sample
+@sample %%ETCDIR%%/filters/code/code-filter.conf.sample
 %%ETCDIR%%/filters/code/code-filter.py
-@unexec if cmp -s %D/%%ETCDIR%%/filters/graphviz/graphviz-filter.conf.sample %D/%%ETCDIR%%/filters/graphviz/graphviz-filter.conf; then rm -f %D/%%ETCDIR%%/filters/graphviz/graphviz-filter.conf; fi
-%%ETCDIR%%/filters/graphviz/graphviz-filter.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/filters/graphviz/graphviz-filter.conf ]; then cp -p %D/%F %B/graphviz-filter.conf; fi
+@sample %%ETCDIR%%/filters/graphviz/graphviz-filter.conf.sample
 %%ETCDIR%%/filters/graphviz/graphviz2png.py
-@unexec if cmp -s %D/%%ETCDIR%%/filters/latex/latex-filter.conf.sample %D/%%ETCDIR%%/filters/latex/latex-filter.conf; then rm -f %D/%%ETCDIR%%/filters/latex/latex-filter.conf; fi
-%%ETCDIR%%/filters/latex/latex-filter.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/filters/latex/latex-filter.conf ]; then cp -p %D/%F %B/latex-filter.conf; fi
+@sample %%ETCDIR%%/filters/latex/latex-filter.conf.sample
 %%ETCDIR%%/filters/latex/latex2png.py
-@unexec if cmp -s %D/%%ETCDIR%%/filters/music/music-filter.conf.sample %D/%%ETCDIR%%/filters/music/music-filter.conf; then rm -f %D/%%ETCDIR%%/filters/music/music-filter.conf; fi
-%%ETCDIR%%/filters/music/music-filter.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/filters/music/music-filter.conf ]; then cp -p %D/%F %B/music-filter.conf; fi
+@sample %%ETCDIR%%/filters/music/music-filter.conf.sample
 %%ETCDIR%%/filters/music/music2png.py
-@unexec if cmp -s %D/%%ETCDIR%%/filters/source/source-highlight-filter.conf.sample %D/%%ETCDIR%%/filters/source/source-highlight-filter.conf; then rm -f %D/%%ETCDIR%%/filters/source/source-highlight-filter.conf; fi
-%%ETCDIR%%/filters/source/source-highlight-filter.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/filters/source/source-highlight-filter.conf ]; then cp -p %D/%F %B/source-highlight-filter.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/help.conf.sample %D/%%ETCDIR%%/help.conf; then rm -f %D/%%ETCDIR%%/help.conf; fi
-%%ETCDIR%%/help.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/help.conf ]; then cp -p %D/%F %B/help.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/html4.conf.sample %D/%%ETCDIR%%/html4.conf; then rm -f %D/%%ETCDIR%%/html4.conf; fi
-%%ETCDIR%%/html4.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/html4.conf ]; then cp -p %D/%F %B/html4.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/html5.conf.sample %D/%%ETCDIR%%/html5.conf; then rm -f %D/%%ETCDIR%%/html5.conf; fi
-%%ETCDIR%%/html5.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/html5.conf ]; then cp -p %D/%F %B/html5.conf; fi
+@sample %%ETCDIR%%/filters/source/source-highlight-filter.conf.sample
+@sample %%ETCDIR%%/help.conf.sample
+@sample %%ETCDIR%%/html4.conf.sample
+@sample %%ETCDIR%%/html5.conf.sample
 %%ETCDIR%%/images/icons/README
 %%ETCDIR%%/images/icons/callouts/1.png
 %%ETCDIR%%/images/icons/callouts/10.png
@@ -77,68 +57,32 @@ bin/asciidoc.py
 %%ETCDIR%%/javascripts/asciidoc.js
 %%ETCDIR%%/javascripts/slidy.js
 %%ETCDIR%%/javascripts/toc.js
-@unexec if cmp -s %D/%%ETCDIR%%/lang-cs.conf.sample %D/%%ETCDIR%%/lang-cs.conf; then rm -f %D/%%ETCDIR%%/lang-cs.conf; fi
-%%ETCDIR%%/lang-cs.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/lang-cs.conf ]; then cp -p %D/%F %B/lang-cs.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/lang-de.conf.sample %D/%%ETCDIR%%/lang-de.conf; then rm -f %D/%%ETCDIR%%/lang-de.conf; fi
-%%ETCDIR%%/lang-de.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/lang-de.conf ]; then cp -p %D/%F %B/lang-de.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/lang-el.conf.sample %D/%%ETCDIR%%/lang-el.conf; then rm -f %D/%%ETCDIR%%/lang-el.conf; fi
-%%ETCDIR%%/lang-el.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/lang-el.conf ]; then cp -p %D/%F %B/lang-el.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/lang-en.conf.sample %D/%%ETCDIR%%/lang-en.conf; then rm -f %D/%%ETCDIR%%/lang-en.conf; fi
-%%ETCDIR%%/lang-en.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/lang-en.conf ]; then cp -p %D/%F %B/lang-en.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/lang-es.conf.sample %D/%%ETCDIR%%/lang-es.conf; then rm -f %D/%%ETCDIR%%/lang-es.conf; fi
-%%ETCDIR%%/lang-es.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/lang-es.conf ]; then cp -p %D/%F %B/lang-es.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/lang-fr.conf.sample %D/%%ETCDIR%%/lang-fr.conf; then rm -f %D/%%ETCDIR%%/lang-fr.conf; fi
-%%ETCDIR%%/lang-fr.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/lang-fr.conf ]; then cp -p %D/%F %B/lang-fr.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/lang-hu.conf.sample %D/%%ETCDIR%%/lang-hu.conf; then rm -f %D/%%ETCDIR%%/lang-hu.conf; fi
-%%ETCDIR%%/lang-hu.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/lang-hu.conf ]; then cp -p %D/%F %B/lang-hu.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/lang-it.conf.sample %D/%%ETCDIR%%/lang-it.conf; then rm -f %D/%%ETCDIR%%/lang-it.conf; fi
-%%ETCDIR%%/lang-it.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/lang-it.conf ]; then cp -p %D/%F %B/lang-it.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/lang-nl.conf.sample %D/%%ETCDIR%%/lang-nl.conf; then rm -f %D/%%ETCDIR%%/lang-nl.conf; fi
-%%ETCDIR%%/lang-nl.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/lang-nl.conf ]; then cp -p %D/%F %B/lang-nl.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/lang-pt-BR.conf.sample %D/%%ETCDIR%%/lang-pt-BR.conf; then rm -f %D/%%ETCDIR%%/lang-pt-BR.conf; fi
-%%ETCDIR%%/lang-pt-BR.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/lang-pt-BR.conf ]; then cp -p %D/%F %B/lang-pt-BR.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/lang-ro.conf.sample %D/%%ETCDIR%%/lang-ro.conf; then rm -f %D/%%ETCDIR%%/lang-ro.conf; fi
-%%ETCDIR%%/lang-ro.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/lang-ro.conf ]; then cp -p %D/%F %B/lang-ro.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/lang-ru.conf.sample %D/%%ETCDIR%%/lang-ru.conf; then rm -f %D/%%ETCDIR%%/lang-ru.conf; fi
-%%ETCDIR%%/lang-ru.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/lang-ru.conf ]; then cp -p %D/%F %B/lang-ru.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/lang-uk.conf.sample %D/%%ETCDIR%%/lang-uk.conf; then rm -f %D/%%ETCDIR%%/lang-uk.conf; fi
-%%ETCDIR%%/lang-uk.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/lang-uk.conf ]; then cp -p %D/%F %B/lang-uk.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/latex.conf.sample %D/%%ETCDIR%%/latex.conf; then rm -f %D/%%ETCDIR%%/latex.conf; fi
-%%ETCDIR%%/latex.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/latex.conf ]; then cp -p %D/%F %B/latex.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/slidy.conf.sample %D/%%ETCDIR%%/slidy.conf; then rm -f %D/%%ETCDIR%%/slidy.conf; fi
-%%ETCDIR%%/slidy.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/slidy.conf ]; then cp -p %D/%F %B/slidy.conf; fi
+@sample %%ETCDIR%%/lang-cs.conf.sample
+@sample %%ETCDIR%%/lang-de.conf.sample
+@sample %%ETCDIR%%/lang-el.conf.sample
+@sample %%ETCDIR%%/lang-en.conf.sample
+@sample %%ETCDIR%%/lang-es.conf.sample
+@sample %%ETCDIR%%/lang-fr.conf.sample
+@sample %%ETCDIR%%/lang-hu.conf.sample
+@sample %%ETCDIR%%/lang-it.conf.sample
+@sample %%ETCDIR%%/lang-nl.conf.sample
+@sample %%ETCDIR%%/lang-pt-BR.conf.sample
+@sample %%ETCDIR%%/lang-ro.conf.sample
+@sample %%ETCDIR%%/lang-ru.conf.sample
+@sample %%ETCDIR%%/lang-uk.conf.sample
+@sample %%ETCDIR%%/latex.conf.sample
+@sample %%ETCDIR%%/slidy.conf.sample
 %%ETCDIR%%/stylesheets/asciidoc.css
 %%ETCDIR%%/stylesheets/docbook-xsl.css
 %%ETCDIR%%/stylesheets/pygments.css
 %%ETCDIR%%/stylesheets/slidy.css
 %%ETCDIR%%/stylesheets/toc2.css
 %%ETCDIR%%/stylesheets/xhtml11-quirks.css
-@unexec if cmp -s %D/%%ETCDIR%%/text.conf.sample %D/%%ETCDIR%%/text.conf; then rm -f %D/%%ETCDIR%%/text.conf; fi
-%%ETCDIR%%/text.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/text.conf ]; then cp -p %D/%F %B/text.conf; fi
+@sample %%ETCDIR%%/text.conf.sample
 %%ETCDIR%%/themes/flask/flask.css
 %%ETCDIR%%/themes/volnitsky/volnitsky.css
-@unexec if cmp -s %D/%%ETCDIR%%/xhtml11.conf.sample %D/%%ETCDIR%%/xhtml11.conf; then rm -f %D/%%ETCDIR%%/xhtml11.conf; fi
-%%ETCDIR%%/xhtml11.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/xhtml11.conf ]; then cp -p %D/%F %B/xhtml11.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/xhtml11-quirks.conf.sample %D/%%ETCDIR%%/xhtml11-quirks.conf; then rm -f %D/%%ETCDIR%%/xhtml11-quirks.conf; fi
-%%ETCDIR%%/xhtml11-quirks.conf.sample
-@exec if [ ! -f %D/%%ETCDIR%%/xhtml11-quirks.conf ]; then cp -p %D/%F %B/xhtml11-quirks.conf; fi
+@sample %%ETCDIR%%/xhtml11.conf.sample
+@sample %%ETCDIR%%/xhtml11-quirks.conf.sample
 %%PYTHON_SITELIBDIR%%/asciidocapi.py
 man/man1/a2x.1.gz
 man/man1/asciidoc.1.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408152109.s7FL92Ci002273>