# Created by: Soeren Straarup <xride@FreeBSD.org>
# $FreeBSD: tags/RELEASE_11_0_0/sysutils/geomgui/Makefile 412349 2016-04-01 14:25:16Z mat $

PORTNAME=	geomgui
PORTVERSION=	0.13
CATEGORIES=	sysutils
MASTER_SITES=	http://tinkering.hambrew.net/geomgui/ \
		LOCAL/xride

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

LIB_DEPENDS=	libgvc.so:graphics/graphviz

USE_GNOME=	gtk20 librsvg2
USES=		iconv pkgconfig libtool tar:bzip2
GNU_CONFIGURE=	yes

PLIST_FILES=	bin/geomgui \
		man/man1/geomgui.1.gz

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/local|${STAGEDIR}${PREFIX}|' \
		-e 's,-o root -g wheel,,' \
		${WRKSRC}/Makefile.in

.include <bsd.port.mk>
