source: trunk/dports/java/antenna/Portfile

Last change on this file was 91274, checked in by krischik@…, 5 years ago

add openmaintainer

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-shellscript
File size: 3.0 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 8; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4
2# $Id: Portfile 91274 2012-03-28 06:13:45Z ryandesign@macports.org $
3# vim: set fileencoding=utf-8 tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab filetype=tcl :
4
5PortSystem 1.0
6
7name                antenna
8version             1.2.1-beta
9revision            0
10categories          java devel
11maintainers         openmaintainer krischik
12platforms           darwin
13
14description        Antenna provides a set of Ant tasks suitable for developing mobile applications.
15long_description                                                                    \
16    Antenna provides a set of Ant tasks suitable for developing wireless Java       \
17    applications targeted at the Mobile Information Device Profile (MIDP). With     \
18    Antenna, you can compile, preverify, package, obfuscate, and run your MIDP      \
19    applications (aka MIDlets), manipulate Java Application Descriptor (JAD) files, \
20    as well as convert JAR files to PRC files designed to run on the MIDP for       \
21    PalmOS implementations from Sun and IBM. Deployment is supported via a          \
22    deployment task and a corresponding HTTP servlet for Over-the-Air (OTA)         \
23    provisioning. A small preprocessor allows to generate different variants of a   \
24    MIDlet from a single source.
25
26set preprocversion  1.3
27
28homepage            http://${name}.sourceforge.net/
29master_sites        sourceforge
30distfiles           antenna-bin-${version}.jar                  \
31                    preprocessor-v3-bin-${preprocversion}.jar   \
32                    preprocessor-v2-bin-${preprocversion}.jar
33distname            ${name}-bin-${version}
34checksums           antenna-bin-${version}.jar \
35                    md5     9e9029e4e6c523aa57a4374a8cb00b45 \
36                    sha1    ab580c4be307b7d4b9dd2fe1e3e819dbb2df644c \
37                    rmd160  0c30a7674b5aefb928f66b4197cb2de98aa670fd \
38                    preprocessor-v3-bin-${preprocversion}.jar \
39                    md5     6bfea645b61682fee58d3f23adb183b5 \
40                    sha1    a3a795225fed870133f73e8180f592fced0b76dd \
41                    rmd160  9106160faa3d37a1924b94792c53eb0306750ecd \
42                    preprocessor-v2-bin-${preprocversion}.jar \
43                    md5     bb54096888a709118a5db340bdee430e \
44                    sha1    a0e0955b19bdb377cb54bfe9616a743c19d6e89d \
45                    rmd160  299cb40e6ff4d55f58f74cd2a7160743f9ade551
46use_configure       no
47build.cmd           true
48worksrcdir          .
49
50extract {
51    file copy ${distpath}/antenna-bin-${version}.jar                 ${workpath}
52    file copy ${distpath}/preprocessor-v3-bin-${preprocversion}.jar  ${workpath}
53    file copy ${distpath}/preprocessor-v2-bin-${preprocversion}.jar  ${workpath}
54}
55
56
57destroot {
58    xinstall -m 755 -d ${destroot}${prefix}/share/java
59    xinstall -m 755 -d ${destroot}${prefix}/share/java/${name}
60 
61    file copy ${workpath}/antenna-bin-${version}.jar                ${destroot}${prefix}/share/java/${name}
62    file copy ${workpath}/preprocessor-v3-bin-${preprocversion}.jar ${destroot}${prefix}/share/java/${name}
63    file copy ${workpath}/preprocessor-v2-bin-${preprocversion}.jar ${destroot}${prefix}/share/java/${name}
64
65    system "
66        chgrp -R _developer ${destroot}${prefix}/share/java/${name};
67    "
68   
69}
70
Note: See TracBrowser for help on using the repository browser.