# New ports collection makefile for:   gtkgl
# Version required:    0.8.9
# Date created:        12 August 1998
# Whom:                Bill Fumerola <billf@chc-chimes.com>
#
# $Id: Makefile,v 1.4 1998/10/01 02:17:49 jseger Exp $
#

DISTNAME=	gtkGL-0.8.9
PKGNAME=	gtkgl-0.8.9
CATEGORIES=	x11-toolkits
MASTER_SITES=	http://www.sakuranet.or.jp/~aozasa/shige/dist/

MAINTAINER=	billf@chc-chimes.com

LIB_DEPENDS=	gtk11.1:${PORTSDIR}/x11-toolkits/gtk11 \
		MesaGL.14:${PORTSDIR}/graphics/Mesa3

BROKEN_ELF=	configure

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=  --with-Mesa=yes

pre-install:
	@if [ ! -f ${PREFIX}/info/dir ]; then \
	${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
	fi

.include <bsd.port.mk>
