add javel 0.3.2

Java disassembler
This commit is contained in:
Ying-Chieh Liao 2002-01-30 11:40:06 +00:00
parent da93beb78f
commit ea19e74fca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54020
7 changed files with 54 additions and 0 deletions

View file

@ -21,6 +21,7 @@
SUBDIR += java-cup
SUBDIR += javamail
SUBDIR += javavmwrapper
SUBDIR += javel
SUBDIR += jce-aba
SUBDIR += jdbcpool
SUBDIR += jde

30
java/javel/Makefile Normal file
View file

@ -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>

1
java/javel/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (javel0.3.2.tar.gz) = b82967188d1a286c2293df3e5b2ac199

View file

@ -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);

1
java/javel/pkg-comment Normal file
View file

@ -0,0 +1 @@
Java disassembler

7
java/javel/pkg-descr Normal file
View file

@ -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

1
java/javel/pkg-plist Normal file
View file

@ -0,0 +1 @@
bin/javel