Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Apr 2007 11:43:37 GMT
From:      Nemo Liu<nemoliu@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/111934: [NEW PORT]devel/flexjson:a lightweight Java library to write JSON
Message-ID:  <200704201143.l3KBhbOd073228@www.freebsd.org>
Resent-Message-ID: <200704201150.l3KBoGjh009508@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         111934
>Category:       ports
>Synopsis:       [NEW PORT]devel/flexjson:a lightweight Java library to write JSON
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 20 11:50:14 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Nemo Liu
>Release:        7-current
>Organization:
>Environment:
FreeBSD tango.sina.com.cn 7.0-STOooRM FreeBSD 7.0-STOooRM #0: Fri Apr 20 10:59:17 CST 2007     liutong@tango.sina.com.cn:/usr/obj/usr/src/sys/TANGO  amd64
>Description:
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.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	flexjson
#	flexjson/Makefile
#	flexjson/distinfo
#	flexjson/pkg-descr
#
echo c - flexjson
mkdir -p flexjson > /dev/null 2>&1
echo x - flexjson/Makefile
sed 's/^X//' >flexjson/Makefile << 'END-of-flexjson/Makefile'
X# Ports collection makefile for:	FlexJson
X# Date created:			20 Apr 2006
X# Whom:				Nemo Liu <nemoliu@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	flexjson
XPORTVERSION=	1.0
XCATEGORIES=	devel java
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	${PORTNAME}
X
XMAINTAINER=	nemoliu@gmail.com
XCOMMENT=	A lightweight Java library to write JSON
X
XUSE_JAVA=	yes
XJAVA_VERSION=	1.5+
XNO_BUILD=	yes
XUSE_ZIP=	yes
X
XPLIST_FILES=	%%JAVAJARDIR%%/${PORTNAME}.jar
X
X.if !defined(NOPORTDOCS)
XPORTDOCS=	LICENSE-2.0.txt docs
X.endif
X
Xdo-install:
X	@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
X	@${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.jar \
X		${JAVAJARDIR}/${PORTNAME}.jar
X
X	@${ECHO_MSG} " [DONE]"
X.if !defined(NOPORTDOCS)
X	@${ECHO_MSG} -n ">> Installing documentation..."
X	@${MKDIR} ${DOCSDIR}/docs/
X	@cd ${WRKDIR}/docs \
X	  && ${INSTALL_DATA} example_object_model.jpg ${DOCSDIR}/docs/. \
X	  && ${INSTALL_DATA} index.html ${DOCSDIR}/docs/.
X	@${INSTALL_DATA} ${WRKDIR}/LICENSE-2.0.txt ${DOCSDIR}/
X	@${ECHO_MSG} " [DONE]"
X.endif
X
X.include <bsd.port.mk>
END-of-flexjson/Makefile
echo x - flexjson/distinfo
sed 's/^X//' >flexjson/distinfo << 'END-of-flexjson/distinfo'
XMD5 (flexjson.zip) = f93c0e8cc7f2fcdc09364c7775831bb0
XSHA256 (flexjson.zip) = 0242e6c6a022d568a8a4571297a500254bf01c9d2ff1f9238b5a39c5b7e4cc54
XSIZE (flexjson.zip) = 55229
END-of-flexjson/distinfo
echo x - flexjson/pkg-descr
sed 's/^X//' >flexjson/pkg-descr << 'END-of-flexjson/pkg-descr'
XFlexJSON is a lightweight library to serialize objects out in Javascript Object
XNotation (JSON). The library serializes only immediately available fields by
Xdefault, although it's fairly easy to add additional data such as collections
Xthrough code or annotations.
X
XWWW: http://flexjson.sourceforge.net/
END-of-flexjson/pkg-descr
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704201143.l3KBhbOd073228>