aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-12-11 05:29:42 +0800
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-12-11 05:29:42 +0800
commitd20e85c681425a33bf3a126242ae889f1a66c09f (patch)
tree74d59e0830cbbe3f50ef58f1d56374a524e40671 /print
parent5ac98da7c283d5b7e10ac2921d324755711b7382 (diff)
downloadfreebsd-ports-gnome-d20e85c681425a33bf3a126242ae889f1a66c09f.tar.gz
freebsd-ports-gnome-d20e85c681425a33bf3a126242ae889f1a66c09f.tar.zst
freebsd-ports-gnome-d20e85c681425a33bf3a126242ae889f1a66c09f.zip
Add rubygem-prawn-templates 0.1.2
Support for templates was dropped in Prawn 0.13.0, disabled by default in 0.14.0, and extracted in 0.15.0. This gem includes the extracted templates code, which is mainly unsupported, but provides the old functionality that was in Prawn 0.12.0 for years. WWW: https://github.com/prawnpdf/prawn-templates
Diffstat (limited to 'print')
-rw-r--r--print/Makefile1
-rw-r--r--print/rubygem-prawn-templates/Makefile25
-rw-r--r--print/rubygem-prawn-templates/distinfo3
-rw-r--r--print/rubygem-prawn-templates/pkg-descr7
4 files changed, 36 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index e9f86078b189..1fd712c58f73 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -216,6 +216,7 @@
SUBDIR += rubygem-prawn-security
SUBDIR += rubygem-prawn-svg
SUBDIR += rubygem-prawn-table
+ SUBDIR += rubygem-prawn-templates
SUBDIR += rubygem-prawn_shapes
SUBDIR += rubygem-rbpdf
SUBDIR += rubygem-rbpdf-font
diff --git a/print/rubygem-prawn-templates/Makefile b/print/rubygem-prawn-templates/Makefile
new file mode 100644
index 000000000000..3ce572bd19bc
--- /dev/null
+++ b/print/rubygem-prawn-templates/Makefile
@@ -0,0 +1,25 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= prawn-templates
+PORTVERSION= 0.1.2
+CATEGORIES= print rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Include other pdfs or combine several pdf documents into one
+
+LICENSE= GPLv2 GPLv3
+LICENSE_COMB= dual
+LICENSE_FILE_GPLv2= ${WRKSRC}/GPLv2
+LICENSE_FILE_GPLv3= ${WRKSRC}/GPLv3
+
+RUN_DEPENDS= rubygem-pdf-reader>=2.0<3:print/rubygem-pdf-reader \
+ rubygem-prawn>=2.2<3:print/rubygem-prawn
+
+USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/print/rubygem-prawn-templates/distinfo b/print/rubygem-prawn-templates/distinfo
new file mode 100644
index 000000000000..d05486f7081b
--- /dev/null
+++ b/print/rubygem-prawn-templates/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1607539647
+SHA256 (rubygem/prawn-templates-0.1.2.gem) = 117aa03db570147cb86fcd7de4fd896994f702eada1d699848a9529a87cd31f1
+SIZE (rubygem/prawn-templates-0.1.2.gem) = 28160
diff --git a/print/rubygem-prawn-templates/pkg-descr b/print/rubygem-prawn-templates/pkg-descr
new file mode 100644
index 000000000000..1945f5ad52e7
--- /dev/null
+++ b/print/rubygem-prawn-templates/pkg-descr
@@ -0,0 +1,7 @@
+Support for templates was dropped in Prawn 0.13.0, disabled by default in
+0.14.0, and extracted in 0.15.0.
+
+This gem includes the extracted templates code, which is mainly unsupported, but
+provides the old functionality that was in Prawn 0.12.0 for years.
+
+WWW: https://github.com/prawnpdf/prawn-templates