source: trunk/dports/java/cglib/Portfile @ 20315

Last change on this file since 20315 was 20315, 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.0 KB
Line 
1# $Id: Portfile 20315 2006-11-01 22:23:03Z blair@macports.org $
2
3PortSystem 1.0
4
5name                            cglib
6version                         2.2_beta1
7
8categories                      java
9maintainers                     jberry@macports.org
10platforms                       darwin
11
12description                     cglib - a code generation library for java byte code.
13long_description        cglib is a powerful, high performance and quality Code \
14                                        Generation Library, It is used to extend JAVA classes and \
15                                        implement interfaces at runtime
16homepage                        http://cglib.sourceforge.net/
17
18master_sites            sourceforge
19checksums                       md5 9f4d0b03115f92aa4bb06b840c19b542
20
21distname                        ${name}-src-${version}
22worksrcdir                      .
23
24extract.suffix          .jar
25extract.cmd                     jar
26extract.pre_args        xf
27extract.post_args
28
29depends_build           bin:ant:apache-ant
30depends_lib                     bin:java:kaffe
31
32use_configure           no
33
34build.cmd                       ant
35build.target            dist
36
37destroot        {
38        xinstall -m 755 -d ${destroot}${prefix}/share/java \
39                ${destroot}${prefix}/share/doc
40               
41        foreach f "${name} ${name}-nodep" {
42                xinstall -m 644 \
43                        ${worksrcpath}/dist/${f}-${version}.jar \
44                        ${destroot}${prefix}/share/java/${f}.jar
45        }
46       
47        file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
48}
Note: See TracBrowser for help on using the repository browser.