source: trunk/dports/java/crimson/Portfile

Last change on this file was 122676, checked in by jmr@…, 3 years ago

crimson: license, noarch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 832 bytes
Line 
1# $Id: Portfile 122676 2014-07-26 15:59:16Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    crimson
6version                 1.1.3
7categories              java
8license                 Apache-1.1 W3C
9platforms               darwin
10supported_archs noarch
11maintainers             nomaintainer
12description             Crimson is a Java XML parser which supports XML 1.0
13long_description        ${description}
14
15homepage                http://xml.apache.org/crimson/
16master_sites    http://xml.apache.org/dist/crimson/
17distname                ${distname}-src
18checksums               md5 bb0a5fe59fd28ce5bfc4b22baeca12c1
19
20depends_build   bin:ant:apache-ant
21
22worksrcdir              ${name}-${version}
23
24use_configure   no
25
26build.cmd               ant
27build.target    crimson.jar javadoc
28
29destroot        {
30        xinstall -m 755 -d ${destroot}${prefix}/share/java \
31                ${destroot}${prefix}/share/doc/
32        xinstall -m 644 ${worksrcpath}/build/crimson.jar \
33                ${destroot}${prefix}/share/java/
34        file copy ${worksrcpath}/build/docs/api \
35                ${destroot}${prefix}/share/doc/${name}
36}
Note: See TracBrowser for help on using the repository browser.