# New ports collection makefile for:	gpc
# Date created:		22 October 2005
# Whom:			Mikhail Teterin
#
# $FreeBSD: ports/x11/gpctool/Makefile,v 1.2 2006/08/28 21:53:09 pav Exp $
#

PORTNAME=	gpctool
PORTVERSION=	1.0.1
CATEGORIES=	x11 math graphics
MASTER_SITES=	ftp://ftp.cs.man.ac.uk/pub/toby/gpc/
DISTNAME=	gpct${PORTVERSION:S/.//g}

MAINTAINER=	mi@aldan.algebra.com
COMMENT=	Evaluation tool for the Generic Polygon Clipper library

LIB_DEPENDS=	gpc:${PORTSDIR}/devel/libgpc	\
		formsGL:${PORTSDIR}/x11-toolkits/xforms

USE_ZIP=	yes
USE_GL=		yes
PLIST_FILES=	bin/gpctool
INSTALLS_SHLIB=	yes
NO_CDROM=	Can't be used for profit without permission

MAKEFILE=	${FILESDIR}/BSDmakefile

EXTRACT_BEFORE_ARGS=-qoa
EXTRACT_AFTER_ARGS=-d ${WRKDIR} -x ${DISTNAME}/gpc.? ${DISTNAME}/gl.c

.include <bsd.port.mk>
