aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2021-10-04 12:47:59 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2021-10-04 18:39:30 +0000
commitcdc9311a8b96c3d4050a027e63d1528098b379ae (patch)
treea2fde6060984b0ba116a141e4cafc0e670a0d5f0
parenta71f65414345e377bebd6555c5797ab03a4a57bd (diff)
textproc/jshon: Match version with MacPorts
While here, clean up the makefile a bit.
-rw-r--r--textproc/jshon/Makefile14
-rw-r--r--textproc/jshon/distinfo6
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