summaryrefslogtreecommitdiff
path: root/textproc/jo/Makefile
diff options
context:
space:
mode:
authorkamil <kamil>2016-07-26 17:29:22 +0000
committerkamil <kamil>2016-07-26 17:29:22 +0000
commit27493d5eadbcf107cd30cd30548629b274c29661 (patch)
tree4d129479b153456dcf207259185ff499582dc06b /textproc/jo/Makefile
parent27fd36466c6c182c8f215429d4585f6997be6a05 (diff)
downloadpkgsrc-27493d5eadbcf107cd30cd30548629b274c29661.tar.gz
Import jo-1.0 as textproc/jo
jo creates a JSON string on stdout from words given it as arguments or read from stdin. Without option -a it generates an object whereby each word is a key=value (or key@value) pair with key being the JSON object element and value its value. jo attempts to guess the type of value in order to create number (using strtod(3)), string, or null values in JSON. Originally packaged in pkgsrc-wip by Frederic Cambus.
Diffstat (limited to 'textproc/jo/Makefile')
-rw-r--r--textproc/jo/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/textproc/jo/Makefile b/textproc/jo/Makefile
new file mode 100644
index 00000000000..badca1200f0
--- /dev/null
+++ b/textproc/jo/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2016/07/26 17:29:22 kamil Exp $
+
+DISTNAME= jo-1.0
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GITHUB:=jpmens/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= fred@statdns.com
+HOMEPAGE= https://github.com/jpmens/jo
+COMMENT= JSON output from a shell
+LICENSE= gnu-gpl-v2
+
+GNU_CONFIGURE= yes
+
+.include "../../mk/bsd.pkg.mk"