summaryrefslogtreecommitdiff
path: root/textproc/hs-case-insensitive/buildlink3.mk
diff options
context:
space:
mode:
authorszptvlfn <szptvlfn>2014-09-05 21:36:49 +0000
committerszptvlfn <szptvlfn>2014-09-05 21:36:49 +0000
commitb70561974e17653a328e3d298f8025ca301f6421 (patch)
tree7a7c93229fc6e6819cd09791483062ea10f26614 /textproc/hs-case-insensitive/buildlink3.mk
parent9f1190ce8ff695a0bc9316a31b62c96c7ed47abc (diff)
downloadpkgsrc-b70561974e17653a328e3d298f8025ca301f6421.tar.gz
Import case-insensitive-1.2.0.0 as textproc/hs-case-insensitive,
packaged for wip by pho. The module Data.CaseInsensitive provides the CI type constructor which can be parameterised by a string-like type like: String, ByteString, Text, etc.. Comparisons of values of the resulting type will be insensitive to cases.
Diffstat (limited to 'textproc/hs-case-insensitive/buildlink3.mk')
-rw-r--r--textproc/hs-case-insensitive/buildlink3.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/textproc/hs-case-insensitive/buildlink3.mk b/textproc/hs-case-insensitive/buildlink3.mk
new file mode 100644
index 00000000000..27d44118155
--- /dev/null
+++ b/textproc/hs-case-insensitive/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/09/05 21:36:49 szptvlfn Exp $
+
+BUILDLINK_TREE+= hs-case-insensitive
+
+.if !defined(HS_CASE_INSENSITIVE_BUILDLINK3_MK)
+HS_CASE_INSENSITIVE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-case-insensitive+= hs-case-insensitive>=1.2.0
+BUILDLINK_ABI_DEPENDS.hs-case-insensitive+= hs-case-insensitive>=1.2.0.0
+BUILDLINK_PKGSRCDIR.hs-case-insensitive?= ../../textproc/hs-case-insensitive
+
+.include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../devel/hs-text/buildlink3.mk"
+.endif # HS_CASE_INSENSITIVE_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-case-insensitive