pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import go-rsrc-0.10.1 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Tue Jan 19 11:19:58 2021 +0100
Changeset:	b596ac0872e275e3fc1354636705775b72d900ce

Modified Files:
	Makefile
Added Files:
	go-rsrc/DESCR
	go-rsrc/Makefile
	go-rsrc/PLIST
	go-rsrc/buildlink3.mk
	go-rsrc/distinfo

Log Message:
Import go-rsrc-0.10.1 to wip

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b596ac0872e275e3fc1354636705775b72d900ce

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile              |  1 +
 go-rsrc/DESCR         |  1 +
 go-rsrc/Makefile      | 18 ++++++++++++++++++
 go-rsrc/PLIST         | 25 +++++++++++++++++++++++++
 go-rsrc/buildlink3.mk | 15 +++++++++++++++
 go-rsrc/distinfo      |  6 ++++++
 6 files changed, 66 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index b3b00b59d5..a925ad4783 100644
--- a/Makefile
+++ b/Makefile
@@ -1276,6 +1276,7 @@ SUBDIR+=	go-redigo
 SUBDIR+=	go-rest
 SUBDIR+=	go-resty
 SUBDIR+=	go-riff
+SUBDIR+=	go-rsrc
 SUBDIR+=	go-stack
 SUBDIR+=	go-streamquote
 SUBDIR+=	go-stripansi
diff --git a/go-rsrc/DESCR b/go-rsrc/DESCR
new file mode 100644
index 0000000000..da26e7c7a4
--- /dev/null
+++ b/go-rsrc/DESCR
@@ -0,0 +1 @@
+Tool for embedding binary resources in Go programs
diff --git a/go-rsrc/Makefile b/go-rsrc/Makefile
new file mode 100644
index 0000000000..dd1fa34572
--- /dev/null
+++ b/go-rsrc/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	go-rsrc-0.10.1
+GITHUB_PROJECT=	rsrc
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	category
+MASTER_SITES=	${MASTER_SITE_GITHUB:=akavel/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/akavel/rsrc/
+COMMENT=	Go Tool for embedding .ico & manifest resources for Windows
+LICENSE=	mit
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+GO_SRCPATH=	github.com/akavel/rsrc
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-rsrc/PLIST b/go-rsrc/PLIST
new file mode 100644
index 0000000000..2e4dc715d9
--- /dev/null
+++ b/go-rsrc/PLIST
@@ -0,0 +1,25 @@
+@comment $NetBSD$
+bin/rsrc
+gopkg/pkg/${GO_PLATFORM}/github.com/akavel/rsrc/binutil.a
+gopkg/pkg/${GO_PLATFORM}/github.com/akavel/rsrc/coff.a
+gopkg/pkg/${GO_PLATFORM}/github.com/akavel/rsrc/ico.a
+gopkg/pkg/${GO_PLATFORM}/github.com/akavel/rsrc/internal.a
+gopkg/pkg/${GO_PLATFORM}/github.com/akavel/rsrc/rsrc.a
+gopkg/src/github.com/akavel/rsrc/AUTHORS
+gopkg/src/github.com/akavel/rsrc/LICENSE.txt
+gopkg/src/github.com/akavel/rsrc/README.txt
+gopkg/src/github.com/akavel/rsrc/binutil/plain.go
+gopkg/src/github.com/akavel/rsrc/binutil/sizedfile.go
+gopkg/src/github.com/akavel/rsrc/binutil/walk.go
+gopkg/src/github.com/akavel/rsrc/binutil/writer.go
+gopkg/src/github.com/akavel/rsrc/buildcross.bat
+gopkg/src/github.com/akavel/rsrc/coff/coff.go
+gopkg/src/github.com/akavel/rsrc/go.mod
+gopkg/src/github.com/akavel/rsrc/ico/ico.go
+gopkg/src/github.com/akavel/rsrc/internal/write.go
+gopkg/src/github.com/akavel/rsrc/rsrc.go
+gopkg/src/github.com/akavel/rsrc/rsrc/rsrc.go
+gopkg/src/github.com/akavel/rsrc/rsrc_test.go
+gopkg/src/github.com/akavel/rsrc/testdata/akavel.ico
+gopkg/src/github.com/akavel/rsrc/testdata/manifest.xml
+gopkg/src/github.com/akavel/rsrc/testdata/tmp.go
diff --git a/go-rsrc/buildlink3.mk b/go-rsrc/buildlink3.mk
new file mode 100644
index 0000000000..79f2643600
--- /dev/null
+++ b/go-rsrc/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-rsrc
+
+.if !defined(GO_RSRC_BUILDLINK3_MK)
+GO_RSRC_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-rsrc=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-rsrc?=		build
+
+BUILDLINK_API_DEPENDS.go-rsrc+=	go-rsrc>=0.10.1
+BUILDLINK_PKGSRCDIR.go-rsrc?=	../../wip/go-rsrc
+.endif	# GO_RSRC_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-rsrc
diff --git a/go-rsrc/distinfo b/go-rsrc/distinfo
new file mode 100644
index 0000000000..94202d1a69
--- /dev/null
+++ b/go-rsrc/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-rsrc-0.10.1.tar.gz) = b56dbaab6b762d5cca7f7c2f51f4105769ebaf32
+RMD160 (go-rsrc-0.10.1.tar.gz) = 562b0c26dea3f72caabda9c7220d39a868c5f53e
+SHA512 (go-rsrc-0.10.1.tar.gz) = c918474d77c4728b8668513c65a1341ec517b2d6b1c98b34d9b19939e881fde8e6d5d1e9603d9233f7e564f852637197cb3b757373137249ba5c563a928a3236
+Size (go-rsrc-0.10.1.tar.gz) = 12533 bytes


Home | Main Index | Thread Index | Old Index