aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanilo G. Baio <dbaio@FreeBSD.org>2021-08-26 11:08:57 +0000
committerDanilo G. Baio <dbaio@FreeBSD.org>2021-08-26 11:10:03 +0000
commit9b532a543d7cc91c8f265bbf43de31d30e53d293 (patch)
treea6c234cbb7173a19a79f46415107c03f78354abb
parent8a11a68de5f7a14afac8b3e9cc8ae7cd94aee67c (diff)
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/rubygem-asciidoctor-epub3/Makefile24
-rw-r--r--textproc/rubygem-asciidoctor-epub3/distinfo3
-rw-r--r--textproc/rubygem-asciidoctor-epub3/pkg-descr5
4 files changed, 33 insertions, 0 deletions
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@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