# $Id: Portfile 62066 2009-12-28 16:36:55Z nox@macports.org $

PortSystem	1.0
name		libemf
version		1.0.3
platforms	darwin
categories	graphics
maintainers	nomaintainer
description	Enhanced Metafile Library

long_description \
 libEMF is a C/C++ library which provides a drawing toolkit based on \
 ECMA-234. The general purpose of this library is to create vector \
 graphics files on POSIX systems which can be imported into \
 StarOffice/OpenOffice (and Microsoft Office).  Note: this project is \
 no longer actively maintained.  The latest version can be found \
 from the pstoedit sourceforge site.

homepage	http://libemf.sourceforge.net/
checksums	md5 a4e91fd8077ce5f540f569e20e8ef7ff
master_sites	http://downloads.sourceforge.net/pstoedit
distname	libEMF-${version}

platform powerpc {
	pre-fetch {
		return -code error "${name} does not work on ppc"
	}
}

livecheck.type  regex
livecheck.url   http://sourceforge.net/projects/libemf/files/
livecheck.regex {libEMF-(\d+(?:\.\d+)*)}
