Bug 99391 - New port: devel/json-c A JSON implementation in C
Summary: New port: devel/json-c A JSON implementation in C
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-23 22:00 UTC by Greg Olszewski
Modified: 2006-06-24 11:05 UTC (History)
0 users

See Also:


Attachments
file.shar (2.50 KB, text/plain)
2006-06-23 22:00 UTC, Greg Olszewski
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Olszewski 2006-06-23 22:00:34 UTC
        A JSON implementation in C
Comment 1 Mark Linimon 2006-06-23 22:15:57 UTC
For those of us who don't know what JSON is, it would be nice to include
this in the pkg-descr (and, if it fits, briefly in the COMMENT line as well).
Comment 2 Greg Olszewski 2006-06-23 22:27:08 UTC
Updated shar which includes a more verbose description.

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	devel/json-c/
#	devel/json-c/Makefile
#	devel/json-c/pkg-descr
#	devel/json-c/distinfo
#	devel/json-c/files
#	devel/json-c/files/patch-Makefile.am
#	devel/json-c/pkg-plist
#
echo c - devel/json-c/
mkdir -p devel/json-c/ > /dev/null 2>&1
echo x - devel/json-c/Makefile
sed 's/^X//' >devel/json-c/Makefile << 'END-of-devel/json-c/Makefile'
X# New ports collection makefile for:   oneko
X# Date created:        5 December 1994
X# Whom:                asami
X#
X# $FreeBSD$
X#
X
XPORTNAME=      json-c
XPORTVERSION=   0.6
XCATEGORIES=    devel
XMASTER_SITES=  http://oss.metaparadigm.com/json-c/
X
XMAINTAINER=    gno@yahoo-inc.com
XCOMMENT=       A JSON (Javascript Object Notation) implementation in C
X
XGNU_CONFIGURE=  yes
XUSE_GMAKE=	yes
XCONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
X
XUSE_AUTOTOOLS= automake:14
X
X.include <bsd.port.mk>
END-of-devel/json-c/Makefile
echo x - devel/json-c/pkg-descr
sed 's/^X//' >devel/json-c/pkg-descr << 'END-of-devel/json-c/pkg-descr'
XThis is a port of json-c, an implementation of json in C. Json, JavaScript
XObject Notation is a lightweight data exchange format and a subset of the
XJavaScript programming language. 
X
XWWW: http://oss.metaparadigm.com/json-c/
END-of-devel/json-c/pkg-descr
echo x - devel/json-c/distinfo
sed 's/^X//' >devel/json-c/distinfo << 'END-of-devel/json-c/distinfo'
XMD5 (json-c-0.6.tar.gz) = 2d8b899aeeebbbe68158d25adf8a4f1e
XSIZE (json-c-0.6.tar.gz) = 320050
END-of-devel/json-c/distinfo
echo c - devel/json-c/files
mkdir -p devel/json-c/files > /dev/null 2>&1
echo x - devel/json-c/files/patch-Makefile.am
sed 's/^X//' >devel/json-c/files/patch-Makefile.am << 'END-of-devel/json-c/files/patch-Makefile.am'
X--- Makefile.am.orig	Mon Jun 12 12:17:41 2006
X+++ Makefile.am	Mon Jun 12 12:17:52 2006
X@@ -1,4 +1,4 @@
X-CFLAGS = -Wall -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
X+CFLAGS = -Wall -D_GNU_SOURCE -D_REENTRANT
X 
X lib_LTLIBRARIES = libjson.la
X 
END-of-devel/json-c/files/patch-Makefile.am
echo x - devel/json-c/pkg-plist
sed 's/^X//' >devel/json-c/pkg-plist << 'END-of-devel/json-c/pkg-plist'
Xlib/libjson.so.0
Xlib/libjson.so
Xlib/libjson.a
Xlib/libjson.la
Xlib/pkgconfig/json.pc
Xinclude/json
Xinclude/json/json.h
Xinclude/json/bits.h
Xinclude/json/debug.h
Xinclude/json/linkhash.h
Xinclude/json/arraylist.h
Xinclude/json/json_util.h
Xinclude/json/json_object.h
Xinclude/json/json_tokener.h
X@dirrm include/json
X
END-of-devel/json-c/pkg-plist
exit


-- 
gno@yahoo-inc.com | humor is essential to success
      http://docs.yahoo.com/info/values/
Comment 3 Vanilla I. Shu freebsd_committer freebsd_triage 2006-06-24 11:04:40 UTC
State Changed
From-To: open->closed

Committed, thanks. 

I think devel/portlint will be your best friend, 

please run it before you send-pr. 

-- 
yet another Yahoos. 
--