git: 63843561f321 - main - textproc/ox-gfm.el: new port

From: Koichiro Iwao <meta_at_FreeBSD.org>
Date: Tue, 09 Jan 2024 04:17:14 UTC
The branch main has been updated by meta:

URL: https://cgit.FreeBSD.org/ports/commit/?id=63843561f321c329301beec829a2403d9b55feef

commit 63843561f321c329301beec829a2403d9b55feef
Author:     Pat Maddox <pat@patmaddox.com>
AuthorDate: 2023-12-13 07:27:33 +0000
Commit:     Koichiro Iwao <meta@FreeBSD.org>
CommitDate: 2024-01-09 04:14:57 +0000

    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
---
 textproc/Makefile            |  1 +
 textproc/ox-gfm.el/Makefile  | 32 ++++++++++++++++++++++++++++++++
 textproc/ox-gfm.el/distinfo  |  3 +++
 textproc/ox-gfm.el/pkg-descr |  7 +++++++
 textproc/ox-gfm.el/pkg-plist |  2 ++
 5 files changed, 45 insertions(+)

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