diff options
| author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2019-12-24 00:36:34 +0000 |
|---|---|---|
| committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2019-12-24 00:36:34 +0000 |
| commit | 205bf7a56021b498d4f6fde8546761660f9ac40e (patch) | |
| tree | 18ec2c6053999fcf32406cc84f3e9fbc6e3a4ec3 /java/apache-bcel | |
| parent | 1751cfa45d7933e43f677e7e9863954b44a11bcc (diff) | |
Notes
Diffstat (limited to 'java/apache-bcel')
| -rw-r--r-- | java/apache-bcel/Makefile | 33 | ||||
| -rw-r--r-- | java/apache-bcel/distinfo | 3 | ||||
| -rw-r--r-- | java/apache-bcel/pkg-descr | 19 |
3 files changed, 55 insertions, 0 deletions
diff --git a/java/apache-bcel/Makefile b/java/apache-bcel/Makefile new file mode 100644 index 000000000000..d6e55627b8a2 --- /dev/null +++ b/java/apache-bcel/Makefile @@ -0,0 +1,33 @@ +# $FreeBSD$ + +PORTNAME= bcel +PORTVERSION= 6.4.1 +CATEGORIES= java devel +MASTER_SITES= APACHE_COMMONS_BINARIES +PKGNAMEPREFIX= apache- +DISTNAME= ${PORTNAME}-${PORTVERSION}-bin + +MAINTAINER= java@FreeBSD.org +COMMENT= Library for generating Java bytecode + +LICENSE= APACHE20 + +NO_BUILD= yes +USE_JAVA= yes + +NO_ARCH= yes + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +PLIST_FILES= %%JAVAJARDIR%%/bcel.jar + +OPTIONS_DEFINE= DOCS + +PORTDOCS= * + +do-install: + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar \ + ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar + ${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/apidocs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "-not -empty") + +.include <bsd.port.mk> diff --git a/java/apache-bcel/distinfo b/java/apache-bcel/distinfo new file mode 100644 index 000000000000..f919369e7213 --- /dev/null +++ b/java/apache-bcel/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1570484666 +SHA256 (bcel-6.4.1-bin.tar.gz) = 1621dfa6418c6c2df83ea4da5eda9eb84955a3332c8e2580dd96e2db95fd8085 +SIZE (bcel-6.4.1-bin.tar.gz) = 5740090 diff --git a/java/apache-bcel/pkg-descr b/java/apache-bcel/pkg-descr new file mode 100644 index 000000000000..8f0aaa1bb500 --- /dev/null +++ b/java/apache-bcel/pkg-descr @@ -0,0 +1,19 @@ +The Byte Code Engineering Library (formerly known as JavaClass) is +intended to give users a convenient possibility to analyze, create, +and manipulate (binary) Java class files (those ending with +.class). Classes are represented by objects which contain all the +symbolic information of the given class: methods, fields and byte code +instructions, in particular. + +Such objects can be read from an existing file, be transformed by a +program (e.g. a class loader at run-time) and dumped to a file +again. An even more interesting application is the creation of classes +from scratch at run-time. The Byte Code Engineering Library (BCEL) may +be also useful if you want to learn about the Java Virtual Machine +(JVM) and the format of Java .class files. + +BCEL is already being used successfully in several projects such as +compilers, optimizers, obsfuscators and analysis tools, the most +popular probably being the Xalan XSLT processor at Apache. + +WWW: http://commons.apache.org/proper/commons-bcel/ |
