Update sysutils/cfengine36 to version 3.6.1_1,1
[dports.git] / graphics / Coin / Makefile
1 # Created by: roland.jesse@gmx.net
2 # $FreeBSD$
3
4 PORTNAME=       Coin
5 PORTVERSION=    3.1.3
6 PORTREVISION=   7
7 CATEGORIES=     graphics
8 MASTER_SITES=   https://bitbucket.org/Coin3D/coin/downloads/
9
10 MAINTAINER=     ports@FreeBSD.org
11 COMMENT=        C++ 3D graphics library based on the Open Inventor 2.1 API
12
13 LICENSE=        BSD
14
15 LIB_DEPENDS=    libsimage.so:${PORTSDIR}/graphics/simage
16
17 USE_GCC=        any
18 USES=           openal:al libtool
19 USE_GL=         yes
20 USE_XORG=       xt x11
21 GNU_CONFIGURE=  yes
22 CONFIGURE_ARGS= --with-pthread=yes --enable-threadsafe  \
23                 --enable-3ds-import --enable-sound      \
24                 --enable-javascript-api --enable-debug=no
25 USE_LDCONFIG=   yes
26 MAKE_ENV=       LANG=C
27
28 post-patch:
29         @${REINPLACE_CMD} -e 's|DATA install-data-local|DATA|g' ${WRKSRC}/Makefile.in
30         @${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
31
32 post-build:
33         @${REINPLACE_CMD} -e '/^ldflags=/s|-R|-Wl,-rpath,|' ${WRKSRC}/coin-default.cfg
34
35 .include <bsd.port.mk>