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

Last change on this file since 20318 was 20318, 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.4 KB
Line 
1# $Id: Portfile 20318 2006-11-01 22:35:15Z blair@macports.org $
2
3PortSystem 1.0
4
5name                    objectweb-asm
6version                 2.1
7categories              java devel
8platforms               darwin
9maintainers             dave@glowacki.org
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          cd ${worksrcpath}
34          reinplace s|^.*objectweb.ant.tasks.path.*ow_util_ant_tasks.jar|objectweb.ant.tasks.path\ ${prefix}/share/java/objectweb-anttasks.jar| build.properties
35}
36
37build.cmd               ant
38build.target            jar jdoc
39build.env               CLASSPATH=${prefix}/share/java/objectweb-anttasks.jar
40
41variant debug {
42        build.args-append               -debug
43}
44
45destroot        {
46        xinstall -m 755 -d ${destroot}${prefix}/share/java \
47                ${destroot}${prefix}/share/doc
48        xinstall -m 644 ${worksrcpath}/output/dist/lib/asm-${version}.jar \
49                ${destroot}${prefix}/share/java/${name}.jar
50        file copy ${worksrcpath}/output/dist/doc/javadoc/user \
51                ${destroot}${prefix}/share/doc/${name}
52}
Note: See TracBrowser for help on using the repository browser.