source: trunk/dports/java/proguard/Portfile @ 108880

Last change on this file since 108880 was 100511, checked in by blair@…, 7 years ago

proguard: replace tabs with spaces.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 100511 2012-12-14 16:19:48Z blair@macports.org $
2
3PortSystem 1.0
4               
5name            proguard
6version         4.8
7categories      java
8platforms       darwin
9maintainers     blair
10
11description     Java bytecode shrinker, optimizer, and obfuscator.
12long_description \
13    ProGuard is a free Java class file shrinker, optimizer, \
14    obfuscator, and preverifier.  It detects and removes unused \
15    classes, fields, methods, and attributes.  It optimizes bytecode \
16    and removes unused instructions.  It renames the remaining \
17    classes, fields, and methods using short meaningless names. \
18    Finally, it preverifies the processed code for Java 6 or for Java \
19    Micro Edition.
20
21homepage        http://proguard.sourceforge.net/
22
23master_sites    sourceforge
24distname        ${name}${version}
25checksums       md5 a5646dbc4d7c1a3e3608049f03dc4548 \
26                sha1 5535ea54a996a3ec954ed4498fc88482d50ae1a7 \
27                sha256 84db4aef4235ad312e221ae95485d7848fc468db66699f1b155d89c5036374f6
28
29depends_lib     bin:java:kaffe
30
31use_configure   no
32
33build.cmd       true
34
35destroot {
36    set javadir ${destroot}${prefix}/share/java
37    set docdir ${destroot}${prefix}/share/doc/${name}
38
39    xinstall -d -m 755 ${javadir}
40    xinstall -d -m 755 ${docdir}
41
42    foreach f [glob -directory ${worksrcpath}/lib *.jar] {
43        file copy ${f} ${javadir}/
44    }
45    foreach f {README docs examples} {
46        file copy ${worksrcpath}/${f} ${docdir}/
47    }
48}
Note: See TracBrowser for help on using the repository browser.