Update to 8.6.10

- Change MASTER_SITES to GitHub
- Use SHEBANG_GLOB

Changes:	https://github.com/asciidoc/asciidoc/releases
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-12-11 10:37:33 +00:00
parent ae23d9c1e8
commit fe6621925d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455948
3 changed files with 21 additions and 18 deletions

View File

@ -2,10 +2,8 @@
# $FreeBSD$
PORTNAME= asciidoc
PORTVERSION= 8.6.9
PORTREVISION= 6
PORTVERSION= 8.6.10
CATEGORIES= textproc
MASTER_SITES= SF
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Text document format for writing short documents and man pages
@ -14,24 +12,23 @@ LICENSE= GPLv2 MIT
LICENSE_COMB= multi
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
RUN_DEPENDS= docbook-xsl>=0:textproc/docbook-xsl
BUILD_DEPENDS= docbook-xsl>=0:textproc/docbook-xsl
RUN_DEPENDS:= ${BUILD_DEPENDS}
GNU_CONFIGURE= yes
NO_ARCH= yes
USE_GNOME= libxml2:run libxslt:run
USES= gmake gnome python:2.7 shebangfix
USE_GNOME= libxml2 libxslt
USES= autoreconf gmake gnome python:2.7 shebangfix
SHEBANG_FILES= a2x.py \
asciidoc.py \
asciidocapi.py \
filters/code/code-filter.py \
filters/graphviz/graphviz2png.py \
filters/latex/latex2png.py \
filters/music/music2png.py
USE_GITHUB= yes
SHEBANG_GLOB= *.py
SHEBANG_LANG= python2
python2_CMD= ${PYTHON_CMD}
post-patch:
@${REINPLACE_CMD} -e '/^INSTALL_PROG/ s|INSTALL_PROGRAM|INSTALL_SCRIPT|; s|\.conf|&.sample|' ${WRKSRC}/Makefile.in
@${FIND} ${WRKSRC} -name '*.conf' | ${XARGS} -I % ${MV} % %.sample
@${REINPLACE_CMD} -e '/^INSTALL_PROG/ s|INSTALL_PROGRAM|INSTALL_SCRIPT|; s|\.conf|&.sample|; s|python\( a2x.py\)|${PYTHON_CMD}\1|' ${WRKSRC}/Makefile.in
@${FIND} ${WRKSRC} -name '*.conf' | ${XARGS} -I % ${LN} % %.sample
post-install:
${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/

View File

@ -1,2 +1,3 @@
SHA256 (asciidoc-8.6.9.tar.gz) = 78db9d0567c8ab6570a6eff7ffdf84eadd91f2dfc0a92a2d0105d323cab4e1f0
SIZE (asciidoc-8.6.9.tar.gz) = 907253
TIMESTAMP = 1510440370
SHA256 (asciidoc-asciidoc-8.6.10_GH0.tar.gz) = 9e52f8578d891beaef25730a92a6e723596ddbd07bfe0d2a56486fcf63a0b983
SIZE (asciidoc-asciidoc-8.6.10_GH0.tar.gz) = 577208

View File

@ -19,7 +19,7 @@ bin/asciidoc.py
@sample %%ETCDIR%%/filters/graphviz/graphviz-filter.conf.sample
%%ETCDIR%%/filters/graphviz/graphviz2png.py
@sample %%ETCDIR%%/filters/latex/latex-filter.conf.sample
%%ETCDIR%%/filters/latex/latex2png.py
%%ETCDIR%%/filters/latex/latex2img.py
@sample %%ETCDIR%%/filters/music/music-filter.conf.sample
%%ETCDIR%%/filters/music/music2png.py
@sample %%ETCDIR%%/filters/source/source-highlight-filter.conf.sample
@ -62,13 +62,18 @@ bin/asciidoc.py
@sample %%ETCDIR%%/lang-el.conf.sample
@sample %%ETCDIR%%/lang-en.conf.sample
@sample %%ETCDIR%%/lang-es.conf.sample
@sample %%ETCDIR%%/lang-fi.conf.sample
@sample %%ETCDIR%%/lang-fr.conf.sample
@sample %%ETCDIR%%/lang-hu.conf.sample
@sample %%ETCDIR%%/lang-id.conf.sample
@sample %%ETCDIR%%/lang-it.conf.sample
@sample %%ETCDIR%%/lang-ja.conf.sample
@sample %%ETCDIR%%/lang-nl.conf.sample
@sample %%ETCDIR%%/lang-pl.conf.sample
@sample %%ETCDIR%%/lang-pt-BR.conf.sample
@sample %%ETCDIR%%/lang-ro.conf.sample
@sample %%ETCDIR%%/lang-ru.conf.sample
@sample %%ETCDIR%%/lang-sv.conf.sample
@sample %%ETCDIR%%/lang-uk.conf.sample
@sample %%ETCDIR%%/latex.conf.sample
@sample %%ETCDIR%%/slidy.conf.sample