PortSystem 1.0

name             libggigcp
version          1.0.2
categories       graphics
license          MIT
maintainers      nomaintainer
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      port:libggi

master_sites     ${homepage}ftp/ggi/v2.2/ \
                 sourceforge:ggi
distname         ${name}-${version}.src
use_bzip2        yes
checksums        md5 d8e8a5317db1e3aeac98338a2ad10c69 \
                 sha1 4e36a901d1f740cce04939cbdeb7c6272abfa1f8 \
                 rmd160 d7bdc789afcd78ee73660cc07f670c1a217fa1ab

worksrcdir       ${name}-${version}

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

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