mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
textproc/txt2tags: Adopt/Update to 3.8
- Switch to DISTVERSION - Use MASTER_SITES=PYPI ChangeLog: https://github.com/txt2tags/txt2tags/releases/tag/3.8
This commit is contained in:
parent
dba73062dc
commit
b32e04acf3
@ -1,39 +1,19 @@
|
||||
PORTNAME= txt2tags
|
||||
PORTVERSION= 3.7
|
||||
CATEGORIES= textproc
|
||||
DISTVERSION= 3.8
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Convert simply formatted text into markup (e.g., HTML)
|
||||
MAINTAINER= eduardo@FreeBSD.org
|
||||
COMMENT= Convert plain text into many markup languages
|
||||
WWW= https://txt2tags.org/
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= python:3.6+ shebangfix
|
||||
SHEBANG_FILES= txt2tags.py
|
||||
USE_GITHUB= yes
|
||||
NO_BUILD= yes
|
||||
USES= python
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
PORTDOCS= *
|
||||
PORTEXAMPLES= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/txt2tags.py ${STAGEDIR}${PREFIX}/bin/txt2tags
|
||||
|
||||
do-install-EXAMPLES-on:
|
||||
@cd ${WRKSRC}/samples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
|
||||
@cd ${WRKSRC} && ${COPYTREE_SHARE} extras ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/CHANGELOG.md ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
||||
.for doc in markup rules userguide
|
||||
@cd ${WRKSRC}/docs/${doc} && ${WRKSRC}/txt2tags.py ${doc}.t2t
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/${doc}/${doc}.html ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1613155353
|
||||
SHA256 (txt2tags-txt2tags-3.7_GH0.tar.gz) = ba745fc1aa98996578afadeb325173f7032a40f161dc4f6f7a7aa08848d11d03
|
||||
SIZE (txt2tags-txt2tags-3.7_GH0.tar.gz) = 248392
|
||||
TIMESTAMP = 1678867941
|
||||
SHA256 (txt2tags-3.8.tar.gz) = 379869e866ed85225181ac65583827781a166c907de8bb40a9f3daf7b16c3483
|
||||
SIZE (txt2tags-3.8.tar.gz) = 51692
|
||||
|
@ -1 +1,11 @@
|
||||
txt2tags is a utility to turn simply formatted text into markup (e.g., HTML).
|
||||
txt2tags reads a text file with minimal markup such as **bold** and //italic//
|
||||
and converts it to many formats, such as:
|
||||
|
||||
- AsciiDoc
|
||||
- DocBook
|
||||
- HTML
|
||||
- LaTeX
|
||||
- MoinMoin
|
||||
- UNIX man page
|
||||
- Wikipedia/MediaWiki
|
||||
- and many others.
|
||||
|
Loading…
Reference in New Issue
Block a user