Added: trunk/dports/java/poi/Portfile (0 => 92513)
--- trunk/dports/java/poi/Portfile (rev 0)
+++ trunk/dports/java/poi/Portfile 2012-04-30 18:16:39 UTC (rev 92513)
@@ -0,0 +1,51 @@
+# -*- 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
+# $Id $
+
+PortSystem 1.0
+
+name poi
+version 3.8
+categories java
+platforms darwin
+maintainers nomaintainer
+supported_archs noarch
+license LGPL-2.1
+
+description Apache POI - the Java API for Microsoft Documents
+
+long_description The Apache POI Project's mission is to create and maintain Java APIs for manipulating \
+ various file formats based upon the Office Open XML standards (OOXML) \
+ and Microsoft's OLE 2 Compound Document format (OLE2).
+
+homepage http://poi.apache.org/
+master_sites apache:poi/release/bin/
+distname poi-bin-3.8-20120326
+worksrcdir ${name}-${version}
+
+checksums sha1 65569f306c54a215431e8143a7a444314ce11788 \
+ rmd160 7ecea4da4dd9b4824c857abd9ed4e2ded86d7555
+
+use_configure no
+
+build {}
+
+destroot {
+ # Ensure needed directories
+ xinstall -m 755 -d ${destroot}${prefix}/share/java \
+ ${destroot}${prefix}/share/doc \
+ ${destroot}${prefix}/share/java/${name}
+
+ # Install the required libs
+ file copy ${worksrcpath}/lib \
+ ${destroot}${prefix}/share/java/${name}
+ file copy ${worksrcpath}/ooxml-lib \
+ ${destroot}${prefix}/share/java/${name}
+
+ # Install poi
+ eval file copy [glob ${worksrcpath}/*.jar] \
+ ${destroot}${prefix}/share/java/${name}
+
+ # Install the docs
+ file copy ${worksrcpath}/docs \
+ ${destroot}${prefix}/share/doc/${name}
+}
Property changes on: trunk/dports/java/poi/Portfile
___________________________________________________________________