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

Last change on this file since 86406 was 86406, checked in by ryandesign@…, 9 years ago

cglib: update to 2.2.2; noarch; extract.mkdir yes; rewrite master_sites to avoid redirects

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 86406 2011-10-25 10:41:22Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    cglib
6epoch                   1
7version                 2.2.2
8
9categories              java
10maintainers             nomaintainer
11platforms               darwin
12supported_archs         noarch
13
14description             cglib - a code generation library for java byte code.
15long_description        cglib is a powerful, high performance and quality \
16                                Code Generation Library, It is used to extend \
17                                Java classes and implement interfaces at \
18                                runtime.
19homepage                http://cglib.sourceforge.net/
20master_sites            sourceforge:project/cglib/cglib2/${version}
21
22distname                ${name}-src-${version}
23
24checksums               rmd160  2a4773bb33e1728abadaebd62e3dc904c01f6be6 \
25                        sha256  896000c74f71291e2931188b5494ffd7bdac8f0d75dfeeac1c40eb6e16cadcbb
26
27extract.mkdir           yes
28extract.suffix          .jar
29extract.cmd             jar
30extract.pre_args        xf
31extract.post_args
32
33depends_build           bin:ant:apache-ant
34depends_lib             bin:java:kaffe
35
36use_configure           no
37
38build.cmd               ant
39build.target            dist
40
41destroot        {
42        xinstall -m 755 -d ${destroot}${prefix}/share/java \
43                ${destroot}${prefix}/share/doc
44               
45        foreach f "${name} ${name}-nodep" {
46                xinstall -m 644 \
47                        ${worksrcpath}/dist/${f}-${version}.jar \
48                        ${destroot}${prefix}/share/java/${f}.jar
49        }
50       
51        file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
52}
Note: See TracBrowser for help on using the repository browser.