textproc/asciidoc: sync with upstream
Taken from: HardenedBSD
This commit is contained in:
parent
ba966742e9
commit
d1edf27397
|
@ -2,7 +2,7 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= asciidoc
|
PORTNAME= asciidoc
|
||||||
PORTVERSION= 9.0.0
|
PORTVERSION= 9.0.1
|
||||||
CATEGORIES= textproc
|
CATEGORIES= textproc
|
||||||
|
|
||||||
MAINTAINER= sunpoet@FreeBSD.org
|
MAINTAINER= sunpoet@FreeBSD.org
|
||||||
|
@ -27,7 +27,7 @@ GH_PROJECT= asciidoc-py3
|
||||||
SHEBANG_GLOB= *.py
|
SHEBANG_GLOB= *.py
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e '/^INSTALL_PROG/ s|INSTALL_PROGRAM|INSTALL_SCRIPT|; s|\.conf|&.sample|; s|python3 |${PYTHON_CMD} |' ${WRKSRC}/Makefile.in
|
@${REINPLACE_CMD} -e 's|python3 |${PYTHON_CMD} |' ${WRKSRC}/Makefile.in
|
||||||
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/a2x.py
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/a2x.py
|
||||||
@${FIND} ${WRKSRC} -name '*.conf' | ${XARGS} -I % ${LN} % %.sample
|
@${FIND} ${WRKSRC} -name '*.conf' | ${XARGS} -I % ${LN} % %.sample
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1592325668
|
TIMESTAMP = 1593249339
|
||||||
SHA256 (asciidoc-asciidoc-py3-9.0.0_GH0.tar.gz) = 04f219e24476ce169508917766e93279d13b3de69ae9ce40fdfd908162e441c4
|
SHA256 (asciidoc-asciidoc-py3-9.0.1_GH0.tar.gz) = 73af9ee590b050e9f46ef85eb7756944dffdc9b3333e3e60c153a6e1f1de0ba5
|
||||||
SIZE (asciidoc-asciidoc-py3-9.0.0_GH0.tar.gz) = 1142656
|
SIZE (asciidoc-asciidoc-py3-9.0.1_GH0.tar.gz) = 1143167
|
||||||
|
|
|
@ -0,0 +1,50 @@
|
||||||
|
--- Makefile.in.orig 2020-06-02 05:11:24 UTC
|
||||||
|
+++ Makefile.in
|
||||||
|
@@ -10,7 +10,7 @@
|
||||||
|
.NOTPARALLEL:
|
||||||
|
|
||||||
|
INSTALL = @INSTALL@
|
||||||
|
-INSTALL_PROG = @INSTALL_PROGRAM@
|
||||||
|
+INSTALL_PROG = @INSTALL_SCRIPT@
|
||||||
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||||
|
SED = @SED@
|
||||||
|
@@ -37,32 +37,32 @@ progdir = $(bindir)
|
||||||
|
manp = $(patsubst %1.txt,%1,$(wildcard doc/*.1.txt))
|
||||||
|
manpdir = $(mandir)/man1
|
||||||
|
|
||||||
|
-conf = $(wildcard *.conf)
|
||||||
|
+conf = $(wildcard *.conf.sample)
|
||||||
|
confdir = $(ASCIIDOCCONF)
|
||||||
|
|
||||||
|
filtersdir = $(ASCIIDOCCONF)/filters
|
||||||
|
|
||||||
|
codefilter = filters/code/code-filter.py
|
||||||
|
codefilterdir = $(filtersdir)/code
|
||||||
|
-codefilterconf = filters/code/code-filter.conf
|
||||||
|
+codefilterconf = filters/code/code-filter.conf.sample
|
||||||
|
codefilterconfdir = $(filtersdir)/code
|
||||||
|
|
||||||
|
graphvizfilter = filters/graphviz/graphviz2png.py
|
||||||
|
graphvizfilterdir = $(filtersdir)/graphviz
|
||||||
|
-graphvizfilterconf = filters/graphviz/graphviz-filter.conf
|
||||||
|
+graphvizfilterconf = filters/graphviz/graphviz-filter.conf.sample
|
||||||
|
graphvizfilterconfdir = $(filtersdir)/graphviz
|
||||||
|
|
||||||
|
musicfilter = filters/music/music2png.py
|
||||||
|
musicfilterdir = $(filtersdir)/music
|
||||||
|
-musicfilterconf = filters/music/music-filter.conf
|
||||||
|
+musicfilterconf = filters/music/music-filter.conf.sample
|
||||||
|
musicfilterconfdir = $(filtersdir)/music
|
||||||
|
|
||||||
|
-sourcefilterconf = filters/source/source-highlight-filter.conf
|
||||||
|
+sourcefilterconf = filters/source/source-highlight-filter.conf.sample
|
||||||
|
sourcefilterconfdir = $(filtersdir)/source
|
||||||
|
|
||||||
|
latexfilter = filters/latex/latex2img.py
|
||||||
|
latexfilterdir = $(filtersdir)/latex
|
||||||
|
-latexfilterconf = filters/latex/latex-filter.conf
|
||||||
|
+latexfilterconf = filters/latex/latex-filter.conf.sample
|
||||||
|
latexfilterconfdir = $(filtersdir)/latex
|
||||||
|
|
||||||
|
unwraplatexfilter = filters/unwraplatex.py
|
Loading…
Reference in New Issue