diff options
author | Pat Maddox <pat@patmaddox.com> | 2023-12-13 07:27:33 +0000 |
---|---|---|
committer | Koichiro Iwao <meta@FreeBSD.org> | 2024-01-09 04:14:57 +0000 |
commit | 63843561f321c329301beec829a2403d9b55feef (patch) | |
tree | b62bf379dcb1e206ce71980b8c257e9bca75a3f2 /textproc | |
parent | ae1b3c875b3202e82de9a024b9edbe2ca570d911 (diff) | |
download | ports-63843561f321c329301beec829a2403d9b55feef.tar.gz ports-63843561f321c329301beec829a2403d9b55feef.zip |
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
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/ox-gfm.el/Makefile | 32 | ||||
-rw-r--r-- | textproc/ox-gfm.el/distinfo | 3 | ||||
-rw-r--r-- | textproc/ox-gfm.el/pkg-descr | 7 | ||||
-rw-r--r-- | textproc/ox-gfm.el/pkg-plist | 2 |
5 files changed, 45 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index d9db352bbc8d..a16475d470d2 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -527,6 +527,7 @@ SUBDIR += openvanilla-framework SUBDIR += or-aspell SUBDIR += ov + SUBDIR += ox-gfm.el SUBDIR += p5-AI-Categorizer SUBDIR += p5-Algorithm-CheckDigits SUBDIR += p5-Algorithm-RabinKarp diff --git a/textproc/ox-gfm.el/Makefile b/textproc/ox-gfm.el/Makefile new file mode 100644 index 000000000000..8272fc3c22b2 --- /dev/null +++ b/textproc/ox-gfm.el/Makefile @@ -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> diff --git a/textproc/ox-gfm.el/distinfo b/textproc/ox-gfm.el/distinfo new file mode 100644 index 000000000000..c9ab75f4ec72 --- /dev/null +++ b/textproc/ox-gfm.el/distinfo @@ -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 diff --git a/textproc/ox-gfm.el/pkg-descr b/textproc/ox-gfm.el/pkg-descr new file mode 100644 index 000000000000..8275a2d3ff95 --- /dev/null +++ b/textproc/ox-gfm.el/pkg-descr @@ -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. diff --git a/textproc/ox-gfm.el/pkg-plist b/textproc/ox-gfm.el/pkg-plist new file mode 100644 index 000000000000..1d3db5b6c911 --- /dev/null +++ b/textproc/ox-gfm.el/pkg-plist @@ -0,0 +1,2 @@ +%%PORTDOCS%%%%DOCSDIR%%/README.md +%%EMACS_SITE_LISPDIR%%/ox-gfm.el |