View | Details | Raw Unified | Return to bug 243368 | Differences between
and this patch

Collapse All | Expand All

(-)textproc/txt2tags/Makefile (-7 / +9 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	txt2tags
4
PORTNAME=	txt2tags
5
PORTVERSION=	2.6
5
PORTVERSION=	3.4
6
PORTREVISION=	3
7
CATEGORIES=	textproc
6
CATEGORIES=	textproc
8
7
9
MAINTAINER=	lbartoletti@tuxfamily.org
8
MAINTAINER=	lbartoletti@tuxfamily.org
Lines 12-19 COMMENT= Convert simply formatted text into markup (e.g., HTML) Link Here
12
LICENSE=	GPLv2
11
LICENSE=	GPLv2
13
LICENSE_FILE=	${WRKSRC}/COPYING
12
LICENSE_FILE=	${WRKSRC}/COPYING
14
13
15
USES=		python:2.7 shebangfix
14
USES=		python:3.6+ shebangfix
16
SHEBANG_FILES=	extras/html-update.sh txt2tags
15
SHEBANG_FILES=	txt2tags.py
17
USE_GITHUB=	yes
16
USE_GITHUB=	yes
18
NO_BUILD=	yes
17
NO_BUILD=	yes
19
NO_ARCH=	yes
18
NO_ARCH=	yes
Lines 25-31 PORTEXAMPLES= * Link Here
25
OPTIONS_DEFINE=	DOCS EXAMPLES
24
OPTIONS_DEFINE=	DOCS EXAMPLES
26
25
27
do-install:
26
do-install:
28
	${INSTALL_SCRIPT} ${WRKSRC}/txt2tags ${STAGEDIR}${PREFIX}/bin
27
	${INSTALL_SCRIPT} ${WRKSRC}/txt2tags.py ${STAGEDIR}${PREFIX}/bin/txt2tags
29
28
30
do-install-EXAMPLES-on:
29
do-install-EXAMPLES-on:
31
	@cd ${WRKSRC}/samples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
30
	@cd ${WRKSRC}/samples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
Lines 33-39 do-install-EXAMPLES-on: Link Here
33
32
34
do-install-DOCS-on:
33
do-install-DOCS-on:
35
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
34
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
36
	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
35
	${INSTALL_DATA} ${WRKSRC}/CHANGELOG.md ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
37
	${INSTALL_DATA} ${WRKSRC}/doc/*/*.pdf ${STAGEDIR}${DOCSDIR}
36
.for doc in markup rules userguide
37
	@cd ${WRKSRC}/docs/${doc} && ${WRKSRC}/txt2tags.py ${doc}.t2t
38
	${INSTALL_DATA} ${WRKSRC}/docs/${doc}/${doc}.html ${STAGEDIR}${DOCSDIR}
39
.endfor
38
40
39
.include <bsd.port.mk>
41
.include <bsd.port.mk>
(-)textproc/txt2tags/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1474656184
1
TIMESTAMP = 1577715579
2
SHA256 (txt2tags-txt2tags-2.6_GH0.tar.gz) = c87b911ac5cc97dd2fdb6067601cf4fbd0094a065f6b7a593142fa75e3a924c1
2
SHA256 (txt2tags-txt2tags-3.4_GH0.tar.gz) = 989c8cc0bc69c5b2acad92cc08e61786e06ee5093969c232adda2eb905f9a00d
3
SIZE (txt2tags-txt2tags-2.6_GH0.tar.gz) = 4509515
3
SIZE (txt2tags-txt2tags-3.4_GH0.tar.gz) = 252256

Return to bug 243368