aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2006-06-24 10:04:04 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2006-06-24 10:04:04 +0000
commit0c9f5c2ff9f9962c4764216df4a70835009d6606 (patch)
tree7c376204ab53eafd8b8fd0503834911c83e9fb80 /devel
parent9582a037cb1c1b9d1065763e64cc28f255a82e75 (diff)
downloadports-0c9f5c2ff9f9962c4764216df4a70835009d6606.tar.gz
ports-0c9f5c2ff9f9962c4764216df4a70835009d6606.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/json-c/Makefile22
-rw-r--r--devel/json-c/distinfo3
-rw-r--r--devel/json-c/files/patch-Makefile.in16
-rw-r--r--devel/json-c/patch-Makefile.am8
-rw-r--r--devel/json-c/pkg-descr5
-rw-r--r--devel/json-c/pkg-plist14
7 files changed, 69 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index a631295b18d5..e8cc4d44ae9b 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -434,6 +434,7 @@
SUBDIR += jep
SUBDIR += jrtplib
SUBDIR += jsap
+ SUBDIR += json-c
SUBDIR += jude-community
SUBDIR += judy
SUBDIR += kaptain
diff --git a/devel/json-c/Makefile b/devel/json-c/Makefile
new file mode 100644
index 000000000000..2f0340e9d2c4
--- /dev/null
+++ b/devel/json-c/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: json-c
+# Date created: June 23 2006
+# Whom: gno@yahoo-inc.com
+#
+# $FreeBSD$
+#
+
+PORTNAME= json-c
+PORTVERSION= 0.6
+CATEGORIES= devel
+MASTER_SITES= http://oss.metaparadigm.com/json-c/
+
+MAINTAINER= gno@yahoo-inc.com
+COMMENT= A JSON (Javascript Object Notation) implementation in C
+
+INSTALLS_SHLIB= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_GNOME= gnometarget
+#USE_AUTOTOOLS= automake:14
+
+.include <bsd.port.mk>
diff --git a/devel/json-c/distinfo b/devel/json-c/distinfo
new file mode 100644
index 000000000000..3837f551af5f
--- /dev/null
+++ b/devel/json-c/distinfo
@@ -0,0 +1,3 @@
+MD5 (json-c-0.6.tar.gz) = 2d8b899aeeebbbe68158d25adf8a4f1e
+SHA256 (json-c-0.6.tar.gz) = 915ee6c4b8f1ffd5313d990875cd44e5e7092a51de259707daca797fd5c42b46
+SIZE (json-c-0.6.tar.gz) = 320050
diff --git a/devel/json-c/files/patch-Makefile.in b/devel/json-c/files/patch-Makefile.in
new file mode 100644
index 000000000000..d3489fbced55
--- /dev/null
+++ b/devel/json-c/files/patch-Makefile.in
@@ -0,0 +1,16 @@
+--- Makefile.in.orig Sat Jun 24 18:00:48 2006
++++ Makefile.in Sat Jun 24 18:01:16 2006
+@@ -85,11 +85,11 @@
+ STRIP = @STRIP@
+ VERSION = @VERSION@
+
+-CFLAGS = -Wall -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
++CFLAGS = -Wall -D_GNU_SOURCE -D_REENTRANT
+
+ lib_LTLIBRARIES = libjson.la
+
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+ pkgconfig_DATA = json.pc
+
+ libjsonincludedir = $(includedir)/json
diff --git a/devel/json-c/patch-Makefile.am b/devel/json-c/patch-Makefile.am
new file mode 100644
index 000000000000..b1a34caddc2b
--- /dev/null
+++ b/devel/json-c/patch-Makefile.am
@@ -0,0 +1,8 @@
+--- Makefile.am.orig Mon Jun 12 12:17:41 2006
++++ Makefile.am Mon Jun 12 12:17:52 2006
+@@ -1,4 +1,4 @@
+-CFLAGS = -Wall -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
++CFLAGS = -Wall -D_GNU_SOURCE -D_REENTRANT
+
+ lib_LTLIBRARIES = libjson.la
+
diff --git a/devel/json-c/pkg-descr b/devel/json-c/pkg-descr
new file mode 100644
index 000000000000..e9d89056c617
--- /dev/null
+++ b/devel/json-c/pkg-descr
@@ -0,0 +1,5 @@
+This is a port of json-c, an implementation of json in C. Json, JavaScript
+Object Notation is a lightweight data exchange format and a subset of the
+JavaScript programming language.
+
+WWW: http://oss.metaparadigm.com/json-c/
diff --git a/devel/json-c/pkg-plist b/devel/json-c/pkg-plist
new file mode 100644
index 000000000000..d19ca11ebe82
--- /dev/null
+++ b/devel/json-c/pkg-plist
@@ -0,0 +1,14 @@
+lib/libjson.a
+lib/libjson.la
+lib/libjson.so
+lib/libjson.so.0
+include/json/arraylist.h
+include/json/bits.h
+include/json/debug.h
+include/json/json.h
+include/json/json_object.h
+include/json/json_tokener.h
+include/json/json_util.h
+include/json/linkhash.h
+libdata/pkgconfig/json.pc
+@dirrm include/json