pkgsrc-WIP-changes archive

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

cJSON: MASTER_SITE_GITHUB simplification (thanks leot)



Module Name:	pkgsrc-wip
Committed By:	Travis Paul <tr%vispaul.me@localhost>
Pushed By:	tpaul
Date:		Wed May 22 17:10:20 2019 +0800
Changeset:	055bbb4c3c10423001baa793c5f7714acaaba170

Modified Files:
	cJSON/Makefile
	cJSON/distinfo

Log Message:
cJSON: MASTER_SITE_GITHUB simplification (thanks leot)

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

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

diffstat:
 cJSON/Makefile | 7 ++-----
 cJSON/distinfo | 8 ++++----
 2 files changed, 6 insertions(+), 9 deletions(-)

diffs:
diff --git a/cJSON/Makefile b/cJSON/Makefile
index dd2ee337a2..18dc652c7d 100644
--- a/cJSON/Makefile
+++ b/cJSON/Makefile
@@ -1,18 +1,15 @@
 # $NetBSD$
 
-GITHUB_PROJECT=	cJSON
-DISTNAME=	v1.7.12
-PKGNAME=	${GITHUB_PROJECT}-1.7.12
+DISTNAME=	cJSON-1.7.12
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GITHUB:=DaveGamble/}
-DIST_SUBDIR=	${GITHUB_PROJECT}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
 
 MAINTAINER=	tpaul%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/DaveGamble/cJSON/
 COMMENT=	Ultralightweight JSON parser in ANSI C
 LICENSE=	mit
 
-WRKSRC=		${WRKDIR}/cJSON-1.7.12
 USE_CMAKE=	yes
 USE_TOOLS+=	pkg-config
 TEST_TARGET=	test
diff --git a/cJSON/distinfo b/cJSON/distinfo
index 64c42277dd..48743716a6 100644
--- a/cJSON/distinfo
+++ b/cJSON/distinfo
@@ -1,6 +1,6 @@
 $NetBSD$
 
-SHA1 (cJSON/v1.7.12.tar.gz) = e90abbcdc0f40e7854d5838214d0668e24e6c147
-RMD160 (cJSON/v1.7.12.tar.gz) = 0d1c70cc79683cf2accfa470634f8ff64a50e4d5
-SHA512 (cJSON/v1.7.12.tar.gz) = d767b7261eff3a1a50ea46cc5573f9504f5734a891ea211ad348835bfb4b80acf7f744da2d34bb1fa270cd4d44576c21bc6f52c0604b7e6ffdeb61ecb396b376
-Size (cJSON/v1.7.12.tar.gz) = 348294 bytes
+SHA1 (cJSON-1.7.12.tar.gz) = e90abbcdc0f40e7854d5838214d0668e24e6c147
+RMD160 (cJSON-1.7.12.tar.gz) = 0d1c70cc79683cf2accfa470634f8ff64a50e4d5
+SHA512 (cJSON-1.7.12.tar.gz) = d767b7261eff3a1a50ea46cc5573f9504f5734a891ea211ad348835bfb4b80acf7f744da2d34bb1fa270cd4d44576c21bc6f52c0604b7e6ffdeb61ecb396b376
+Size (cJSON-1.7.12.tar.gz) = 348294 bytes


Home | Main Index | Thread Index | Old Index