diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-01-30 11:40:06 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-01-30 11:40:06 +0000 |
commit | ea19e74fcadfbcf878db38713d1e856b2005e7bc (patch) | |
tree | 7a46fa0bb66af76df6105b34152361fced36797e /java | |
parent | - Update to vbsfilter-1.8 (diff) |
add javel 0.3.2
Java disassembler
Notes
Notes:
svn path=/head/; revision=54020
Diffstat (limited to 'java')
-rw-r--r-- | java/Makefile | 1 | ||||
-rw-r--r-- | java/javel/Makefile | 30 | ||||
-rw-r--r-- | java/javel/distinfo | 1 | ||||
-rw-r--r-- | java/javel/files/patch-cp_info.cc | 13 | ||||
-rw-r--r-- | java/javel/pkg-comment | 1 | ||||
-rw-r--r-- | java/javel/pkg-descr | 7 | ||||
-rw-r--r-- | java/javel/pkg-plist | 1 |
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 |