# $Id: Portfile 67952 2010-05-22 19:20:14Z jmr@macports.org $

PortSystem 1.0

name                    ipe
version                 7.0.8
categories              graphics
maintainers             jacobs-university.de:m.thon
description             The Ipe extensible drawing editor
long_description        \
                        Ipe is a drawing editor for creating figures in PDF or \
                        (encapsulated) Postscript format. It supports making small \
                        figures for inclusion into LaTeX-documents as well as making \
                        multi-page PDF presentations that can be shown on-line with \
                        Acrobat Reader.
homepage                http://tclab.kaist.ac.kr/ipe/
platforms               darwin
master_sites            sourceforge:ipe7
distname                ${name}-${version}-src
worksrcdir              ${name}-${version}/src
checksums               md5 746e3c2ef08c16546c819aae6cca942a \
                        sha1 a7e87bb11c243839447a38c95dd3b731f024fea5 \
                        rmd160 ec836de89aa5b442ff1c3bbfe99af7014bdc923e
depends_lib             port:qt4-mac \
                        port:freetype \
                        port:cairo \
                        port:lua \
                        port:zlib
patchfiles              patch-common.mak.diff \
                        patch-config.mak.diff \
                        patch-ipe-lua-prefs.lua.diff
use_configure           no
build.args              IPEPREFIX=${prefix} MOC=moc-mac \
                        PKG_CONFIG_PATH=${prefix}/libexec/qt4-mac/lib/pkgconfig
destroot.args           INSTALL_ROOT=${destroot} IPEPREFIX=${prefix}
use_parallel_build      no
