Add textproc/go-kr-text version 0.2.0

Go package for manipulating paragraphs of text.
This commit is contained in:
nikita 2020-06-29 13:04:01 +00:00
parent c86a1399cd
commit 5733970d7f
6 changed files with 75 additions and 1 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1149 2020/06/29 12:56:03 nikita Exp $
# $NetBSD: Makefile,v 1.1150 2020/06/29 13:04:01 nikita Exp $
#
COMMENT= Text processing utilities (does not include desktop publishing)
@ -230,6 +230,7 @@ SUBDIR+= go-diff
SUBDIR+= go-glob
SUBDIR+= go-goldmark
SUBDIR+= go-inflect
SUBDIR+= go-kr-text
SUBDIR+= go-md2man
SUBDIR+= go-mmark
SUBDIR+= go-org

View file

@ -0,0 +1 @@
Go package for manipulating paragraphs of text.

View file

@ -0,0 +1,27 @@
# $NetBSD: Makefile,v 1.1 2020/06/29 13:04:01 nikita Exp $
DISTNAME= go-kr-text-0.2.0
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=kr/}
GITHUB_PROJECT= text
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/kr/text
COMMENT= Go package for manipulating paragraphs of text
LICENSE= mit
GO_SRCPATH= github.com/kr/text
GO_DIST_BASE= ${DISTNAME:S/go-kr-//}
# upstream should at least pick better names for the binaries,
# avoid PLIST conflicts with well-known binaries. Since in the
# dependency chain I package this for only the library parts are used,
# this is okay.
post-build:
${MV} ${WRKDIR}/bin/agg ${WRKDIR}/bin/go-agg
${MV} ${WRKDIR}/bin/mc ${WRKDIR}/bin/go-mc
.include "../../devel/go-pty/buildlink3.mk"
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"

22
textproc/go-kr-text/PLIST Normal file
View file

@ -0,0 +1,22 @@
@comment $NetBSD: PLIST,v 1.1 2020/06/29 13:04:01 nikita Exp $
bin/go-agg
bin/go-mc
gopkg/pkg/${GO_PLATFORM}/github.com/kr/text.a
gopkg/pkg/${GO_PLATFORM}/github.com/kr/text/colwriter.a
gopkg/src/github.com/kr/text/License
gopkg/src/github.com/kr/text/Readme
gopkg/src/github.com/kr/text/cmd/agg/doc.go
gopkg/src/github.com/kr/text/cmd/agg/main.go
gopkg/src/github.com/kr/text/cmd/agg/num.go
gopkg/src/github.com/kr/text/cmd/agg/string.go
gopkg/src/github.com/kr/text/colwriter/Readme
gopkg/src/github.com/kr/text/colwriter/column.go
gopkg/src/github.com/kr/text/colwriter/column_test.go
gopkg/src/github.com/kr/text/doc.go
gopkg/src/github.com/kr/text/go.mod
gopkg/src/github.com/kr/text/indent.go
gopkg/src/github.com/kr/text/indent_test.go
gopkg/src/github.com/kr/text/mc/Readme
gopkg/src/github.com/kr/text/mc/mc.go
gopkg/src/github.com/kr/text/wrap.go
gopkg/src/github.com/kr/text/wrap_test.go

View file

@ -0,0 +1,17 @@
# $NetBSD: buildlink3.mk,v 1.1 2020/06/29 13:04:01 nikita Exp $
BUILDLINK_TREE+= go-kr-text
.if !defined(GO_KR_TEXT_BUILDLINK3_MK)
GO_KR_TEXT_BUILDLINK3_MK:=
BUILDLINK_CONTENTS_FILTER.go-kr-text= ${EGREP} gopkg/
BUILDLINK_DEPMETHOD.go-kr-text?= build
BUILDLINK_API_DEPENDS.go-kr-text+= go-kr-text>=0.2.0
BUILDLINK_PKGSRCDIR.go-kr-text?= ../../textproc/go-kr-text
.include "../../devel/go-pty/buildlink3.mk"
.endif # GO_KR_TEXT_BUILDLINK3_MK
BUILDLINK_TREE+= -go-kr-text

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2020/06/29 13:04:01 nikita Exp $
SHA1 (go-kr-text-0.2.0.tar.gz) = 16a5efa3564554d00f89ac479831e2bc38b0fd00
RMD160 (go-kr-text-0.2.0.tar.gz) = 0bc5cde23eebf988c07117d4ded61ef1c986c890
SHA512 (go-kr-text-0.2.0.tar.gz) = 69c73f437834b6c07a5c47c51bfd726ec1709939622d5bfa419deac449858e519f01fce0e5abe734ab502249914e526ae6437b8d3462f05cd5b414da9bb145c1
Size (go-kr-text-0.2.0.tar.gz) = 8699 bytes