# New ports collection makefile for:	nurbs++
# Date created:				14 May 2000
# Whom:					R Joseph Wright <rjoseph@mammalia.org>
#
# $FreeBSD: ports/graphics/nurbs++/Makefile,v 1.3 2002/03/31 05:18:50 kris Exp $
#

PORTNAME=	nurbs++
PORTVERSION=	3.0.10
CATEGORIES=	graphics
MASTER_SITES=	http://yukon.genie.uottawa.ca/~lavoie/software/nurbs/

MAINTAINER= 	ports@FreeBSD.org

USE_LIBTOOL=	yes
INSTALLS_SHLIB=	yes

pre-patch:
	@${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
		${WRKSRC}/nurbs/nurbs.cc ${WRKSRC}/nurbs/nurbsS.cc

.include <bsd.port.mk>
