summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvg <vg@FreeBSD.org>2016-11-18 15:47:06 +0000
committervg <vg@FreeBSD.org>2016-11-18 15:47:06 +0000
commit6537603d55fe51a65f2649b6af8a1a9d0c5e1f6e (patch)
treee29fe283e602ac2b76804eba91b8e4098c720950
parent2af6f5ead01fe08d0922a42eea5d89baa5cf0449 (diff)
downloadFreeBSD-ports-6537603d55fe51a65f2649b6af8a1a9d0c5e1f6e.zip
FreeBSD-ports-6537603d55fe51a65f2649b6af8a1a9d0c5e1f6e.tar.gz
- Update to 3.16.2.1
- Fix unsupported major.minor version 52.0 PR: ports/213839 Submitted by: olevole@olevole.ru Approved by: Eugene Mychlo <myc@barev.net> (maintainer)
-rw-r--r--graphics/yed/Makefile11
-rw-r--r--graphics/yed/distinfo6
-rw-r--r--graphics/yed/files/yed.in9
-rw-r--r--graphics/yed/pkg-plist7
4 files changed, 26 insertions, 7 deletions
diff --git a/graphics/yed/Makefile b/graphics/yed/Makefile
index 8cf6596..983046a 100644
--- a/graphics/yed/Makefile
+++ b/graphics/yed/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= yed
-PORTVERSION= 3.16.1
+PORTVERSION= 3.16.2.1
CATEGORIES= graphics java
MASTER_SITES= #
DISTNAME= yEd-${PORTVERSION}
@@ -18,7 +18,7 @@ LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept
USES= zip
USE_JAVA= yes
-JAVA_VERSION= 1.7+
+JAVA_VERSION= 1.8+
NO_BUILD= yes
RESTRICTED= Downloading requires acceptance of license agreement
DESKTOP_ENTRIES="yEd" "${COMMENT}" "" "yed" "Graphics;" false
@@ -40,19 +40,24 @@ do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/license.html ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/thirdpartylicenses.html ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${DATADIR}/lib
. for lib in common-image.jar \
common-io.jar \
common-lang.jar \
+ imageio-bmp.jar \
imageio-core.jar \
+ imageio-hdr.jar \
imageio-icns.jar \
- imageio-ico.jar \
imageio-iff.jar \
imageio-jpeg.jar \
imageio-metadata.jar \
+ imageio-pcx.jar \
imageio-pict.jar \
imageio-psd.jar \
+ imageio-sgi.jar \
+ imageio-tga.jar \
imageio-thumbsdb.jar \
imageio-tiff.jar \
vectorgraphics.jar
diff --git a/graphics/yed/distinfo b/graphics/yed/distinfo
index 7a1e742..12157ce 100644
--- a/graphics/yed/distinfo
+++ b/graphics/yed/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1474225333
-SHA256 (yEd-3.16.1.zip) = f2c48697ae2d6d1fa29005157d3d8f319380bef9ecc250ae727246bd2f9bfe40
-SIZE (yEd-3.16.1.zip) = 33118338
+TIMESTAMP = 1477597016
+SHA256 (yEd-3.16.2.1.zip) = 47ac746ad30eb6375b8f45e9382efd0db0b6e3b1eb8f4760625963175b753805
+SIZE (yEd-3.16.2.1.zip) = 34677676
diff --git a/graphics/yed/files/yed.in b/graphics/yed/files/yed.in
index afb5d07..a16eb26 100644
--- a/graphics/yed/files/yed.in
+++ b/graphics/yed/files/yed.in
@@ -1,2 +1,11 @@
#!/bin/sh
+
+#: ${JAVA_HOME=%%PREFIX%%/openjdk8}
+JAVA_HOME=%%PREFIX%%/openjdk8
+
+if [ ! -x ${JAVA_HOME}/bin/java ]; then
+ echo "No java distribution in ${JAVA_HOME}"
+ exit 1
+fi
+
exec java -Dawt.useSystemAAFontSettings=on -jar %%DATADIR%%/yed.jar
diff --git a/graphics/yed/pkg-plist b/graphics/yed/pkg-plist
index 2890a3f..9a30758 100644
--- a/graphics/yed/pkg-plist
+++ b/graphics/yed/pkg-plist
@@ -2,16 +2,21 @@ bin/yed
%%DATADIR%%/lib/common-image.jar
%%DATADIR%%/lib/common-io.jar
%%DATADIR%%/lib/common-lang.jar
+%%DATADIR%%/lib/imageio-bmp.jar
%%DATADIR%%/lib/imageio-core.jar
+%%DATADIR%%/lib/imageio-hdr.jar
%%DATADIR%%/lib/imageio-icns.jar
-%%DATADIR%%/lib/imageio-ico.jar
%%DATADIR%%/lib/imageio-iff.jar
%%DATADIR%%/lib/imageio-jpeg.jar
%%DATADIR%%/lib/imageio-metadata.jar
+%%DATADIR%%/lib/imageio-pcx.jar
%%DATADIR%%/lib/imageio-pict.jar
%%DATADIR%%/lib/imageio-psd.jar
+%%DATADIR%%/lib/imageio-sgi.jar
+%%DATADIR%%/lib/imageio-tga.jar
%%DATADIR%%/lib/imageio-thumbsdb.jar
%%DATADIR%%/lib/imageio-tiff.jar
%%DATADIR%%/lib/vectorgraphics.jar
%%DATADIR%%/license.html
+%%DATADIR%%/thirdpartylicenses.html
%%DATADIR%%/yed.jar
OpenPOWER on IntegriCloud