# -*- 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: Portfile 115134 2013-12-25 20:51:36Z mojca@macports.org $

PortSystem          1.0

name                libpano13
version             2.9.18
revision            4
categories          graphics

maintainers         freespace+macforge@gmail.com

description         The cross-platform library behind Panorama Tools

long_description    The panorama tools are mainly used to build panoramic images from a set of overlapping images. The usability extends beyond "just" building panoramas by far though. You can, for instance, use them to render an average of multiple images to broaden the dynamic range of the images or average out noise. You can also build object movies with them, morph between images and much more.

homepage            http://panotools.sourceforge.net/
platforms           darwin

master_sites        sourceforge:panotools

checksums           rmd160  2309dc8d932a5ea80cb4b22bffa3e9d39539aa58 \
                    sha256  de5d4e43f15c3430e95c0faa1c50c9503516e1b570d0ec0522f610a578caa172

depends_lib         port:jpeg \
                    port:tiff \
                    port:libpng \
                    port:zlib

configure.args      --with-jpeg=${prefix} \
                    --with-tiff=${prefix} \
                    --with-png=${prefix} \
                    --with-zlib=${prefix} \
                    --without-java \
                    --mandir=${prefix}/share/man

configure.cflags-append     -flat_namespace -undefined suppress
configure.cxxflags-append   -flat_namespace -undefined suppress
configure.ldflags-append    -prebind
