Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jan 2010 19:30:20 GMT
From:      Chris Rees <utisoft@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/142541: New port: java/jgraphx The Java Graph Diagram Component version X (6+)
Message-ID:  <201001091930.o09JUKsU065303@amnesiac.bayofrum.net>
Resent-Message-ID: <201001091940.o09Je4xI064635@freefall.freebsd.org>

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

>Number:         142541
>Category:       ports
>Synopsis:       New port: java/jgraphx The Java Graph Diagram Component version X (6+)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 09 19:40:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Chris Rees
>Release:        FreeBSD 7.2-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD amnesiac.bayofrum.net 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Fri Oct 2 12:21:39 UTC 2009 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386

>Description:
	JGraph is the most powerful, lightweight, feature-rich, and thoroughly
documented open-source graph component available for Java. It is accompanied
by JGraphpad, the first free diagram editor for Java that offers XML, Drag and
Drop and much more!

	With the JGraph zoomable component, you can display objects and relations
(networks) in any Swing UI. JGraph can also be used on the server-side, for
example to read a GXL graph, apply a custom layout algorithm, and return the
result as a HTML image map.

	jgraphx is a dependency of Scilab, which is the reason I wrote the port for it (sorry, read copied from java/jgraph and modified).

>How-To-Repeat:
>Fix:

--- jgraphx.shar begins here ---
# 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:
#
#	/usr/ports/java/jgraphx
#	/usr/ports/java/jgraphx/pkg-descr
#	/usr/ports/java/jgraphx/Makefile
#	/usr/ports/java/jgraphx/distinfo
#
echo c - /usr/ports/java/jgraphx
mkdir -p /usr/ports/java/jgraphx > /dev/null 2>&1
echo x - /usr/ports/java/jgraphx/pkg-descr
sed 's/^X//' >/usr/ports/java/jgraphx/pkg-descr << '87051445f75bd8b61d9abe5c60c5398e'
XJGraph is the most powerful, lightweight, feature-rich, and thoroughly
Xdocumented open-source graph component available for Java. It is accompanied
Xby JGraphpad, the first free diagram editor for Java that offers XML, Drag and
XDrop and much more!
X
XWith the JGraph zoomable component, you can display objects and relations
X(networks) in any Swing UI. JGraph can also be used on the server-side, for
Xexample to read a GXL graph, apply a custom layout algorithm, and return the
Xresult as a HTML image map.
X
XWWW: http://www.jgraph.com/jgraphx.html
87051445f75bd8b61d9abe5c60c5398e
echo x - /usr/ports/java/jgraphx/Makefile
sed 's/^X//' >/usr/ports/java/jgraphx/Makefile << '6bbffd417feffa50bc0a24015970276b'
X# Ports collection Makefile for:	jgraphx
X# Date created:				5 Jan 2010
X# Whom:					Chris Rees
X#
X# $FreeBSD$
X#
X
XPORTNAME=	jgraphx
XPORTVERSION=	1.2.0.5
XCATEGORIES=	java graphics
XMASTER_SITES=	http://www.jgraph.com/downloads/jgraphx/archive/ \
X		http://www.bayofrum.net/dist/jgraphx/
XDISTNAME=	${PORTNAME}-${PORTVERSION:C/\./_/g}
X
XMAINTAINER=	utisoft@gmail.com
XCOMMENT=	The Java Graph Diagram Component version X (jgraph v6+)
X
XUSE_ZIP=	yes
XWRKSRC=		${WRKDIR}/${PORTNAME}
XUSE_JAVA=	yes
XJAVA_VERSION=	1.4+
XJAVA_RUN=	yes
X
X.if !defined(WITHOUT_COMPILE) || !defined(NOPORTDOCS)
XBUILD_DEPENDS+=	${ANT_CMD}:${PORTSDIR}/devel/apache-ant
XANT_CMD?=	${LOCALBASE}/bin/ant
XANT=		${SETENV} JAVA_HOME=${JAVA_HOME} ${ANT_CMD}
X.endif
X
X.if !defined(WITHOUT_COMPILE)
XJAVA_BUILD=	yes
X.endif
X
X.if !defined(NOPORTDOCS)
XPORTDOCS=	*
X.endif
X
XPLIST_FILES=	%%JAVAJARDIR%%/${PORTNAME}.jar
X
Xpre-fetch:
X	@${ECHO_MSG} ""
X	@${ECHO_MSG} "You may use the following build options:"
X	@${ECHO_MSG} ""
X	@${ECHO_MSG} "    WITHOUT_COMPILE=yes    Install the pre-compiled .jar file"
X	@${ECHO_MSG} ""
X
Xdo-build:
X.if !defined(WITHOUT_COMPILE) || !defined(NOPORTDOCS)
X	@cd ${WRKSRC} && ${ANT} ${ANT_TARGETS}
X.endif
X
Xdo-install: do-install-jar do-install-javadoc
X
Xdo-install-jar:
X	@${ECHO_CMD} -n  ">> Installing .jar file..."
X	@${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}.jar ${JAVAJARDIR}/${PORTNAME}.jar
X	@${ECHO_CMD} " [DONE]"
X
Xdo-install-javadoc:
X.if !defined(NOPORTDOCS)
X	@${ECHO_CMD} -n ">> Installing documentation in ${DOCSDIR}..."
X	@${MKDIR} ${DOCSDIR}
X	@cd ${WRKSRC}/docs && ${FIND} . \
X	  | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
X	@${ECHO_CMD} " [DONE]"
X.endif
X
X.include <bsd.port.mk>
6bbffd417feffa50bc0a24015970276b
echo x - /usr/ports/java/jgraphx/distinfo
sed 's/^X//' >/usr/ports/java/jgraphx/distinfo << '157110b1423d5b41124ed8305fe9b933'
XMD5 (jgraphx-1_2_0_5.zip) = bd788292a52506d817efae43f22362c9
XSHA256 (jgraphx-1_2_0_5.zip) = b57b677f4abb1b0153d23da5ca8afe74c0335ab25e6d7d40be52a93a3d98b7b0
XSIZE (jgraphx-1_2_0_5.zip) = 3032608
157110b1423d5b41124ed8305fe9b933
exit
--- jgraphx.shar ends here ---



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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



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