# New ports collection makefile for:	geomgui
# Date created:				2005-07-18
# Whom:	Soeren				Straarup <xride@FreeBSD.org>
#
# $FreeBSD: ports/sysutils/geomgui/Makefile,v 1.1 2006/10/09 22:46:34 xride Exp $
#

PORTNAME=	geomgui
PORTVERSION=	0.12
CATEGORIES=	sysutils
MASTER_SITES=	http://geomgui.xride.dk/files/ \
		${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	xride

MAINTAINER=	xride@FreeBSD.org
COMMENT=	Viewer for kernel geom layer

LIB_DEPENDS=	gvc.2:${PORTSDIR}/graphics/graphviz

USE_XLIB=	yes
USE_AUTOTOOLS=	libtool:15
USE_GNOME=	gtk20 librsvg2
USE_ICONV=	yes
GNU_CONFIGURE=	yes

MAN1=	geomgui.1
PLIST_FILES=	bin/geomgui

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
	${WRKSRC}/Makefile.in

.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
IGNORE=	requires GEOM which is only present on FreeBSD 5.x and above
.endif
.include <bsd.port.post.mk>
