From 08d778eea973bbf1125be4057efbfca09d6cceca Mon Sep 17 00:00:00 2001 From: miwi Date: Fri, 12 Feb 2010 14:39:14 +0000 Subject: yEd is a very powerful graph editor that can be used to quickly and effectively generate drawings and to apply automatic layouts to a range of different diagrams and networks. yEd makes full use of the yFiles library. This is a Java class library enabling the viewing, editing, optimizing, drawing, and animating of a wide range of diagrams, networks, and other graph-like structures. WWW: http://www.yworks.com/en/products_yed_about.html PR: ports/142858 Submitted by: Eugene Mychlo --- graphics/Makefile | 1 + graphics/yed/Makefile | 42 ++++++++++++++++++++++++++++++++++++++++++ graphics/yed/distinfo | 3 +++ graphics/yed/files/yed.in | 3 +++ graphics/yed/pkg-descr | 8 ++++++++ graphics/yed/pkg-plist | 4 ++++ 6 files changed, 61 insertions(+) create mode 100644 graphics/yed/Makefile create mode 100644 graphics/yed/distinfo create mode 100644 graphics/yed/files/yed.in create mode 100644 graphics/yed/pkg-descr create mode 100644 graphics/yed/pkg-plist diff --git a/graphics/Makefile b/graphics/Makefile index 8d99c5a6f149..032b96585e92 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -979,6 +979,7 @@ SUBDIR += yafray SUBDIR += yagf SUBDIR += yap + SUBDIR += yed SUBDIR += yukon SUBDIR += zgv SUBDIR += zimg diff --git a/graphics/yed/Makefile b/graphics/yed/Makefile new file mode 100644 index 000000000000..6a33fbf73c51 --- /dev/null +++ b/graphics/yed/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: yed +# Date created: 15 Jan 2010 +# Whom: Eugene Mychlo +# +# $FreeBSD$ +# + +PORTNAME= yed +PORTVERSION= 3.4.1 +CATEGORIES= graphics java +MASTER_SITES= # +DISTNAME= yEd-${PORTVERSION} + +MAINTAINER= myc@barev.net +COMMENT= An editor for graphs and diagrams + +USE_ZIP= yes +USE_JAVA= yes +JAVA_VERSION= 1.5+ +NO_BUILD= yes +RESTRICTED= Restrictive license + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +SUB_FILES= ${PORTNAME} + +DOWNLOAD_URL?= http://www.yworks.com/en/products_download.php?file=${DISTNAME}${EXTRACT_SUFX} + +.include + +.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) +IGNORE= you must manually obtain ${DISTNAME}${EXTRACT_SUFX} from\ + '${DOWNLOAD_URL}', place it in ${DISTDIR} and then run make again +.endif + +do-install: + @${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/license.html ${DATADIR} + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin + +.include diff --git a/graphics/yed/distinfo b/graphics/yed/distinfo new file mode 100644 index 000000000000..c9279c1cc69b --- /dev/null +++ b/graphics/yed/distinfo @@ -0,0 +1,3 @@ +MD5 (yEd-3.4.1.zip) = 786390514740f4dc1ea8e20177aac087 +SHA256 (yEd-3.4.1.zip) = 505ffa37b2d81fa0040c010c3f2c62e675b081e644dfc9bd307c6899f8a3f475 +SIZE (yEd-3.4.1.zip) = 13994703 diff --git a/graphics/yed/files/yed.in b/graphics/yed/files/yed.in new file mode 100644 index 000000000000..8ce0afa03406 --- /dev/null +++ b/graphics/yed/files/yed.in @@ -0,0 +1,3 @@ +#!/bin/sh + +exec java -jar %%DATADIR%%/yed.jar diff --git a/graphics/yed/pkg-descr b/graphics/yed/pkg-descr new file mode 100644 index 000000000000..bc05efd1ba5d --- /dev/null +++ b/graphics/yed/pkg-descr @@ -0,0 +1,8 @@ +yEd is a very powerful graph editor that can be used to quickly and effectively +generate drawings and to apply automatic layouts to a range of different +diagrams and networks. +yEd makes full use of the yFiles library. This is a Java class library enabling +the viewing, editing, optimizing, drawing, and animating of a wide range +of diagrams, networks, and other graph-like structures. + +WWW: http://www.yworks.com/en/products_yed_about.html diff --git a/graphics/yed/pkg-plist b/graphics/yed/pkg-plist new file mode 100644 index 000000000000..06659d9efa01 --- /dev/null +++ b/graphics/yed/pkg-plist @@ -0,0 +1,4 @@ +%%DATADIR%%/yed.jar +%%DATADIR%%/license.html +bin/yed +@dirrm %%DATADIR%% -- cgit