Import go-intern-1.0.0 to wip

This commit is contained in:
K.I.A.Derouiche 2021-01-06 16:56:21 +01:00
parent c02ed3cbac
commit 20d614561c
6 changed files with 48 additions and 0 deletions

View File

@ -1196,6 +1196,7 @@ SUBDIR+= go-opentracing
SUBDIR+= go-humanize
SUBDIR+= go-jira
SUBDIR+= go-junit-report
SUBDIR+= go-intern
SUBDIR+= go-kong
SUBDIR+= go-kr-text
SUBDIR+= go-log

1
go-intern/DESCR Normal file
View File

@ -0,0 +1 @@
Intern Go strings

18
go-intern/Makefile Normal file
View File

@ -0,0 +1,18 @@
# $NetBSD$
DISTNAME= go-intern-1.0.0
GITHUB_PROJECT= intern
GITHUB_TAG= v${PKGVERSION_NOREV}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=josharian/}
MAINTAINER= kamelderouiche@yahoo.com
HOMEPAGE= https://github.com/josharian/intern/
COMMENT= Intern Go strings
LICENSE= mit
GO_SRCPATH= github.com/josharian/intern
GO_DIST_BASE= ${GITHUB_PROJECT}-${PKGVERSION_NOREV}
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"

7
go-intern/PLIST Normal file
View File

@ -0,0 +1,7 @@
@comment $NetBSD$
gopkg/pkg/${GO_PLATFORM}/github.com/josharian/intern.a
gopkg/src/github.com/josharian/intern/README.md
gopkg/src/github.com/josharian/intern/go.mod
gopkg/src/github.com/josharian/intern/intern.go
gopkg/src/github.com/josharian/intern/intern_test.go
gopkg/src/github.com/josharian/intern/license.md

15
go-intern/buidlink3.mk Normal file
View File

@ -0,0 +1,15 @@
# $NetBSD$
BUILDLINK_TREE+= go-intern
.if !defined(GO_INTERN_BUILDLINK3_MK)
GO_INTERN_BUILDLINK3_MK:=
BUILDLINK_CONTENTS_FILTER.go-intern= ${EGREP} gopkg/
BUILDLINK_DEPMETHOD.go-intern?= build
BUILDLINK_API_DEPENDS.go-intern+= go-intern>=1.0.0
BUILDLINK_PKGSRCDIR.go-intern?= ../../wip/go-intern
.endif # GO_INTERN_BUILDLINK3_MK
BUILDLINK_TREE+= -go-intern

6
go-intern/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (go-intern-1.0.0.tar.gz) = 7aa76b7b797c17c056374d8f81daf90d8b09a11e
RMD160 (go-intern-1.0.0.tar.gz) = 7fcad218ad188b0aa305e7fd007d3b28d7a04794
SHA512 (go-intern-1.0.0.tar.gz) = a150ba1b054dab2a8f93ba5128aae8101b7b696198bfa5dc38efe79f68b44255caa65c38e0fc30f164e714ae0c5c5e2527fa1d36af6654d6a40e11974e9b9854
Size (go-intern-1.0.0.tar.gz) = 1927 bytes