source: trunk/dports/java/itext/Portfile

Last change on this file was 96244, checked in by jmr@…, 5 years ago

itext: license, noarch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 96244 2012-08-06 03:19:30Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    itext
6version                 1.1
7categories              java print
8license                 {MPL-1.1 LGPL} Apache-1.1
9platforms               darwin
10supported_archs noarch
11maintainers             nomaintainer
12description             Java library that allows you to generate PDF files on the fly.
13long_description        ${description}
14
15homepage                http://www.lowagie.com/iText/
16master_sites    sourceforge
17distname                ${name}-src-${version}
18checksums               md5 3e8aa3d0b3cd93ac40e88a6e45281210
19
20depends_build   bin:ant:apache-ant
21depends_lib             bin:java:kaffe
22
23pre-extract     {
24        file mkdir ${worksrcpath}/src/com
25        file link ${workpath}/com ${worksrcpath}/src/com
26        file copy ${filespath}/build.xml ${worksrcpath}
27}
28
29use_configure   no
30
31build.cmd               ant
32build.target    jar javadoc
33
34destroot        {
35        xinstall -m 755 -d ${destroot}${prefix}/share/java/ \
36                ${destroot}${prefix}/share/doc/
37        xinstall -m 644 ${worksrcpath}/dist/iText.jar \
38                ${destroot}${prefix}/share/java/
39        file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
40}
41
42livecheck.regex     <title>iText iText (.*) released.*</title>
Note: See TracBrowser for help on using the repository browser.