source: trunk/dports/java/objectweb-asm/Portfile

Last change on this file was 50984, checked in by and.damore@…, 8 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    objectweb-asm
6version                 2.1
7categories              java devel
8platforms               darwin
9maintainers             glowacki.org:dave
10description             Java bytecode manipulation framework.
11long_description        ASM is a Java bytecode manipulation framework. It \
12                        offers similar functionalities as BCEL or SERP, but \
13                        is much smaller and faster than these tools.
14
15set project             asm
16set realname            ${project}
17
18homepage                http://asm.objectweb.org/
19master_sites            http://download.us.forge.objectweb.org/${project} \
20                        http://download.forge.objectweb.org/${project} \
21                        http://download.fr2.forge.objectweb.org/${project}
22distname                ${realname}-${version}
23checksums               md5 dfd62160a88f13e236f9da7d2485c9ec
24
25depends_build           port:objectweb-anttasks \
26                        bin:ant:apache-ant
27
28worksrcdir              ${realname}-${version}
29
30use_configure           no
31
32pre-build {
33          reinplace s|^.*objectweb.ant.tasks.path.*ow_util_ant_tasks.jar|objectweb.ant.tasks.path\ ${prefix}/share/java/objectweb-anttasks.jar| ${worksrcpath}/build.properties
34}
35
36build.cmd               ant
37build.target            jar jdoc
38build.env               CLASSPATH=${prefix}/share/java/objectweb-anttasks.jar
39
40variant debug {
41        build.args-append               -debug
42}
43
44destroot        {
45        xinstall -m 755 -d ${destroot}${prefix}/share/java \
46                ${destroot}${prefix}/share/doc
47        xinstall -m 644 ${worksrcpath}/output/dist/lib/asm-${version}.jar \
48                ${destroot}${prefix}/share/java/${name}.jar
49        file copy ${worksrcpath}/output/dist/doc/javadoc/user \
50                ${destroot}${prefix}/share/doc/${name}
51}
Note: See TracBrowser for help on using the repository browser.