# $Id: Portfile,v 1.2 2005/04/19 21:30:02 toby Exp $

PortSystem 1.0
name             libggigcp
version          0.9.1
categories       graphics
maintainers      toby@opendarwin.org
description      GGI Generic Color & Palette
long_description \
	LibGGIGCP is a generic color and palette management \
	extension. It supports conversion between different \
	color spaces such as RGBA, YUV, HSV and CMYK. \
	Furthermore it supports a generic color-blending, \
	which can also be used for transluency effects.
homepage         http://www.ggi-project.org/
platforms        darwin

depends_lib      lib:libggi.2:libggi

master_sites     http://www.ggi-project.org/ftp/ggi/v2.1/ \
                 sourceforge:ggi
distname         ${name}-${version}.src
use_bzip2        yes
checksums        md5 f2eade799abbb43708e175ee5c9b2433

worksrcdir       ${name}-${version}

patch {
	reinplace "s|need_relink=yes|need_relink=no|" \
		${worksrcpath}/ltmain.sh
}

configure.args   --mandir=${prefix}/share/man
