svn commit: r455948 - head/textproc/asciidoc

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Mon Dec 11 10:37:36 UTC 2017


Author: sunpoet
Date: Mon Dec 11 10:37:33 2017
New Revision: 455948
URL: https://svnweb.freebsd.org/changeset/ports/455948

Log:
  Update to 8.6.10
  
  - Change MASTER_SITES to GitHub
  - Use SHEBANG_GLOB
  
  Changes:	https://github.com/asciidoc/asciidoc/releases

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

Modified: head/textproc/asciidoc/Makefile
==============================================================================
--- head/textproc/asciidoc/Makefile	Mon Dec 11 10:37:28 2017	(r455947)
+++ head/textproc/asciidoc/Makefile	Mon Dec 11 10:37:33 2017	(r455948)
@@ -2,10 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	asciidoc
-PORTVERSION=	8.6.9
-PORTREVISION=	6
+PORTVERSION=	8.6.10
 CATEGORIES=	textproc
-MASTER_SITES=	SF
 
 MAINTAINER=	sunpoet at 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}/

Modified: head/textproc/asciidoc/distinfo
==============================================================================
--- head/textproc/asciidoc/distinfo	Mon Dec 11 10:37:28 2017	(r455947)
+++ head/textproc/asciidoc/distinfo	Mon Dec 11 10:37:33 2017	(r455948)
@@ -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

Modified: head/textproc/asciidoc/pkg-plist
==============================================================================
--- head/textproc/asciidoc/pkg-plist	Mon Dec 11 10:37:28 2017	(r455947)
+++ head/textproc/asciidoc/pkg-plist	Mon Dec 11 10:37:33 2017	(r455948)
@@ -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
+ at sample %%ETCDIR%%/lang-fi.conf.sample
 @sample %%ETCDIR%%/lang-fr.conf.sample
 @sample %%ETCDIR%%/lang-hu.conf.sample
+ at sample %%ETCDIR%%/lang-id.conf.sample
 @sample %%ETCDIR%%/lang-it.conf.sample
+ at sample %%ETCDIR%%/lang-ja.conf.sample
 @sample %%ETCDIR%%/lang-nl.conf.sample
+ at 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
+ at sample %%ETCDIR%%/lang-sv.conf.sample
 @sample %%ETCDIR%%/lang-uk.conf.sample
 @sample %%ETCDIR%%/latex.conf.sample
 @sample %%ETCDIR%%/slidy.conf.sample


More information about the svn-ports-all mailing list