Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Feb 2016 07:25:14 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r409155 - in head/java: . jd-gui jd-gui/files
Message-ID:  <201602190725.u1J7PE6w091823@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Fri Feb 19 07:25:14 2016
New Revision: 409155
URL: https://svnweb.freebsd.org/changeset/ports/409155

Log:
  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>

Added:
  head/java/jd-gui/
  head/java/jd-gui/Makefile   (contents, props changed)
  head/java/jd-gui/distinfo   (contents, props changed)
  head/java/jd-gui/files/
  head/java/jd-gui/files/jd-gui.in   (contents, props changed)
  head/java/jd-gui/files/patch-src_linux_resources_jd-gui.desktop   (contents, props changed)
  head/java/jd-gui/pkg-descr   (contents, props changed)
Modified:
  head/java/Makefile

Modified: head/java/Makefile
==============================================================================
--- head/java/Makefile	Fri Feb 19 06:56:15 2016	(r409154)
+++ head/java/Makefile	Fri Feb 19 07:25:14 2016	(r409155)
@@ -65,6 +65,7 @@
     SUBDIR += jcalendar
     SUBDIR += jcckit
     SUBDIR += jcommon
+    SUBDIR += jd-gui
     SUBDIR += jdbcpool
     SUBDIR += jdk16-doc
     SUBDIR += jdk7-doc

Added: head/java/jd-gui/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/java/jd-gui/Makefile	Fri Feb 19 07:25:14 2016	(r409155)
@@ -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>

Added: head/java/jd-gui/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/java/jd-gui/distinfo	Fri Feb 19 07:25:14 2016	(r409155)
@@ -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

Added: head/java/jd-gui/files/jd-gui.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/java/jd-gui/files/jd-gui.in	Fri Feb 19 07:25:14 2016	(r409155)
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec java -jar "%%JAVAJARDIR%%/jd-gui.jar" $@

Added: head/java/jd-gui/files/patch-src_linux_resources_jd-gui.desktop
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/java/jd-gui/files/patch-src_linux_resources_jd-gui.desktop	Fri Feb 19 07:25:14 2016	(r409155)
@@ -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

Added: head/java/jd-gui/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/java/jd-gui/pkg-descr	Fri Feb 19 07:25:14 2016	(r409155)
@@ -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/



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