git: 9b532a543d7c - main - textproc/rubygem-asciidoctor-epub3: New port

Danilo G. Baio dbaio at FreeBSD.org
Thu Aug 26 11:11:36 UTC 2021


The branch main has been updated by dbaio:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9b532a543d7cc91c8f265bbf43de31d30e53d293

commit 9b532a543d7cc91c8f265bbf43de31d30e53d293
Author:     Danilo G. Baio <dbaio at FreeBSD.org>
AuthorDate: 2021-08-26 11:08:57 +0000
Commit:     Danilo G. Baio <dbaio at FreeBSD.org>
CommitDate: 2021-08-26 11:10:03 +0000

    textproc/rubygem-asciidoctor-epub3: New port
    
    Convert AsciiDoc documents to EPUB3
    
    Asciidoctor EPUB3 is a set of Asciidoctor extensions for converting AsciiDoc
    documents directly to the EPUB3 and KF8/MOBI e-book formats. It's a tool for
    creating highly aesthetic, professional, easy-to-read e-books.
    
    WWW: https://github.com/asciidoctor/asciidoctor-epub3
---
 textproc/Makefile                            |  1 +
 textproc/rubygem-asciidoctor-epub3/Makefile  | 24 ++++++++++++++++++++++++
 textproc/rubygem-asciidoctor-epub3/distinfo  |  3 +++
 textproc/rubygem-asciidoctor-epub3/pkg-descr |  5 +++++
 4 files changed, 33 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 7266bbd9a0d8..8a3e3f16dc14 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1564,6 +1564,7 @@
     SUBDIR += rubygem-amatch
     SUBDIR += rubygem-asciidoctor
     SUBDIR += rubygem-asciidoctor-diagram
+    SUBDIR += rubygem-asciidoctor-epub3
     SUBDIR += rubygem-asciidoctor-include-ext
     SUBDIR += rubygem-asciidoctor-kroki
     SUBDIR += rubygem-asciidoctor-pdf
diff --git a/textproc/rubygem-asciidoctor-epub3/Makefile b/textproc/rubygem-asciidoctor-epub3/Makefile
new file mode 100644
index 000000000000..b0174e03934e
--- /dev/null
+++ b/textproc/rubygem-asciidoctor-epub3/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	asciidoctor-epub3
+PORTVERSION=	1.5.1
+CATEGORIES=	textproc rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	doceng at FreeBSD.org
+COMMENT=	Convert AsciiDoc documents to EPUB3
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-asciidoctor>=1.5.6<3:textproc/rubygem-asciidoctor \
+		rubygem-mime-types>=3.0:misc/rubygem-mime-types \
+		rubygem-gepub>=1.0.0:textproc/rubygem-gepub
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+PLIST_FILES=	bin/asciidoctor-epub3 \
+		bin/adb-push-ebook
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-asciidoctor-epub3/distinfo b/textproc/rubygem-asciidoctor-epub3/distinfo
new file mode 100644
index 000000000000..1e34781a844d
--- /dev/null
+++ b/textproc/rubygem-asciidoctor-epub3/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1629945100
+SHA256 (rubygem/asciidoctor-epub3-1.5.1.gem) = efff22bcd2e8562f8ab0df7e13de0247dd8edb3fc41e6286b36ca330c5a69e16
+SIZE (rubygem/asciidoctor-epub3-1.5.1.gem) = 2051072
diff --git a/textproc/rubygem-asciidoctor-epub3/pkg-descr b/textproc/rubygem-asciidoctor-epub3/pkg-descr
new file mode 100644
index 000000000000..1a63451805a6
--- /dev/null
+++ b/textproc/rubygem-asciidoctor-epub3/pkg-descr
@@ -0,0 +1,5 @@
+Asciidoctor EPUB3 is a set of Asciidoctor extensions for converting AsciiDoc
+documents directly to the EPUB3 and KF8/MOBI e-book formats. It's a tool for
+creating highly aesthetic, professional, easy-to-read e-books.
+
+WWW: https://github.com/asciidoctor/asciidoctor-epub3


More information about the dev-commits-ports-main mailing list