# $Id: Portfile 67977 2010-05-23 18:12:22Z ryandesign@macports.org $

PortSystem                  1.0

name                        libhsplasma
version                     0.0-548
categories                  devel
platforms                   darwin
maintainers                 ryandesign
license                     GPL-3+
homepage                    http://code.google.com/p/libhsplasma/

description                 library for reading Plasma game engine files

long_description            libHSPlasma is a library for reading files used \
                            by the Plasma game engine (created by Headspin, \
                            acquired by Cyan Worlds), such as those in the \
                            games Myst V: End of Ages and Myst Online: URU Live

fetch.type                  hg
hg.url                      http://uru.zrax.net/hg/libhsplasma
hg.tag                      e3221b3852ed

depends_lib                 port:zlib \
                            port:jpeg \
                            port:openssl \
                            port:python26

universal_variant           no

configure.args              --with-pkgconfig \
                            --with-python=${prefix}/Library/Frameworks/Python.framework/Versions/2.6 \
                            --with-zlib=${prefix} \
                            --with-jpeg=${prefix} \
                            --with-ssl=${prefix}

build.args                  CXX=${configure.cxx}

destroot.destdir            PREFIX=${destroot}${prefix}
