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
RevLine 
[20315]1# $Id: Portfile 86406 2011-10-25 10:41:22Z ryandesign@macports.org $
[13995]2
3PortSystem 1.0
4
[38013]5name                    cglib
[38018]6epoch                   1
[86406]7version                 2.2.2
[13995]8
[38013]9categories              java
[72252]10maintainers             nomaintainer
[38013]11platforms               darwin
[86406]12supported_archs         noarch
[13995]13
[38013]14description             cglib - a code generation library for java byte code.
[38014]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.
[38013]19homepage                http://cglib.sourceforge.net/
[86406]20master_sites            sourceforge:project/cglib/cglib2/${version}
[13995]21
[38013]22distname                ${name}-src-${version}
[13995]23
[86406]24checksums               rmd160  2a4773bb33e1728abadaebd62e3dc904c01f6be6 \
25                        sha256  896000c74f71291e2931188b5494ffd7bdac8f0d75dfeeac1c40eb6e16cadcbb
26
27extract.mkdir           yes
[13995]28extract.suffix          .jar
[38013]29extract.cmd             jar
[13995]30extract.pre_args        xf
31extract.post_args
32
33depends_build           bin:ant:apache-ant
[38013]34depends_lib             bin:java:kaffe
[13995]35
36use_configure           no
37
[38013]38build.cmd               ant
[13995]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.