aboutsummaryrefslogtreecommitdiff
path: root/devel/go-runewidth
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2016-10-26 11:06:40 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2016-10-26 11:06:40 +0000
commit09b31e691f60ba62fe73cf9b56a3ce75c64155b1 (patch)
treec0b855976e397fef8893172a0185f1ab24ce549e /devel/go-runewidth
parent9066e9c3099bd861e87b8604a39c894a6da1f633 (diff)
downloadports-09b31e691f60ba62fe73cf9b56a3ce75c64155b1.tar.gz
ports-09b31e691f60ba62fe73cf9b56a3ce75c64155b1.zip
Readd devel/go-runewidth because there was another consumer
Notes
Notes: svn path=/head/; revision=424689
Diffstat (limited to 'devel/go-runewidth')
-rw-r--r--devel/go-runewidth/Makefile20
-rw-r--r--devel/go-runewidth/distinfo3
-rw-r--r--devel/go-runewidth/pkg-descr4
-rw-r--r--devel/go-runewidth/pkg-plist6
4 files changed, 33 insertions, 0 deletions
diff --git a/devel/go-runewidth/Makefile b/devel/go-runewidth/Makefile
new file mode 100644
index 000000000000..8782ef97b73b
--- /dev/null
+++ b/devel/go-runewidth/Makefile
@@ -0,0 +1,20 @@
+# Created by: Akinori MUSHA aka knu <knu@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= go-runewidth
+PORTVERSION= 0.0.1
+CATEGORIES= devel
+
+MAINTAINER= knu@FreeBSD.org
+COMMENT= Go library to get the fixed width of a character or string
+
+LICENSE= MIT
+
+USES= go
+USE_GITHUB= yes
+GH_ACCOUNT= mattn
+GH_TAGNAME= d6bea18f
+
+GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/devel/go-runewidth/distinfo b/devel/go-runewidth/distinfo
new file mode 100644
index 000000000000..340130433cbe
--- /dev/null
+++ b/devel/go-runewidth/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1477479984
+SHA256 (mattn-go-runewidth-0.0.1-d6bea18f_GH0.tar.gz) = 7ad847cd4cba8007609f8e0d42f90ff6220ae63c85a0e441eb10558859226fef
+SIZE (mattn-go-runewidth-0.0.1-d6bea18f_GH0.tar.gz) = 5877
diff --git a/devel/go-runewidth/pkg-descr b/devel/go-runewidth/pkg-descr
new file mode 100644
index 000000000000..fd045facebc3
--- /dev/null
+++ b/devel/go-runewidth/pkg-descr
@@ -0,0 +1,4 @@
+Go-runewidth provides functions to get the fixed width of a character
+or string.
+
+WWW: https://github.com/mattn/go-runewidth
diff --git a/devel/go-runewidth/pkg-plist b/devel/go-runewidth/pkg-plist
new file mode 100644
index 000000000000..d2de327db052
--- /dev/null
+++ b/devel/go-runewidth/pkg-plist
@@ -0,0 +1,6 @@
+%%GO_LIBDIR%%/github.com/mattn/go-runewidth.a
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/README.mkd
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/runewidth.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/runewidth_posix.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/runewidth_test.go
+%%GO_SRCDIR%%/%%GO_PKGNAME%%/runewidth_windows.go