1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name poi |
---|
7 | version 3.8 |
---|
8 | categories java |
---|
9 | platforms darwin |
---|
10 | maintainers nomaintainer |
---|
11 | supported_archs noarch |
---|
12 | license LGPL-2.1 |
---|
13 | |
---|
14 | description Apache POI - the Java API for Microsoft Documents |
---|
15 | |
---|
16 | long_description The Apache POI Project's mission is to create and maintain Java APIs for manipulating \ |
---|
17 | various file formats based upon the Office Open XML standards (OOXML) \ |
---|
18 | and Microsoft's OLE 2 Compound Document format (OLE2). |
---|
19 | |
---|
20 | homepage http://poi.apache.org/ |
---|
21 | master_sites apache:poi/release/bin/ |
---|
22 | distname poi-bin-3.8-20120326 |
---|
23 | extract.suffix .tar.gz |
---|
24 | worksrcdir ${name}-${version} |
---|
25 | |
---|
26 | checksums sha1 65569f306c54a215431e8143a7a444314ce11788 \ |
---|
27 | rmd160 7ecea4da4dd9b4824c857abd9ed4e2ded86d7555 |
---|
28 | |
---|
29 | use_configure no |
---|
30 | |
---|
31 | build {} |
---|
32 | |
---|
33 | destroot { |
---|
34 | # Ensure needed directories |
---|
35 | xinstall -m 755 -d ${destroot}${prefix}/share/java \ |
---|
36 | ${destroot}${prefix}/share/doc \ |
---|
37 | ${destroot}${prefix}/share/java/${name} |
---|
38 | |
---|
39 | # Install the required libs |
---|
40 | file copy ${worksrcpath}/lib \ |
---|
41 | ${destroot}${prefix}/share/java/${name} |
---|
42 | file copy ${worksrcpath}/ooxml-lib \ |
---|
43 | ${destroot}${prefix}/share/java/${name} |
---|
44 | |
---|
45 | # Install poi |
---|
46 | eval file copy [glob ${worksrcpath}/*.jar] \ |
---|
47 | ${destroot}${prefix}/share/java/${name} |
---|
48 | |
---|
49 | # Install the docs |
---|
50 | file copy ${worksrcpath}/docs \ |
---|
51 | ${destroot}${prefix}/share/doc/${name} |
---|
52 | } |
---|
53 | |
---|