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>
This commit is contained in:
parent
4d0c4cd69f
commit
43e4f23cea
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190438
@ -304,6 +304,7 @@
|
||||
SUBDIR += fib
|
||||
SUBDIR += fistgen
|
||||
SUBDIR += flatzebra
|
||||
SUBDIR += flexjson
|
||||
SUBDIR += flick
|
||||
SUBDIR += florist
|
||||
SUBDIR += florist-gpl
|
||||
|
45
devel/flexjson/Makefile
Normal file
45
devel/flexjson/Makefile
Normal file
@ -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>
|
3
devel/flexjson/distinfo
Normal file
3
devel/flexjson/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (flexjson.zip) = f93c0e8cc7f2fcdc09364c7775831bb0
|
||||
SHA256 (flexjson.zip) = 0242e6c6a022d568a8a4571297a500254bf01c9d2ff1f9238b5a39c5b7e4cc54
|
||||
SIZE (flexjson.zip) = 55229
|
6
devel/flexjson/pkg-descr
Normal file
6
devel/flexjson/pkg-descr
Normal file
@ -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/
|
Loading…
Reference in New Issue
Block a user