There is an abi addition of yajl_gen_reset() hence the minor crank.
The port is converted to use the archive tarball instead of the previous
otherwise the directory structure has a short git hash in it.
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/libyajl/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile 22 May 2015 11:36:16 -0000 1.12
+++ Makefile 7 Jul 2015 07:57:11 -0000
@@ -2,19 +2,19 @@
COMMENT = small JSON library written in ANSI C
-V = 2.0.4
+V = 2.1.0
PKGNAME = libyajl-${V}
-DISTNAME = lloyd-yajl-${V}
-REVISION = 2
+WRKDIST = ${WRKDIR}/yajl-${V}
CATEGORIES = devel
-SHARED_LIBS = yajl 2.0 # 2.0.4
+SHARED_LIBS = yajl 2.1 # 2.1.0
HOMEPAGE = https://lloyd.github.com/yajl/
-MASTER_SITES = http://distfiles.nl/ \
- https://github.com/lloyd/yajl/tarball/${V}/
+MASTER_SITES = https://github.com/lloyd/
+
+DISTFILES= yajl-{yajl/archive/}${V}${EXTRACT_SUFX}
# BSD
PERMIT_PACKAGE_CDROM = Yes
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/libyajl/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo 18 Jan 2015 03:13:17 -0000 1.6
+++ distinfo 7 Jul 2015 07:51:16 -0000
@@ -1,2 +1,2 @@
-SHA256 (lloyd-yajl-2.0.4.tar.gz) = perBFf/xV/ayuM7wKiyf5WGe7Lroivxb8leU281d8n4=
-SIZE (lloyd-yajl-2.0.4.tar.gz) = 82928
+SHA256 (yajl-2.1.0.tar.gz) = P7czZKWjDv5hUEbQfm250J/StBx2PF99O/sSHNXFrFo=
+SIZE (yajl-2.1.0.tar.gz) = 83997