source: trunk/dports/java/jakarta-bcel/Portfile @ 20317

Last change on this file since 20317 was 20317, checked in by blair@…, 13 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 20317 2006-11-01 22:34:01Z blair@macports.org $
2
3PortSystem 1.0
4
5name                            jakarta-bcel
6version                         5.1
7revision                        1
8
9categories                      java
10maintainers                     jberry@macports.org
11platforms                       darwin
12
13description                     Jakarta BCEL -- Java Byte Code Engineering Library
14long_description        The Byte Code Engineering Library is intended to give \
15                                        users a convenient possibility to analyze, create, and \
16                                        manipulate (binary) Java class files (those ending with \
17                                        .class). Classes are represented by objects which contain \
18                                        all the symbolic information of the given class: methods, \
19                                        fields and byte code instructions, in particular.
20homepage                        http://jakarta.apache.org/bcel/
21
22master_sites            apache:jakarta/bcel/source/
23checksums                       md5 31ebbd7738325c775bd3ad5ce90dc263
24
25distname                        bcel-${version}-src
26depends_build           bin:ant:apache-ant
27depends_lib                     bin:java:kaffe \
28                                        port:jakarta-regexp
29
30worksrcdir                      bcel-${version}
31
32patchfiles                      patch-Pass2Verifier.java.diff \
33                                        patch-StringRepresentation.java.diff
34
35post-extract {
36        # Cleanup becl's sloppy distribution
37        system "cd ${workpath} && unzip bcel-${version}.zip && unzip -o ${distname}.zip"
38        file delete ${worksrcpath}/bcel-${version}.jar
39        file mkdir ${worksrcpath}/examples
40
41        # There is no manifest in the source distribution
42        reinplace /manifest/d ${worksrcpath}/build.xml
43}
44
45use_configure           no
46
47build.cmd                       ant
48build.target            jar
49build.args                      -Dname=${name} \
50                                        -Dclass.path=${prefix}/share/java/jakarta-regexp.jar
51
52destroot        {
53        xinstall -m 755 -d ${destroot}${prefix}/share/java \
54                ${destroot}${prefix}/share/doc
55        xinstall -m 644 \
56                ${worksrcpath}/bin/jakarta-bcel.jar \
57                ${destroot}${prefix}/share/java/
58        file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
59}
Note: See TracBrowser for help on using the repository browser.