# $Id: Portfile,v 1.2 2005/04/19 21:32:53 toby Exp $

PortSystem 1.0
name             libggimisc
version          2.1.1
categories       graphics
maintainers      toby@opendarwin.org
description      GGI Miscellaneous
long_description \
	LibGGIMisc is a place to put support for graphics \
	target features which are not deserving their own \
	special extensions. Right now this means basically \
	some VGA adaptor features -- getting and waiting \
	for the raster position, using a hardware horizontal \
	splitline feature, and loading/unloading font data \
	from hardware text modes.

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 d239065a234bcac49090e731d644a8a6

worksrcdir       ${name}-${version}

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

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