FreeBSD Bugzilla – Attachment 192527 Details for
Bug 227304
[PATCH] devel/cgit: build proper manpage for cgitrc(5)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to build manpage with asciidoc
cgit-build-proper-man-page-for-cgitrc.diff (text/plain), 1.38 KB, created by
Marko Turk
on 2018-04-15 14:05:11 UTC
(
hide
)
Description:
patch to build manpage with asciidoc
Filename:
MIME Type:
Creator:
Marko Turk
Created:
2018-04-15 14:05:11 UTC
Size:
1.38 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 466506) >+++ Makefile (working copy) >@@ -2,7 +2,7 @@ > > PORTNAME= cgit > PORTVERSION= 1.1 >-PORTREVISION= 17 >+PORTREVISION= 18 > CATEGORIES= devel www > MASTER_SITES= http://git.zx2c4.com/cgit/snapshot/:cgit \ > https://www.kernel.org/pub/software/scm/git/:git >@@ -35,8 +35,13 @@ > > PORTDOCS= ${PORTNAME}rc.5.txt > >-OPTIONS_DEFINE= DOCS >+OPTIONS_DEFINE= DOCS ASCIIDOC >+OPTIONS_DEFAULT= DOCS ASCIIDOC >+OPTIONS_SUB= yes > >+ASCIIDOC_DESC= Use asciidoc to preprocess man page >+ASCIIDOC_BUILD_DEPENDS= a2x:textproc/asciidoc >+ > post-extract: > @${RMDIR} ${WRKSRC}/git > @${MV} ${WRKDIR}/git-${GIT_VERSION} ${WRKSRC}/git >@@ -57,4 +62,8 @@ > @${MKDIR} ${STAGEDIR}${DOCSDIR} > ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} > >+post-install-ASCIIDOC-on: >+ a2x --doctype manpage --format manpage ${WRKSRC}/cgitrc.5.txt >+ ${INSTALL_MAN} ${WRKSRC}/cgitrc.5 ${STAGEDIR}${PREFIX}/man/man5 >+ > .include <bsd.port.mk> >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 466506) >+++ pkg-plist (working copy) >@@ -12,6 +12,7 @@ > lib/cgit/filters/simple-authentication.lua > lib/cgit/filters/syntax-highlighting.py > lib/cgit/filters/syntax-highlighting.sh >+%%ASCIIDOC%%man/man5/cgitrc.5.gz > %%WWWDIR%%/cgit.cgi > %%WWWDIR%%/cgit.css > %%WWWDIR%%/cgit.png
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 227304
:
192257
| 192527