diff options
author | miwi <miwi@FreeBSD.org> | 2007-04-20 20:18:32 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-04-20 20:18:32 +0800 |
commit | ed9a9a8f33037199b6d3bdcca4ed61702591a6b7 (patch) | |
tree | cd67a9780cbd8c30cb36a798398cb9b1fe53280c /devel/flexjson | |
parent | 568cdc49f492fa6cbbd23365c4246c12ef1525de (diff) | |
download | freebsd-ports-gnome-ed9a9a8f33037199b6d3bdcca4ed61702591a6b7.tar.gz freebsd-ports-gnome-ed9a9a8f33037199b6d3bdcca4ed61702591a6b7.tar.zst freebsd-ports-gnome-ed9a9a8f33037199b6d3bdcca4ed61702591a6b7.zip |
FlexJSON is a lightweight library to serialize objects out in Javascript Object
Notation (JSON). The library serializes only immediately available fields by
default, although it's fairly easy to add additional data such as collections
through code or annotations.
WWW: http://flexjson.sourceforge.net/
PR: ports/111934
Submitted by: Nemo Liu <nemoliu at gmail.com>
Diffstat (limited to 'devel/flexjson')
-rw-r--r-- | devel/flexjson/Makefile | 45 | ||||
-rw-r--r-- | devel/flexjson/distinfo | 3 | ||||
-rw-r--r-- | devel/flexjson/pkg-descr | 6 |
3 files changed, 54 insertions, 0 deletions
diff --git a/devel/flexjson/Makefile b/devel/flexjson/Makefile new file mode 100644 index 000000000000..edd6ef6405fa --- /dev/null +++ b/devel/flexjson/Makefile @@ -0,0 +1,45 @@ +# Ports collection makefile for: FlexJson +# Date created: 20 Apr 2006 +# Whom: Nemo Liu <nemoliu@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= flexjson +PORTVERSION= 1.0 +CATEGORIES= devel java +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= ${PORTNAME} + +MAINTAINER= nemoliu@gmail.com +COMMENT= A lightweight Java library to write JSON + +USE_JAVA= yes +JAVA_VERSION= 1.5+ +NO_BUILD= yes +USE_ZIP= yes + +PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar + +.if !defined(NOPORTDOCS) +PORTDOCS= LICENSE-2.0.txt docs +.endif + +do-install: + @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..." + @${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.jar \ + ${JAVAJARDIR}/${PORTNAME}.jar + + @${ECHO_MSG} " [DONE]" +.if !defined(NOPORTDOCS) + @${ECHO_MSG} -n ">> Installing documentation..." + @${MKDIR} ${DOCSDIR}/docs/ + @cd ${WRKDIR}/docs \ + && ${INSTALL_DATA} example_object_model.jpg ${DOCSDIR}/docs/. \ + && ${INSTALL_DATA} index.html ${DOCSDIR}/docs/. + @${INSTALL_DATA} ${WRKDIR}/LICENSE-2.0.txt ${DOCSDIR}/ + @${ECHO_MSG} " [DONE]" +.endif + +.include <bsd.port.mk> diff --git a/devel/flexjson/distinfo b/devel/flexjson/distinfo new file mode 100644 index 000000000000..d68305817f61 --- /dev/null +++ b/devel/flexjson/distinfo @@ -0,0 +1,3 @@ +MD5 (flexjson.zip) = f93c0e8cc7f2fcdc09364c7775831bb0 +SHA256 (flexjson.zip) = 0242e6c6a022d568a8a4571297a500254bf01c9d2ff1f9238b5a39c5b7e4cc54 +SIZE (flexjson.zip) = 55229 diff --git a/devel/flexjson/pkg-descr b/devel/flexjson/pkg-descr new file mode 100644 index 000000000000..9a7c8143a8ea --- /dev/null +++ b/devel/flexjson/pkg-descr @@ -0,0 +1,6 @@ +FlexJSON is a lightweight library to serialize objects out in Javascript Object +Notation (JSON). The library serializes only immediately available fields by +default, although it's fairly easy to add additional data such as collections +through code or annotations. + +WWW: http://flexjson.sourceforge.net/ |