# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name libemf version 1.0.4 platforms darwin supported_archs i386 ppc 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). homepage http://libemf.sourceforge.net/ checksums md5 23effe03c1b2eeb5229f14e461204198 \ sha1 e73f0725f10455ed00026df04bf4798137bf6a1f \ rmd160 a93842ac19797af58ae451d9629fd5bd359bc141 master_sites sourceforge distname libEMF-${version} use_autoreconf yes platform darwin { # this would be one line if it didn't have to work on tiger if {${os.major} >= 9} { configure.cppflags-append -Xarch_ppc -D__PPC__=1 } else { universal_variant no if {${configure.build_arch} == "ppc"} { configure.cppflags-append -D__PPC__=1 } } } livecheck.type regex livecheck.url http://sourceforge.net/projects/libemf/files/ livecheck.regex {libEMF-(\d+(?:\.\d+)*)}