textproc/ox-gfm.el: new port
This package adds an Org mode export backend for GitHub Flavored Markdown. Exporting to Github Flavored Markdown is available through Org mode's export dispatcher once ox-gfm is loaded. Alternatively, exporting can be triggered by calling the (autoloaded) function M-x org-gfm-export-to-markdown. PR: 275740
This commit is contained in:
parent
ae1b3c875b
commit
63843561f3
|
@ -527,6 +527,7 @@
|
||||||
SUBDIR += openvanilla-framework
|
SUBDIR += openvanilla-framework
|
||||||
SUBDIR += or-aspell
|
SUBDIR += or-aspell
|
||||||
SUBDIR += ov
|
SUBDIR += ov
|
||||||
|
SUBDIR += ox-gfm.el
|
||||||
SUBDIR += p5-AI-Categorizer
|
SUBDIR += p5-AI-Categorizer
|
||||||
SUBDIR += p5-Algorithm-CheckDigits
|
SUBDIR += p5-Algorithm-CheckDigits
|
||||||
SUBDIR += p5-Algorithm-RabinKarp
|
SUBDIR += p5-Algorithm-RabinKarp
|
||||||
|
|
32
textproc/ox-gfm.el/Makefile
Normal file
32
textproc/ox-gfm.el/Makefile
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
PORTNAME= ox-gfm.el
|
||||||
|
PORTVERSION= 1.0p20220910
|
||||||
|
CATEGORIES= textproc
|
||||||
|
|
||||||
|
MAINTAINER= pat@patmaddox.com
|
||||||
|
COMMENT= Github Flavored Markdown exporter for Org Mode
|
||||||
|
WWW= https://github.com/larstvei/ox-gfm
|
||||||
|
|
||||||
|
LICENSE= GPLv3+
|
||||||
|
|
||||||
|
USES= emacs
|
||||||
|
EMACS_NO_DEPENDS= yes
|
||||||
|
|
||||||
|
USE_GITHUB= yes
|
||||||
|
GH_ACCOUNT= larstvei
|
||||||
|
GH_PROJECT= ox-gfm
|
||||||
|
GH_TAGNAME= 46faa67
|
||||||
|
|
||||||
|
NO_ARCH= yes
|
||||||
|
NO_BUILD= yes
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
@${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/*.el ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
|
||||||
|
|
||||||
|
post-install-DOCS-on:
|
||||||
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/*.md ${STAGEDIR}${DOCSDIR}
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
textproc/ox-gfm.el/distinfo
Normal file
3
textproc/ox-gfm.el/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1702447167
|
||||||
|
SHA256 (larstvei-ox-gfm-1.0p20220910-46faa67_GH0.tar.gz) = 82736b4d1d3dfaa098aaabb97164d12e8d30b5c4ae239c03422be2bdcd7a5b6d
|
||||||
|
SIZE (larstvei-ox-gfm-1.0p20220910-46faa67_GH0.tar.gz) = 4748
|
7
textproc/ox-gfm.el/pkg-descr
Normal file
7
textproc/ox-gfm.el/pkg-descr
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
This package adds an Org mode export backend for GitHub Flavored
|
||||||
|
Markdown.
|
||||||
|
|
||||||
|
Exporting to Github Flavored Markdown is available through Org mode's
|
||||||
|
export dispatcher once ox-gfm is loaded. Alternatively, exporting can
|
||||||
|
be triggered by calling the (autoloaded) function M-x
|
||||||
|
org-gfm-export-to-markdown.
|
2
textproc/ox-gfm.el/pkg-plist
Normal file
2
textproc/ox-gfm.el/pkg-plist
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.md
|
||||||
|
%%EMACS_SITE_LISPDIR%%/ox-gfm.el
|
Loading…
Reference in a new issue