aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/jshon
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2015-12-15 22:49:14 +0800
committermiwi <miwi@FreeBSD.org>2015-12-15 22:49:14 +0800
commit8d0462ebcfff67818a2ca6cc984b3a16715c0b81 (patch)
treee0317135c4b40f7fb94516f7b9be2d914113db1b /textproc/jshon
parent1c677ffb49f7cca2a306d5363f5a578c870b56d6 (diff)
downloadfreebsd-ports-gnome-8d0462ebcfff67818a2ca6cc984b3a16715c0b81.tar.gz
freebsd-ports-gnome-8d0462ebcfff67818a2ca6cc984b3a16715c0b81.tar.zst
freebsd-ports-gnome-8d0462ebcfff67818a2ca6cc984b3a16715c0b81.zip
- Update to 20131105
PR: 205224 Submitted by: Ports Fury Approved by: mat (mentor) Differential Revision: D4583
Diffstat (limited to 'textproc/jshon')
-rw-r--r--textproc/jshon/Makefile17
-rw-r--r--textproc/jshon/distinfo4
-rw-r--r--textproc/jshon/pkg-descr7
3 files changed, 13 insertions, 15 deletions
diff --git a/textproc/jshon/Makefile b/textproc/jshon/Makefile
index 2345be4a09e6..f17af6480b43 100644
--- a/textproc/jshon/Makefile
+++ b/textproc/jshon/Makefile
@@ -1,29 +1,26 @@
# $FreeBSD$
PORTNAME= jshon
-PORTVERSION= 20121210
-PORTREVISION= 3
+PORTVERSION= 20131105
CATEGORIES= textproc
MAINTAINER= ports@FreeBSD.org
-COMMENT= json parser for the shell
+COMMENT= JSON parser for the shell
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libjansson.so:${PORTSDIR}/devel/jansson
-USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= keenerd
-GH_TAGNAME= b21bc98
-CFLAGS+= -I${LOCALBASE}/include
+USES= gmake
-PLIST_FILES= bin/${PORTNAME} \
- man/man1/${PORTNAME}.1.gz
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
-post-patch:
- @${REINPLACE_CMD} -e 's,-ljansson,-L${LOCALBASE}/lib -ljansson,g' ${WRKSRC}/Makefile
+PLIST_FILES= bin/jshon man/man1/jshon.1.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
diff --git a/textproc/jshon/distinfo b/textproc/jshon/distinfo
index d2adc92d0f65..11a4fd54ce37 100644
--- a/textproc/jshon/distinfo
+++ b/textproc/jshon/distinfo
@@ -1,2 +1,2 @@
-SHA256 (keenerd-jshon-20121210-b21bc98_GH0.tar.gz) = 38ff964a491937ca3060ea95af682fa3f5a4fd9a440154517afae4784fd3974b
-SIZE (keenerd-jshon-20121210-b21bc98_GH0.tar.gz) = 10708
+SHA256 (keenerd-jshon-20131105_GH0.tar.gz) = 28420f6f02c6b762732898692cc0b0795cfe1a59fbfb24e67b80f332cf6d4fa2
+SIZE (keenerd-jshon-20131105_GH0.tar.gz) = 12870
diff --git a/textproc/jshon/pkg-descr b/textproc/jshon/pkg-descr
index d757ef4e352b..04c34ee3985b 100644
--- a/textproc/jshon/pkg-descr
+++ b/textproc/jshon/pkg-descr
@@ -1,5 +1,6 @@
-jshon parses, reads and creates JSON. It is designed to be as usable as possible
-from within the shell and replaces fragile adhoc parsers made from grep/sed/awk
-as well as heavyweight one-line parsers made from perl/python.
+jshon parses, reads and creates JSON. It is designed to be as usable as
+possible from within the shell and replaces fragile adhoc parsers made
+from grep/sed/awk as well as heavyweight one-line parsers made from
+perl/python.
WWW: http://kmkeen.com/jshon/