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

Collapse All | Expand All

(-)Makefile (-2 / +11 lines)
Lines 2-8 Link Here
2
2
3
PORTNAME=	cgit
3
PORTNAME=	cgit
4
PORTVERSION=	1.1
4
PORTVERSION=	1.1
5
PORTREVISION=	17
5
PORTREVISION=	18
6
CATEGORIES=	devel www
6
CATEGORIES=	devel www
7
MASTER_SITES=	http://git.zx2c4.com/cgit/snapshot/:cgit \
7
MASTER_SITES=	http://git.zx2c4.com/cgit/snapshot/:cgit \
8
		https://www.kernel.org/pub/software/scm/git/:git
8
		https://www.kernel.org/pub/software/scm/git/:git
Lines 35-42 Link Here
35
35
36
PORTDOCS=	${PORTNAME}rc.5.txt
36
PORTDOCS=	${PORTNAME}rc.5.txt
37
37
38
OPTIONS_DEFINE=	DOCS
38
OPTIONS_DEFINE=	DOCS ASCIIDOC
39
OPTIONS_DEFAULT=	DOCS ASCIIDOC
40
OPTIONS_SUB=	yes
39
41
42
ASCIIDOC_DESC=	Use asciidoc to preprocess man page
43
ASCIIDOC_BUILD_DEPENDS=	a2x:textproc/asciidoc
44
40
post-extract:
45
post-extract:
41
	@${RMDIR} ${WRKSRC}/git
46
	@${RMDIR} ${WRKSRC}/git
42
	@${MV} ${WRKDIR}/git-${GIT_VERSION} ${WRKSRC}/git
47
	@${MV} ${WRKDIR}/git-${GIT_VERSION} ${WRKSRC}/git
Lines 57-60 Link Here
57
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
62
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
58
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
63
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
59
64
65
post-install-ASCIIDOC-on:
66
	a2x --doctype manpage --format manpage ${WRKSRC}/cgitrc.5.txt
67
	${INSTALL_MAN} ${WRKSRC}/cgitrc.5 ${STAGEDIR}${PREFIX}/man/man5
68
60
.include <bsd.port.mk>
69
.include <bsd.port.mk>
(-)pkg-plist (+1 lines)
Lines 12-17 Link Here
12
lib/cgit/filters/simple-authentication.lua
12
lib/cgit/filters/simple-authentication.lua
13
lib/cgit/filters/syntax-highlighting.py
13
lib/cgit/filters/syntax-highlighting.py
14
lib/cgit/filters/syntax-highlighting.sh
14
lib/cgit/filters/syntax-highlighting.sh
15
%%ASCIIDOC%%man/man5/cgitrc.5.gz
15
%%WWWDIR%%/cgit.cgi
16
%%WWWDIR%%/cgit.cgi
16
%%WWWDIR%%/cgit.css
17
%%WWWDIR%%/cgit.css
17
%%WWWDIR%%/cgit.png
18
%%WWWDIR%%/cgit.png

Return to bug 227304