summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-02-12 14:39:14 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-02-12 14:39:14 +0000
commit86eb8135e31c184af7f29698b30306858931a338 (patch)
tree03ce4265fe8678ec6a21eaef6a9cc7a3e8cebcd5 /graphics
parent- Update to 1.5.1 (diff)
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 <myc at barev.net>
Notes
Notes: svn path=/head/; revision=249686
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/yed/Makefile42
-rw-r--r--graphics/yed/distinfo3
-rw-r--r--graphics/yed/files/yed.in3
-rw-r--r--graphics/yed/pkg-descr8
-rw-r--r--graphics/yed/pkg-plist4
6 files changed, 61 insertions, 0 deletions
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 <myc@barev.net>
+#
+# $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 <bsd.port.pre.mk>
+
+.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 <bsd.port.post.mk>
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%%