diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-04-20 12:18:32 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-04-20 12:18:32 +0000 |
commit | 43e4f23ceac49d6cd57ec50425782ca9365b577d (patch) | |
tree | 302dd8bf1eb24e2697c32c13a848f19d093d0ad8 /devel/flexjson | |
parent | 4d0c4cd69fe3e3b7a25449f3d683a110c9720e16 (diff) | |
download | ports-43e4f23ceac49d6cd57ec50425782ca9365b577d.tar.gz ports-43e4f23ceac49d6cd57ec50425782ca9365b577d.zip |
Notes
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/ |