aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanilo G. Baio <dbaio@FreeBSD.org>2021-08-26 11:03:07 +0000
committerDanilo G. Baio <dbaio@FreeBSD.org>2021-08-26 11:10:02 +0000
commit8a11a68de5f7a14afac8b3e9cc8ae7cd94aee67c (patch)
tree7a7465396e64f25927aa6e376148fafe0fd216cf
parent4d09bc786d2a23a1589a5e581ac9da0e568e5315 (diff)
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/rubygem-gepub/Makefile23
-rw-r--r--textproc/rubygem-gepub/distinfo3
-rw-r--r--textproc/rubygem-gepub/pkg-descr3
4 files changed, 30 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 90fed780b102..7266bbd9a0d8 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1624,6 +1624,7 @@
SUBDIR += rubygem-ferret
SUBDIR += rubygem-fog-xml
SUBDIR += rubygem-gemoji
+ SUBDIR += rubygem-gepub
SUBDIR += rubygem-github-linguist
SUBDIR += rubygem-github-markup
SUBDIR += rubygem-github-markup17
diff --git a/textproc/rubygem-gepub/Makefile b/textproc/rubygem-gepub/Makefile
new file mode 100644
index 000000000000..487c92897fe7
--- /dev/null
+++ b/textproc/rubygem-gepub/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= gepub
+PORTVERSION= 1.0.14
+CATEGORIES= textproc rubygems
+MASTER_SITES= RG
+
+MAINTAINER= doceng@FreeBSD.org
+COMMENT= Ruby generic EPUB parser/generator
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= rubygem-nokogiri>=1.8.2<1.13:textproc/rubygem-nokogiri \
+ rubygem-rubyzip>=1.1.1<2.4:archivers/rubygem-rubyzip
+
+USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
+
+PLIST_FILES= bin/genepub \
+ bin/gepuber
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-gepub/distinfo b/textproc/rubygem-gepub/distinfo
new file mode 100644
index 000000000000..e0dae114f255
--- /dev/null
+++ b/textproc/rubygem-gepub/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1629944072
+SHA256 (rubygem/gepub-1.0.14.gem) = 04a911bfef28ec4a4875a4754a69ac87c8ff7e56ceddd4d29c079e5fa8d9c8e5
+SIZE (rubygem/gepub-1.0.14.gem) = 39424
diff --git a/textproc/rubygem-gepub/pkg-descr b/textproc/rubygem-gepub/pkg-descr
new file mode 100644
index 000000000000..8ab253280435
--- /dev/null
+++ b/textproc/rubygem-gepub/pkg-descr
@@ -0,0 +1,3 @@
+Gepub is a generic EPUB parser/generator. Generates and parse EPUB2 and EPUB3.
+
+WWW: https://github.com/skoji/gepub