source: trunk/dports/java/xmlpull/Portfile

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

xmlpull: license, noarch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 103466 2013-02-26 15:26:45Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    xmlpull
6version                 1.1.3.4c
7set version_us  [string map {. _} $version]
8categories              java textproc
9license                 public-domain
10platforms               darwin
11supported_archs noarch
12maintainers             nomaintainer
13description             XML pullparser API
14long_description        XmlPull v1 API is a simple to use XML pull parsing API \
15                                that was designed for simplicity and very good performance \
16                                both in constrained environment such as defined by J2ME and on \
17                                server side when used in J2EE application servers. XML pull \
18                                parsing allows incremental (sometimes called streaming) \
19                                parsing of XML where application is in control - the parsing \
20                                can be interrupted at any given moment and resumed when \
21                                application is ready to consume more input.
22
23homepage                http://www.xmlpull.org/
24master_sites    ${homepage}v1/download/
25distfiles               ${name}_${version_us}_src.tgz
26checksums               md5 34c8a093e5678dd633411dfea88f8558 \
27                sha1 cc20f5952d85a2c138e702650c29c79c6b556c6c
28
29worksrcdir              ${name}_${version_us}
30
31depends_build   bin:ant:apache-ant
32depends_lib             bin:java:kaffe
33
34use_configure   no
35
36build.cmd               ant
37build.target    jar
38
39destroot {
40        xinstall -m 755 -d ${destroot}${prefix}/share/java
41        xinstall -m 644 ${worksrcpath}/build/lib/${name}_${version_us}.jar \
42                ${destroot}${prefix}/share/java/${name}.jar
43}
Note: See TracBrowser for help on using the repository browser.