aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-08-06 23:34:11 +0800
committermiwi <miwi@FreeBSD.org>2008-08-06 23:34:11 +0800
commit60d12b28370f4a98b325ee3c21405df9bd99acf7 (patch)
treee6c4624af147623a4390e95e49c5e70d18ecbf63 /devel
parent7027ffef3ecf609385f4dbd0a1433acfe1948054 (diff)
downloadfreebsd-ports-gnome-60d12b28370f4a98b325ee3c21405df9bd99acf7.tar.gz
freebsd-ports-gnome-60d12b28370f4a98b325ee3c21405df9bd99acf7.tar.zst
freebsd-ports-gnome-60d12b28370f4a98b325ee3c21405df9bd99acf7.zip
This package parses the config files written in JSON. It also does some
non-JSON stuff, like allowing for comments in the files. WWW: http://search.cpan.org/dist/Config-JSON/ PR: ports/126119 Submitted by: Tomoyuki Sakurai <cherry at trombik.org>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Config-JSON/Makefile25
-rw-r--r--devel/p5-Config-JSON/distinfo3
-rw-r--r--devel/p5-Config-JSON/pkg-descr4
-rw-r--r--devel/p5-Config-JSON/pkg-plist6
5 files changed, 39 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 6d0fb345d735..6e639187f0bd 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1062,6 +1062,7 @@
SUBDIR += p5-Config-INI-Simple
SUBDIR += p5-Config-IniFiles
SUBDIR += p5-Config-IniHash
+ SUBDIR += p5-Config-JSON
SUBDIR += p5-Config-Model
SUBDIR += p5-Config-Objective
SUBDIR += p5-Config-Properties
diff --git a/devel/p5-Config-JSON/Makefile b/devel/p5-Config-JSON/Makefile
new file mode 100644
index 000000000000..e57cdd8937e7
--- /dev/null
+++ b/devel/p5-Config-JSON/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: p5-Config-JSON
+# Date created: 2008-07-31
+# Whom: Tomoyuki Sakurai <cherry@trombik.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Config-JSON
+PORTVERSION= 1.1.4
+CATEGORIES= devel
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= cherry@trombik.org
+COMMENT= A JSON based config file system
+
+RUN_DEPENDS= p5-Class-InsideOut>0:${PORTSDIR}/devel/p5-Class-InsideOut \
+ p5-JSON>0:${PORTSDIR}/converters/p5-JSON
+
+WRKSRC= ${WRKDIR}/Config-JSON
+
+PERL_CONFIGURE= Yes
+MAN3= Config::JSON.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Config-JSON/distinfo b/devel/p5-Config-JSON/distinfo
new file mode 100644
index 000000000000..64ae30ab57d3
--- /dev/null
+++ b/devel/p5-Config-JSON/distinfo
@@ -0,0 +1,3 @@
+MD5 (Config-JSON-1.1.4.tar.gz) = e2e12338063f89f09194bda49a8a8853
+SHA256 (Config-JSON-1.1.4.tar.gz) = 4d92de87ac59fc2cc86b2d71fc24896982ff0c5152be6c3c832a85f619c573af
+SIZE (Config-JSON-1.1.4.tar.gz) = 7117
diff --git a/devel/p5-Config-JSON/pkg-descr b/devel/p5-Config-JSON/pkg-descr
new file mode 100644
index 000000000000..fc7a8d8ece1f
--- /dev/null
+++ b/devel/p5-Config-JSON/pkg-descr
@@ -0,0 +1,4 @@
+This package parses the config files written in JSON. It also does some
+non-JSON stuff, like allowing for comments in the files.
+
+WWW: http://search.cpan.org/dist/Config-JSON/
diff --git a/devel/p5-Config-JSON/pkg-plist b/devel/p5-Config-JSON/pkg-plist
new file mode 100644
index 000000000000..308b0a760f9a
--- /dev/null
+++ b/devel/p5-Config-JSON/pkg-plist
@@ -0,0 +1,6 @@
+%%SITE_PERL%%/Config/JSON.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Config/JSON/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Config/JSON
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Config
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto
+@dirrmtry %%SITE_PERL%%/Config