summaryrefslogtreecommitdiff
path: root/graphics/nurbs++/Makefile
blob: 4255a52d940a6141820d66dfca94b5016ae4042c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:	nurbs++
# Date created:				14 May 2000
# Whom:					R Joseph Wright <rjoseph@mammalia.org>
#
# $FreeBSD$
#

PORTNAME=	nurbs++
PORTVERSION=	3.0.11
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	libnurbs

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A C++ library for representing curves or surfaces

USE_REINPLACE=	yes
USE_AUTOTOOLS=	libtool:13
CONFIGURE_ARGS=	--program-transform-name="s/x/x/"
INSTALLS_SHLIB=	yes

MAN1=	nurbs++-config.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 502126
BROKEN=		"Does not compile with gcc 3.4.2"
.endif

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

.include <bsd.port.post.mk>