# $Id: Portfile 49987 2009-04-21 22:36:40Z mcalhoun@macports.org $

PortSystem 1.0
PortGroup  muniversal 1.0

name	ming
version		0.4.2
revision	0
categories	multimedia graphics
platforms	darwin
maintainers	nomaintainer
description	an SWF output library
long_description	 Ming is an SWF ("Flash") file format output library. \
	It is written in C, with wrappers for C++, Python, and PHP, plus \
	rudimentary support for Ruby and Perl.
homepage	http://www.libming.org/
master_sites	sourceforge
use_bzip2	yes

checksums	md5     41f091dee0384a432aa05aca1ec7699b \
		sha1    5e9ac6607ae6f03c2957f7c27b7c593c8b2f625d \
		rmd160  84386bcece2b77658f66bce64906f9484cdcd247

depends_lib	port:giflib \
		port:libpng \
		port:zlib \
		port:freetype

use_parallel_build	yes

post-destroot {
	set docdir ${destroot}${prefix}/share/doc/${name}-${version}
	xinstall -d ${docdir}
	xinstall -m 644 -W ${worksrcpath} \
		AUTHORS \
		COPYING \
		ChangeLog \
		HISTORY \
		LICENSE \
		LICENSE_GPL2 \
		NEWS \
		README \
		TODO \
		${docdir}
}

# You can build ming as a php, perl and python module
# Please do this with separate Portfiles and not by
# variants.

