summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2020-01-02 15:27:23 +0000
committerpho <pho@pkgsrc.org>2020-01-02 15:27:23 +0000
commitae3652bf80722fdd063b83a5190cba8b3f66aeb3 (patch)
tree4b211c6e123e1ca3170f75180f8d90f8f584d7dd /net
parent10fe011a7ca01bd58bbd4968e0abc8b48662f2c5 (diff)
downloadpkgsrc-ae3652bf80722fdd063b83a5190cba8b3f66aeb3.tar.gz
Import network-uri-2.6.1.0
This package provides facilities for parsing and unparsing URIs, and creating and resolving relative URI references, closely following the URI spec, IETF RFC 3986.
Diffstat (limited to 'net')
-rw-r--r--net/hs-network-uri/DESCR3
-rw-r--r--net/hs-network-uri/Makefile12
-rw-r--r--net/hs-network-uri/buildlink3.mk15
-rw-r--r--net/hs-network-uri/distinfo6
4 files changed, 36 insertions, 0 deletions
diff --git a/net/hs-network-uri/DESCR b/net/hs-network-uri/DESCR
new file mode 100644
index 00000000000..099d2577c05
--- /dev/null
+++ b/net/hs-network-uri/DESCR
@@ -0,0 +1,3 @@
+This package provides facilities for parsing and unparsing URIs, and
+creating and resolving relative URI references, closely following the
+URI spec, IETF RFC 3986.
diff --git a/net/hs-network-uri/Makefile b/net/hs-network-uri/Makefile
new file mode 100644
index 00000000000..c8c04a81010
--- /dev/null
+++ b/net/hs-network-uri/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1 2020/01/02 15:27:23 pho Exp $
+
+DISTNAME= network-uri-2.6.1.0
+CATEGORIES= net
+
+MAINTAINER= pho@cielonegro.org
+COMMENT= URI manipulation
+LICENSE= modified-bsd
+
+.include "../../mk/haskell.mk"
+.include "../../textproc/hs-parsec/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/hs-network-uri/buildlink3.mk b/net/hs-network-uri/buildlink3.mk
new file mode 100644
index 00000000000..657e672aa28
--- /dev/null
+++ b/net/hs-network-uri/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/02 15:27:23 pho Exp $
+
+BUILDLINK_TREE+= hs-network-uri
+
+.if !defined(HS_NETWORK_URI_BUILDLINK3_MK)
+HS_NETWORK_URI_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-network-uri+= hs-network-uri>=2.6.1
+BUILDLINK_ABI_DEPENDS.hs-network-uri+= hs-network-uri>=2.6.1.0
+BUILDLINK_PKGSRCDIR.hs-network-uri?= ../../net/hs-network-uri
+
+.include "../../textproc/hs-parsec/buildlink3.mk"
+.endif # HS_NETWORK_URI_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-network-uri
diff --git a/net/hs-network-uri/distinfo b/net/hs-network-uri/distinfo
new file mode 100644
index 00000000000..e5edc0f20bf
--- /dev/null
+++ b/net/hs-network-uri/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/02 15:27:23 pho Exp $
+
+SHA1 (network-uri-2.6.1.0.tar.gz) = 1b89d8b28e378bd17ea2fd3c96a42a473f468749
+RMD160 (network-uri-2.6.1.0.tar.gz) = 591880177d5a19fad3a62c5b61af3e9e33cea94f
+SHA512 (network-uri-2.6.1.0.tar.gz) = c1b6e516cd19875aab0da325dcb8f5c6b98d43c3952bda4f96bd9c798882357c724b2facbef09e2e98d29b696a9e5518a2de9463fb0af4c5df0734fe2654cc24
+Size (network-uri-2.6.1.0.tar.gz) = 27262 bytes