head 1.3; access; symbols pkgsrc-2014Q1:1.2.0.8 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.6 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.4 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.2 pkgsrc-2013Q2-base:1.2; locks; strict; comment @# @; 1.3 date 2014.04.17.09.08.34; author fhajny; state dead; branches; next 1.2; commitid nMRQA7iu9vTT21xx; 1.2 date 2013.04.26.10.20.34; author jperkin; state Exp; branches; next 1.1; 1.1 date 2013.04.25.09.10.26; author jperkin; state Exp; branches; next ; desc @@ 1.3 log @Update jq to 1.3. Changelog not provided, see commits made since 1.2: https://github.com/stedolan/jq/compare/jq-1.2...jq-1.3 @ text @$NetBSD: patch-Makefile,v 1.2 2013/04/26 10:20:34 jperkin Exp $ pkgsrc-ify. --- Makefile.orig 2012-12-20 12:26:15.000000000 +0000 +++ Makefile @@@@ -1,5 +1,5 @@@@ -CC=gcc -CFLAGS=-Wextra -Wall -Wno-missing-field-initializers -Wno-unused-parameter -std=gnu99 -ggdb -Wno-unused-function $(EXTRA_CFLAGS) +#CC=gcc +#CFLAGS=-Wextra -Wall -Wno-missing-field-initializers -Wno-unused-parameter -std=gnu99 -ggdb -Wno-unused-function $(EXTRA_CFLAGS) prefix=/usr/local mandir=$(prefix)/share/man @@@@ -80,11 +80,11 @@@@ tarball: docs/content/2.download/source/ jq.1: docs/content/3.manual/manual.yml ( cd docs; rake manpage; ) > $@@ -install: jq jq.1 - install -d -m 0755 $(prefix)/bin - install -m 0755 jq $(prefix)/bin - install -d -m 0755 $(mandir)/man1 - install -m 0755 jq.1 $(mandir)/man1 +install: jq + ${BSD_INSTALL_PROGRAM_DIR} $(DESTDIR)$(PREFIX)/bin + ${BSD_INSTALL_PROGRAM} jq $(DESTDIR)$(PREFIX)/bin + ${BSD_INSTALL_MAN_DIR} $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1 + ${BSD_INSTALL_MAN} jq.1 $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1 uninstall: rm -vf $(prefix)/bin/jq @ 1.2 log @Update jq to version 1.2. This is the version which should have been added in the first place, but I somehow missed it. Unfortunately there is no changelog, just a git history, with no indication of which are the important changes. However a lot of bugfixes are included. The main pkgsrc change in 1.2 is that there is now a manual page. @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.1 2013/04/25 09:10:26 jperkin Exp $ @ 1.1 log @Import jq-1.1 as devel/jq into pkgsrc. jq is a lightweight and flexible command-line JSON processor. jq is like sed for JSON data – you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- Makefile.orig 2012-10-21 22:26:31.000000000 +0000 d7 6 a12 2 @@@@ -1,4 +1,3 @@@@ -CC=gcc -Wextra -Wall -Wno-missing-field-initializers -Wno-unused-parameter -std=gnu99 -ggdb -Wno-unused-function d14 4 d19 1 a19 5 .PHONY: all clean releasedep tarball install uninstall test releasetag @@@@ -51,8 +50,8 @@@@ docs/content/2.download/source/jq.tgz: j tarball: docs/content/2.download/source/jq.tgz install: jq d22 3 d26 3 a28 1 + ${BSD_INSTALL_PROGRAM} jq $(DESTDIR)$(PREFIX)/bin/jq d31 1 a31 1 test -d $(prefix)/bin && \ @