# $Id: Portfile 87434 2011-11-21 11:41:13Z ryandesign@macports.org $

PortSystem			1.0
name				giblib
version				1.2.4
revision			1
categories			graphics devel
platforms			darwin
maintainers			nomaintainer
license             MIT

description			Utility library for lists, strings and imlib2.
long_description \
	giblib2 incorporates doubly linked lists, some string functions, \
	and a wrapper for imlib2. The wrapper does two things. It gives \
	you access to fontstyles, which can be loaded from files, saved \
	to files or defined dynamically through the API. It also, and \
	more importantly, wraps imlib2's context API.

homepage			http://linuxbrit.co.uk/giblib/
master_sites		http://linuxbrit.co.uk/downloads/

checksums			md5 c810ef5389baf24882a1caca2954385e

depends_lib			port:imlib2 port:freetype port:zlib

use_autoreconf yes
autoreconf.args -fvi

# install docs to $prefix/share/doc instead of $prefix/doc
destroot.args		docsdir=${prefix}/share/doc/${name}

