# -*- coding: utf-8; mode: tcl; tab-width: 8; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4
# $Id: Portfile 151730 2016-08-21 17:44:54Z ryandesign@macports.org $
# vim: set fileencoding=utf-8 tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab filetype=tcl :

PortSystem 1.0

name		    microemu
set packagename	    microemulator
version		    2.0.4
revision	    0
categories	    java devel emulators
# installs a bunch of binary jars with no license info
license		    LGPL-2.1+ unknown
maintainers	    openmaintainer krischik
platforms	    darwin
supported_archs noarch

description	    MicroEmulator is a pure Java implementation of Java ME in Java SE.
long_description							\
    MicroEmulator is a pure Java implementation of Java ME in Java SE.	\
    MicroEmulator is licensed under LGPL so it is possible to link and	\
    distribute commercial software with its libraries.

homepage	    http://www.${name}.org/
master_sites	    googlecode
distname	    ${packagename}-${version}
checksums           md5     d4a859a9aae5d90e25f11146abf1e27a \
                    sha1    07a3ede56590edf21a68af2a8174d505e3b2d8e4 \
                    rmd160  87b0bc80e5695d4111528ed8f60ebc69cf1dd290

use_configure	    no
use_zip		    yes
build.cmd	    true

destroot {
    xinstall -m 755 -d ${destroot}${prefix}/share/java
 
    file copy ${worksrcpath} ${destroot}${prefix}/share/java/${packagename}
}
