summaryrefslogtreecommitdiffstats
path: root/graphics/Coin/Makefile
blob: 96c7626d42fad16a8731ffaad63f015db8e12dd1 (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:	Coin
# Date created:				10 May 2002
# Whom:					roland.jesse@gmx.net
#
# $FreeBSD$
#

PORTNAME=	Coin
PORTVERSION=	2.5.0
CATEGORIES=	graphics
MASTER_SITES=	http://ftp.coin3d.org/coin/src/all/ \
		ftp://ftp.coin3d.org/pub/coin/src/all/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	C++ 3D graphics library based on the Open Inventor 2.1 API

LIB_DEPENDS=	openal.0:${PORTSDIR}/audio/openal \
		simage.26:${PORTSDIR}/graphics/simage

USE_GL=		yes
GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS=	--with-pthread=yes --enable-threadsafe	\
		--enable-3ds-import --enable-sound	\
		--enable-javascript-api
USE_LDCONFIG=	yes
MAKE_ENV=	LANG=C

MAN1=		coin-config.1

post-patch:
	@${REINPLACE_CMD} -e 's|DATA install-data-local|DATA|g' ${WRKSRC}/Makefile.in
	@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure

.include <bsd.port.mk>
OpenPOWER on IntegriCloud