pkgsrc-WIP-changes archive

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

wip/go-argv: finalize package.



Module Name:	pkgsrc-wip
Committed By:	ng0 <ng0%NetBSD.org@localhost>
Pushed By:	ng0
Date:		Thu Oct 31 10:31:12 2019 +0000
Changeset:	f4451109b3a6502ec65fa77d8a6b5f803816b3f5

Modified Files:
	go-argv/Makefile
	go-argv/buildlink3.mk

Log Message:
wip/go-argv: finalize package.

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

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

diffstat:
 go-argv/Makefile      | 7 +++----
 go-argv/buildlink3.mk | 2 +-
 2 files changed, 4 insertions(+), 5 deletions(-)

diffs:
diff --git a/go-argv/Makefile b/go-argv/Makefile
index c3b7aa1a6a..9b0b574119 100644
--- a/go-argv/Makefile
+++ b/go-argv/Makefile
@@ -1,9 +1,8 @@
 # $NetBSD$
 
-GITHUB_TAG=	v0.0.1
+GITHUB_TAG=	v${PKGVERSION_NOREV}
 DISTNAME=	go-argv-0.0.1
-PKGNAME=	go-argv-0.0.1
-CATEGORIES=	devel
+CATEGORIES=	devel go
 MASTER_SITES=	${MASTER_SITE_GITHUB:=cosiner/}
 GITHUB_PROJECT=	argv
 
@@ -13,7 +12,7 @@ COMMENT=	Go library to split command line string into arguments array
 LICENSE=	mit
 
 GO_SRCPATH=	github.com/cosiner/argv
-GO_DIST_BASE=	${GITHUB_PROJECT}-${GITHUB_TAG:S/v//}*
+GO_DIST_BASE=	argv-${PKGVERSION_NOREV}
 
 .include "../../lang/go/go-package.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/go-argv/buildlink3.mk b/go-argv/buildlink3.mk
index e714383682..464b254659 100644
--- a/go-argv/buildlink3.mk
+++ b/go-argv/buildlink3.mk
@@ -8,7 +8,7 @@ GO_ARGV_BUILDLINK3_MK:=
 BUILDLINK_CONTENTS_FILTER.go-argv=	${EGREP} gopkg/
 BUILDLINK_DEPMETHOD.go-argv?=		build
 
-BUILDLINK_API_DEPENDS.go-argv+=	go-argv>=1.3.0
+BUILDLINK_API_DEPENDS.go-argv+=		go-argv>=1.3.0
 BUILDLINK_PKGSRCDIR.go-argv?=		../../wip/go-argv
 .endif	# GO_ARGV_BUILDLINK3_MK
 


Home | Main Index | Thread Index | Old Index