summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorriastradh <riastradh@pkgsrc.org>2020-03-30 16:50:31 +0000
committerriastradh <riastradh@pkgsrc.org>2020-03-30 16:50:31 +0000
commit6b80f35e42d88a309639fe1955318bbc9c35898b (patch)
treeaf4eef40c83adda17d5772851ff91a2f3d7ee445 /textproc
parent12f8595191dbee6ede860302f6ac325efa74d5e7 (diff)
downloadpkgsrc-6b80f35e42d88a309639fe1955318bbc9c35898b.tar.gz
hs-wcwidth: Import version 0.0.2
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile3
-rw-r--r--textproc/hs-wcwidth/DESCR3
-rw-r--r--textproc/hs-wcwidth/Makefile15
-rw-r--r--textproc/hs-wcwidth/buildlink3.mk13
-rw-r--r--textproc/hs-wcwidth/distinfo6
5 files changed, 39 insertions, 1 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index c8ad8c70db6..b1cadabd2cb 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1127 2020/03/30 16:49:55 riastradh Exp $
+# $NetBSD: Makefile,v 1.1128 2020/03/30 16:50:31 riastradh Exp $
#
COMMENT= Text processing utilities (does not include desktop publishing)
@@ -328,6 +328,7 @@ SUBDIR+= hs-texmath
SUBDIR+= hs-text-short
SUBDIR+= hs-unicode-show
SUBDIR+= hs-unicode-transforms
+SUBDIR+= hs-wcwidth
SUBDIR+= hs-xml
SUBDIR+= hs-yaml
SUBDIR+= html
diff --git a/textproc/hs-wcwidth/DESCR b/textproc/hs-wcwidth/DESCR
new file mode 100644
index 00000000000..eba311bcc1d
--- /dev/null
+++ b/textproc/hs-wcwidth/DESCR
@@ -0,0 +1,3 @@
+Bindings for your system's native wcwidth and a command line tool to
+examine the widths assigned by it. The command line tool can compile
+a width table to Haskell code that assigns widths to the Char type.
diff --git a/textproc/hs-wcwidth/Makefile b/textproc/hs-wcwidth/Makefile
new file mode 100644
index 00000000000..b6302b449a8
--- /dev/null
+++ b/textproc/hs-wcwidth/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2020/03/30 16:50:31 riastradh Exp $
+
+DISTNAME= wcwidth-0.0.2
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_HASKELL_HACKAGE:=wcwidth-${PKGVERSION_NOREV}/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/solidsnack/wcwidth
+COMMENT= Native wcwidth
+LICENSE= modified-bsd
+
+USE_LANGUAGES= # none
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/hs-wcwidth/buildlink3.mk b/textproc/hs-wcwidth/buildlink3.mk
new file mode 100644
index 00000000000..53b587b9f03
--- /dev/null
+++ b/textproc/hs-wcwidth/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/03/30 16:50:31 riastradh Exp $
+
+BUILDLINK_TREE+= hs-wcwidth
+
+.if !defined(HS_WCWIDTH_BUILDLINK3_MK)
+HS_WCWIDTH_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-wcwidth+= hs-wcwidth>=0.0.2
+BUILDLINK_ABI_DEPENDS.hs-wcwidth+= hs-wcwidth>=0.0.2
+BUILDLINK_PKGSRCDIR.hs-wcwidth?= ../../textproc/hs-wcwidth
+.endif # HS_WCWIDTH_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-wcwidth
diff --git a/textproc/hs-wcwidth/distinfo b/textproc/hs-wcwidth/distinfo
new file mode 100644
index 00000000000..7db605cfceb
--- /dev/null
+++ b/textproc/hs-wcwidth/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/03/30 16:50:31 riastradh Exp $
+
+SHA1 (wcwidth-0.0.2.tar.gz) = db955033416171311f6973f668f3f010c35a7912
+RMD160 (wcwidth-0.0.2.tar.gz) = 19dce6e9042fc77e286375939ec040bee65430df
+SHA512 (wcwidth-0.0.2.tar.gz) = 555c38183c7c402a66c151e52bbac9e6c501528cd661ad1708576444b6dc4daa19e0d75c9b79f8590843e0e40b3758d9bea08e426e754688cd32070dfce5a649
+Size (wcwidth-0.0.2.tar.gz) = 4168 bytes