git: cdc9311a8b96 - main - textproc/jshon: Match version with MacPorts

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Mon, 04 Oct 2021 18:39:34 UTC
The branch main has been updated by 0mp:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cdc9311a8b96c3d4050a027e63d1528098b379ae

commit cdc9311a8b96c3d4050a027e63d1528098b379ae
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2021-10-04 12:47:59 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2021-10-04 18:39:30 +0000

    textproc/jshon: Match version with MacPorts
    
    While here, clean up the makefile a bit.
---
 textproc/jshon/Makefile | 14 ++++++--------
 textproc/jshon/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/textproc/jshon/Makefile b/textproc/jshon/Makefile
index cb3f99420974..967b2f30c7aa 100644
--- a/textproc/jshon/Makefile
+++ b/textproc/jshon/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	jshon
-DISTVERSION=	20170302.1
+DISTVERSION=	20180209
 CATEGORIES=	textproc
 
 MAINTAINER=	0mp@FreeBSD.org
@@ -10,18 +10,16 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libjansson.so:devel/jansson
 
-USES=		gmake
+USES=		gmake localbase:ldflags
 USE_GITHUB=	yes
 GH_ACCOUNT=	keenerd
 GH_TAGNAME=	d919aea
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+PLIST_FILES=	bin/jshon \
+		man/man1/jshon.1.gz
 
-PLIST_FILES=	bin/jshon man/man1/jshon.1.gz
-
-OPTIONS_DEFINE=	ZSH
-OPTIONS_DEFAULT=ZSH
+OPTIONS_DEFINE=		ZSH
+OPTIONS_DEFAULT=	ZSH
 
 ZSH_PLIST_FILES=	share/zsh/site-functions/jshon_zsh_completion
 
diff --git a/textproc/jshon/distinfo b/textproc/jshon/distinfo
index a875fefd929e..77126c59367c 100644
--- a/textproc/jshon/distinfo
+++ b/textproc/jshon/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1543855297
-SHA256 (keenerd-jshon-20170302.1-d919aea_GH0.tar.gz) = a14521b9a0bf06e48949d6bd233403b754a8ac47b08f37244e589c34d8a4db0f
-SIZE (keenerd-jshon-20170302.1-d919aea_GH0.tar.gz) = 14126
+TIMESTAMP = 1633351648
+SHA256 (keenerd-jshon-20180209-d919aea_GH0.tar.gz) = a14521b9a0bf06e48949d6bd233403b754a8ac47b08f37244e589c34d8a4db0f
+SIZE (keenerd-jshon-20180209-d919aea_GH0.tar.gz) = 14126