summaryrefslogtreecommitdiff
path: root/textproc/hs-shakespeare
diff options
context:
space:
mode:
authorriastradh <riastradh@pkgsrc.org>2020-03-30 16:48:01 +0000
committerriastradh <riastradh@pkgsrc.org>2020-03-30 16:48:01 +0000
commit465fbcb385a2060384a15b79c7b7020fd5a13202 (patch)
treeb45490b87f6120aecbfcc2bf676a25294c619c63 /textproc/hs-shakespeare
parent0126fe557feb4b0489f0f5885a4140a8bc52b3d6 (diff)
downloadpkgsrc-465fbcb385a2060384a15b79c7b7020fd5a13202.tar.gz
hs-shakespeare: Import version 2.0.24
Diffstat (limited to 'textproc/hs-shakespeare')
-rw-r--r--textproc/hs-shakespeare/DESCR7
-rw-r--r--textproc/hs-shakespeare/Makefile16
-rw-r--r--textproc/hs-shakespeare/buildlink3.mk13
-rw-r--r--textproc/hs-shakespeare/distinfo6
4 files changed, 42 insertions, 0 deletions
diff --git a/textproc/hs-shakespeare/DESCR b/textproc/hs-shakespeare/DESCR
new file mode 100644
index 00000000000..8bf7f581e64
--- /dev/null
+++ b/textproc/hs-shakespeare/DESCR
@@ -0,0 +1,7 @@
+Shakespeare is a family of type-safe, efficient template languages.
+Shakespeare templates are expanded at compile-time, ensuring that all
+interpolated variables are in scope. Variables are interpolated
+according to their type through a typeclass.
+
+Shakespeare templates can be used inline with a quasi-quoter or in an
+external file.
diff --git a/textproc/hs-shakespeare/Makefile b/textproc/hs-shakespeare/Makefile
new file mode 100644
index 00000000000..b8842333299
--- /dev/null
+++ b/textproc/hs-shakespeare/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2020/03/30 16:48:01 riastradh Exp $
+
+DISTNAME= shakespeare-2.0.24
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_HASKELL_HACKAGE:=shakespeare-${PKGVERSION_NOREV}/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.yesodweb.com/book/shakespearean-templates
+COMMENT= Toolkit for making compile-time interpolated templates
+LICENSE= mit
+
+USE_LANGUAGES= # none
+
+.include "../../mk/haskell.mk"
+.include "../../textproc/hs-blaze-html/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/hs-shakespeare/buildlink3.mk b/textproc/hs-shakespeare/buildlink3.mk
new file mode 100644
index 00000000000..d2e1812906e
--- /dev/null
+++ b/textproc/hs-shakespeare/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/03/30 16:48:01 riastradh Exp $
+
+BUILDLINK_TREE+= hs-shakespeare
+
+.if !defined(HS_SHAKESPEARE_BUILDLINK3_MK)
+HS_SHAKESPEARE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-shakespeare+= hs-shakespeare>=2.0.24
+BUILDLINK_ABI_DEPENDS.hs-shakespeare+= hs-shakespeare>=2.0.24
+BUILDLINK_PKGSRCDIR.hs-shakespeare?= ../../textproc/hs-shakespeare
+.endif # HS_SHAKESPEARE_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-shakespeare
diff --git a/textproc/hs-shakespeare/distinfo b/textproc/hs-shakespeare/distinfo
new file mode 100644
index 00000000000..03ddaa3ddfa
--- /dev/null
+++ b/textproc/hs-shakespeare/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/03/30 16:48:01 riastradh Exp $
+
+SHA1 (shakespeare-2.0.24.tar.gz) = 96712da0890dcca47b29b293df8433e52e75b769
+RMD160 (shakespeare-2.0.24.tar.gz) = 917351b0eb021ee72da547375a7c0ccd0642a4ef
+SHA512 (shakespeare-2.0.24.tar.gz) = ca6a70a7415bc9302cb5d08efac2ad30db2889b7b7c2292e4b62dc2d35d5b56c7ec757e1bfa3d11778f7bb76a2e4083cd8837730121fb4c3a65dc3d83524f436
+Size (shakespeare-2.0.24.tar.gz) = 66155 bytes