Skip to content
Browse files

Antenna provides a set of Ant tasks suitable for developing mobile ap…


git-svn-id: d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Martin Krischik
Martin Krischik committed Jun 13, 2010
1 parent 2624d93 commit 36f1b7fa47a4c8f1bcf85968b8c7e0cb9704ebb1
Showing with 70 additions and 0 deletions.
  1. +70 −0 java/antenna/Portfile
@@ -0,0 +1,70 @@
# -*- coding: utf-8; mode: tcl; tab-width: 8; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4
# $Id: Portfile 68723 2010-06-11 18:24:21Z $
# vim: set fileencoding=utf-8 tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab filetype=tcl :

PortSystem 1.0

name antenna
version 1.2.1-beta
revision 0
categories java, devel
maintainers krischik
platforms darwin

description Antenna provides a set of Ant tasks suitable for developing mobile applications.
long_description \
Antenna provides a set of Ant tasks suitable for developing wireless Java \
applications targeted at the Mobile Information Device Profile (MIDP). With \
Antenna, you can compile, preverify, package, obfuscate, and run your MIDP \
applications (aka MIDlets), manipulate Java Application Descriptor (JAD) files, \
as well as convert JAR files to PRC files designed to run on the MIDP for \
PalmOS implementations from Sun and IBM. Deployment is supported via a \
deployment task and a corresponding HTTP servlet for Over-the-Air (OTA) \
provisioning. A small preprocessor allows to generate different variants of a \
MIDlet from a single source.

set preprocversion 1.3

homepage http://${name}
master_sites sourceforge
distfiles antenna-bin-${version}.jar \
preprocessor-v3-bin-${preprocversion}.jar \
distname ${name}-bin-${version}
checksums antenna-bin-${version}.jar \
md5 9e9029e4e6c523aa57a4374a8cb00b45 \
sha1 ab580c4be307b7d4b9dd2fe1e3e819dbb2df644c \
rmd160 0c30a7674b5aefb928f66b4197cb2de98aa670fd \
preprocessor-v3-bin-${preprocversion}.jar \
md5 6bfea645b61682fee58d3f23adb183b5 \
sha1 a3a795225fed870133f73e8180f592fced0b76dd \
rmd160 9106160faa3d37a1924b94792c53eb0306750ecd \
preprocessor-v2-bin-${preprocversion}.jar \
md5 bb54096888a709118a5db340bdee430e \
sha1 a0e0955b19bdb377cb54bfe9616a743c19d6e89d \
rmd160 299cb40e6ff4d55f58f74cd2a7160743f9ade551
use_configure no
build.cmd true
worksrcdir .

extract {
file copy ${distpath}/antenna-bin-${version}.jar ${workpath}
file copy ${distpath}/preprocessor-v3-bin-${preprocversion}.jar ${workpath}
file copy ${distpath}/preprocessor-v2-bin-${preprocversion}.jar ${workpath}

destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/java
xinstall -m 755 -d ${destroot}${prefix}/share/java/${name}

file copy ${workpath}/antenna-bin-${version}.jar ${destroot}${prefix}/share/java/${name}
file copy ${workpath}/preprocessor-v3-bin-${preprocversion}.jar ${destroot}${prefix}/share/java/${name}
file copy ${workpath}/preprocessor-v2-bin-${preprocversion}.jar ${destroot}${prefix}/share/java/${name}

system "
chgrp -R _developer ${destroot}${prefix}/share/java/${name};


0 comments on commit 36f1b7f

Please sign in to comment.
You can’t perform that action at this time.