aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-01-30 19:40:06 +0800
committerijliao <ijliao@FreeBSD.org>2002-01-30 19:40:06 +0800
commitd4f6c82457b2255e7cbdbec332c1c402a3f39b7d (patch)
tree41ef1155c17b346e1b583d16cb016ccf03a092ce /java
parente60dc1d58e2483f1de1278c7db441d8623d3f619 (diff)
downloadfreebsd-ports-gnome-d4f6c82457b2255e7cbdbec332c1c402a3f39b7d.tar.gz
freebsd-ports-gnome-d4f6c82457b2255e7cbdbec332c1c402a3f39b7d.tar.zst
freebsd-ports-gnome-d4f6c82457b2255e7cbdbec332c1c402a3f39b7d.zip
add javel 0.3.2
Java disassembler
Diffstat (limited to 'java')
-rw-r--r--java/Makefile1
-rw-r--r--java/javel/Makefile30
-rw-r--r--java/javel/distinfo1
-rw-r--r--java/javel/files/patch-cp_info.cc13
-rw-r--r--java/javel/pkg-comment1
-rw-r--r--java/javel/pkg-descr7
-rw-r--r--java/javel/pkg-plist1
7 files changed, 54 insertions, 0 deletions
diff --git a/java/Makefile b/java/Makefile
index 112be9752375..04143ec4908c 100644
--- a/java/Makefile
+++ b/java/Makefile
@@ -21,6 +21,7 @@
SUBDIR += java-cup
SUBDIR += javamail
SUBDIR += javavmwrapper
+ SUBDIR += javel
SUBDIR += jce-aba
SUBDIR += jdbcpool
SUBDIR += jde
diff --git a/java/javel/Makefile b/java/javel/Makefile
new file mode 100644
index 000000000000..674421523b8b
--- /dev/null
+++ b/java/javel/Makefile
@@ -0,0 +1,30 @@
+# ex:ts=8
+# Ports collection makefile for: javel
+# Date created: Jan 30, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= javel
+PORTVERSION= 0.3.2
+CATEGORIES= java
+MASTER_SITES= http://www.geocities.com/l.gregoire/
+DISTNAME= ${PORTNAME}${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+
+NO_WRKSUBDIR= yes
+MAKEFILE= makefile
+
+MAN1= javel.1
+
+post-patch:
+ @${PERL} -pi -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \
+ s,CC,CXX,g ; s,CFLAGS,CXXFLAGS,g" ${WRKSRC}/${MAKEFILE}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/javel ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/javel.1 ${MAN1PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/java/javel/distinfo b/java/javel/distinfo
new file mode 100644
index 000000000000..19f164b6c738
--- /dev/null
+++ b/java/javel/distinfo
@@ -0,0 +1 @@
+MD5 (javel0.3.2.tar.gz) = b82967188d1a286c2293df3e5b2ac199
diff --git a/java/javel/files/patch-cp_info.cc b/java/javel/files/patch-cp_info.cc
new file mode 100644
index 000000000000..22c47c938e07
--- /dev/null
+++ b/java/javel/files/patch-cp_info.cc
@@ -0,0 +1,13 @@
+--- cp_info.cc.orig Wed Jan 30 19:28:19 2002
++++ cp_info.cc Wed Jan 30 19:28:30 2002
+@@ -163,8 +163,8 @@
+ int expo = (high_bytes >> 20) & 0x7ff;
+ expo -= 1075;
+ llong mant = (expo == 0) ?
+- (bytes & 0xfffffffffffff) << 1 :
+- (bytes & 0xfffffffffffff) | 0x10000000000000;
++ (bytes & 0xfffffffffffffLL) << 1 :
++ (bytes & 0xfffffffffffffLL) | 0x10000000000000LL;
+ long double x = sign;
+ x *= mant;
+ x *= pow(2.0, expo);
diff --git a/java/javel/pkg-comment b/java/javel/pkg-comment
new file mode 100644
index 000000000000..a52e17454f4d
--- /dev/null
+++ b/java/javel/pkg-comment
@@ -0,0 +1 @@
+Java disassembler
diff --git a/java/javel/pkg-descr b/java/javel/pkg-descr
new file mode 100644
index 000000000000..b2ba8d6ee5b1
--- /dev/null
+++ b/java/javel/pkg-descr
@@ -0,0 +1,7 @@
+Javel is a java class file disassembler. It is a filter that, given a
+compiled java class file, outputs a disassembled version in a java-like
+form with all the interface, fields, methods, and the java assembler code
+for each method. It can also output dependencies of the class file, suitable
+for inclusion in a standard makefile.
+
+WWW: http://www.geocities.com/l.gregoire/javel.html
diff --git a/java/javel/pkg-plist b/java/javel/pkg-plist
new file mode 100644
index 000000000000..7d240c05f2ad
--- /dev/null
+++ b/java/javel/pkg-plist
@@ -0,0 +1 @@
+bin/javel