From 8a11a68de5f7a14afac8b3e9cc8ae7cd94aee67c Mon Sep 17 00:00:00 2001 From: "Danilo G. Baio" Date: Thu, 26 Aug 2021 08:03:07 -0300 Subject: [PATCH] textproc/rubygem-gepub: New port Ruby generic EPUB parser/generator Gepub is a generic EPUB parser/generator. Generates and parse EPUB2 and EPUB3. WWW: https://github.com/skoji/gepub --- textproc/Makefile | 1 + textproc/rubygem-gepub/Makefile | 23 +++++++++++++++++++++++ textproc/rubygem-gepub/distinfo | 3 +++ textproc/rubygem-gepub/pkg-descr | 3 +++ 4 files changed, 30 insertions(+) create mode 100644 textproc/rubygem-gepub/Makefile create mode 100644 textproc/rubygem-gepub/distinfo create mode 100644 textproc/rubygem-gepub/pkg-descr 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 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