diff options
author | pi <pi@FreeBSD.org> | 2016-02-19 15:25:14 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2016-02-19 15:25:14 +0800 |
commit | 67d19fd2bfd51bee555f355c1ce551f3b6290cf2 (patch) | |
tree | 226dea6650bdcd5ba54016a2431a886acdf34428 /java | |
parent | 28f2d739b1e688d7bb9b24438eb7f8ec452f579d (diff) | |
download | freebsd-ports-gnome-67d19fd2bfd51bee555f355c1ce551f3b6290cf2.tar.gz freebsd-ports-gnome-67d19fd2bfd51bee555f355c1ce551f3b6290cf2.tar.zst freebsd-ports-gnome-67d19fd2bfd51bee555f355c1ce551f3b6290cf2.zip |
New port: java/jd-gui
The Java Decompiler project aims to develop tools in order to
decompile and analyze Java 5 byte code and later versions.
JD-GUI is a standalone graphical utility that displays Java source
codes of .class files. You can browse the reconstructed source code
with the JD-GUI for instant access to methods and fields.
WWW: http://jd.benow.ca/
PR: 206488
Submitted by: Tobias Kortkamp <t@tobik.med>
Diffstat (limited to 'java')
-rw-r--r-- | java/Makefile | 1 | ||||
-rw-r--r-- | java/jd-gui/Makefile | 42 | ||||
-rw-r--r-- | java/jd-gui/distinfo | 4 | ||||
-rw-r--r-- | java/jd-gui/files/jd-gui.in | 2 | ||||
-rw-r--r-- | java/jd-gui/files/patch-src_linux_resources_jd-gui.desktop | 10 | ||||
-rw-r--r-- | java/jd-gui/pkg-descr | 8 |
6 files changed, 67 insertions, 0 deletions
diff --git a/java/Makefile b/java/Makefile index 390a38b2d5a7..9a984f968079 100644 --- a/java/Makefile +++ b/java/Makefile @@ -65,6 +65,7 @@ SUBDIR += jcalendar SUBDIR += jcckit SUBDIR += jcommon + SUBDIR += jd-gui SUBDIR += jdbcpool SUBDIR += jdk16-doc SUBDIR += jdk7-doc diff --git a/java/jd-gui/Makefile b/java/jd-gui/Makefile new file mode 100644 index 000000000000..6ccf0bcb7d3c --- /dev/null +++ b/java/jd-gui/Makefile @@ -0,0 +1,42 @@ +# Created by: Tobias Kortkamp <t@tobik.me> +# $FreeBSD$ + +PORTNAME= jd-gui +PORTVERSION= 1.4.0 +DISTVERSIONPREFIX= v +CATEGORIES= java devel +MASTER_SITES= GH:src \ + https://github.com/java-decompiler/jd-gui/releases/download/v${PORTVERSION}/:jar +DISTFILES= ${DISTNAME}.tar.gz:src \ + jd-gui-${PORTVERSION}.jar:jar +EXTRACT_ONLY= ${DISTNAME}.tar.gz + +MAINTAINER= t@tobik.me +COMMENT= Java Decompiler GUI + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USE_GITHUB= yes +GH_ACCOUNT= java-decompiler + +USE_JAVA= yes +JAVA_VERSION= 1.7+ +NO_BUILD= yes +NO_ARCH= yes + +PLIST_FILES= bin/jd-gui \ + %%JAVAJARDIR%%/jd-gui.jar \ + share/applications/jd-gui.desktop \ + share/pixmaps/jd-gui.png + +SUB_FILES= jd-gui +SUB_LIST= JAVAJARDIR="${JAVAJARDIR}" + +do-install: + ${INSTALL_SCRIPT} ${WRKDIR}/jd-gui ${STAGEDIR}${PREFIX}/bin/jd-gui + ${INSTALL_DATA} ${DISTDIR}/jd-gui-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/jd-gui.jar + ${INSTALL_DATA} ${WRKSRC}/src/linux/resources/jd-gui.desktop ${STAGEDIR}${PREFIX}/share/applications/ + ${INSTALL_DATA} ${WRKSRC}/src/linux/resources/jd_icon_128.png ${STAGEDIR}${PREFIX}/share/pixmaps/jd-gui.png + +.include <bsd.port.mk> diff --git a/java/jd-gui/distinfo b/java/jd-gui/distinfo new file mode 100644 index 000000000000..c0305bfa514b --- /dev/null +++ b/java/jd-gui/distinfo @@ -0,0 +1,4 @@ +SHA256 (java-decompiler-jd-gui-v1.4.0_GH0.tar.gz) = 5dd1220e7426352d51fa9eadb8a7d9685a6d7d93646c3fabae6f964cbf3edf2a +SIZE (java-decompiler-jd-gui-v1.4.0_GH0.tar.gz) = 307931 +SHA256 (jd-gui-1.4.0.jar) = bdd2f3dc8750910e0d69378482cff57f2ff29d23983d1e55d266390527bd6b67 +SIZE (jd-gui-1.4.0.jar) = 8764679 diff --git a/java/jd-gui/files/jd-gui.in b/java/jd-gui/files/jd-gui.in new file mode 100644 index 000000000000..f1e2d1bd4280 --- /dev/null +++ b/java/jd-gui/files/jd-gui.in @@ -0,0 +1,2 @@ +#!/bin/sh +exec java -jar "%%JAVAJARDIR%%/jd-gui.jar" $@ diff --git a/java/jd-gui/files/patch-src_linux_resources_jd-gui.desktop b/java/jd-gui/files/patch-src_linux_resources_jd-gui.desktop new file mode 100644 index 000000000000..8ce05743f9f6 --- /dev/null +++ b/java/jd-gui/files/patch-src_linux_resources_jd-gui.desktop @@ -0,0 +1,10 @@ +--- src/linux/resources/jd-gui.desktop.orig 2016-01-18 23:32:17 UTC ++++ src/linux/resources/jd-gui.desktop +@@ -2,6 +2,6 @@ + Comment=Java Decompiler JD-GUI + Terminal=false + Name=JD-GUI +-Exec=java -jar /opt/jd-gui/jd-gui.jar ++Exec=jd-gui + Type=Application + Icon=jd-gui diff --git a/java/jd-gui/pkg-descr b/java/jd-gui/pkg-descr new file mode 100644 index 000000000000..df834e39d316 --- /dev/null +++ b/java/jd-gui/pkg-descr @@ -0,0 +1,8 @@ +The Java Decompiler project aims to develop tools in order to +decompile and analyze Java 5 byte code and later versions. + +JD-GUI is a standalone graphical utility that displays Java source +codes of .class files. You can browse the reconstructed source code +with the JD-GUI for instant access to methods and fields. + +WWW: http://jd.benow.ca/ |