git: 147e254ffb1e - main - textproc/asciidoc: Build and install manpage asciidoc(1)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Jul 2023 10:34:17 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=147e254ffb1e47f6e952a1052145ac3f8113c92c commit 147e254ffb1e47f6e952a1052145ac3f8113c92c Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-07-09 10:17:46 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-07-09 10:17:46 +0000 textproc/asciidoc: Build and install manpage asciidoc(1) - Bump PORTREVISION for package change --- textproc/asciidoc/Makefile | 12 ++++++++---- textproc/asciidoc/distinfo | 4 +++- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/textproc/asciidoc/Makefile b/textproc/asciidoc/Makefile index 067d8d87395d..1387de384f3d 100644 --- a/textproc/asciidoc/Makefile +++ b/textproc/asciidoc/Makefile @@ -1,11 +1,12 @@ PORTNAME= asciidoc PORTVERSION= 10.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= PYPI \ https://github.com/asciidoc-py/asciidoc-py/raw/${PORTVERSION}/doc/:manpage DISTFILES= asciidoc-${PORTVERSION}${EXTRACT_SUFX} \ - a2x.1.txt:manpage + a2x.1.txt:manpage \ + asciidoc.1.txt:manpage EXTRACT_ONLY= asciidoc-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= sunpoet@FreeBSD.org @@ -23,18 +24,21 @@ USE_PYTHON= autoplist distutils noflavors NO_ARCH= yes -PLIST_FILES= share/man/man1/a2x.1.gz +PLIST_FILES= share/man/man1/a2x.1.gz \ + share/man/man1/asciidoc.1.gz SHEBANG_FILES= asciidoc/resources/filters/*.py \ asciidoc/resources/filters/*/*.py post-patch: @${CP} ${DISTDIR}/a2x.1.txt ${WRKSRC}/a2x.1.txt + @${CP} ${DISTDIR}/asciidoc.1.txt ${WRKSRC}/asciidoc.1.txt post-build: @cd ${WRKSRC} && ${PYTHON_CMD} -m asciidoc.a2x -f manpage a2x.1.txt + @cd ${WRKSRC} && ${PYTHON_CMD} -m asciidoc.a2x -f manpage asciidoc.1.txt post-install: - ${INSTALL_MAN} ${WRKSRC}/a2x.1 ${STAGEDIR}${PREFIX}/share/man/man1/ + ${INSTALL_MAN} ${WRKSRC}/a2x.1 ${WRKSRC}/asciidoc.1 ${STAGEDIR}${PREFIX}/share/man/man1/ .include <bsd.port.mk> diff --git a/textproc/asciidoc/distinfo b/textproc/asciidoc/distinfo index 4402d7c2a700..263b5492a60b 100644 --- a/textproc/asciidoc/distinfo +++ b/textproc/asciidoc/distinfo @@ -1,5 +1,7 @@ -TIMESTAMP = 1665677644 +TIMESTAMP = 1688166082 SHA256 (asciidoc-10.2.0.tar.gz) = 91ff1dd4c85af7b235d03e0860f0c4e79dd1ff580fb610668a39b5c77b4ccace SIZE (asciidoc-10.2.0.tar.gz) = 216824 SHA256 (a2x.1.txt) = 51b05d6be98531ec6c7ff0459dc82fdd103bc43ae682b954c98943ead4d03de7 SIZE (a2x.1.txt) = 13050 +SHA256 (asciidoc.1.txt) = 3e412b938b51d88948e7713b5026425b15babcb8e3899ec0e2c769e10baf8d31 +SIZE (asciidoc.1.txt) = 7485