2013-09-20 20:35:44 +02:00
|
|
|
# Created by: roland.jesse@gmx.net
|
2002-09-19 10:43:26 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= Coin
|
2010-03-15 16:51:04 +01:00
|
|
|
PORTVERSION= 3.1.3
|
2017-05-23 07:03:14 +02:00
|
|
|
PORTREVISION= 11
|
2002-09-19 10:43:26 +02:00
|
|
|
CATEGORIES= graphics
|
2014-08-06 23:44:53 +02:00
|
|
|
MASTER_SITES= https://bitbucket.org/Coin3D/coin/downloads/
|
2002-09-19 10:43:26 +02:00
|
|
|
|
2014-03-04 07:07:25 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 13:17:17 +01:00
|
|
|
COMMENT= C++ 3D graphics library based on the Open Inventor 2.1 API
|
2002-09-19 10:43:26 +02:00
|
|
|
|
2014-12-06 23:13:42 +01:00
|
|
|
LICENSE= GPLv2
|
2013-12-01 16:49:02 +01:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= libsimage.so:graphics/simage
|
2002-09-19 10:43:26 +02:00
|
|
|
|
2016-10-21 17:21:13 +02:00
|
|
|
USES= openal:al libtool pathfix
|
2003-12-17 11:13:33 +01:00
|
|
|
USE_GL= yes
|
2016-08-29 21:27:41 +02:00
|
|
|
USE_XORG= ice sm x11 xext xt
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2007-12-27 12:58:53 +01:00
|
|
|
CONFIGURE_ARGS= --with-pthread=yes --enable-threadsafe \
|
|
|
|
--enable-3ds-import --enable-sound \
|
2014-07-05 20:31:12 +02:00
|
|
|
--enable-javascript-api --enable-debug=no
|
2006-08-15 01:06:39 +02:00
|
|
|
USE_LDCONFIG= yes
|
2015-05-09 14:26:34 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2002-09-19 10:43:26 +02:00
|
|
|
|
2016-08-29 21:27:41 +02:00
|
|
|
pre-configure:
|
2015-03-25 21:09:42 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|DATA install-data-local|DATA|g' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
@${FIND} ${WRKSRC} \( -name \*.cpp -o -name \*.h -a \! \
|
|
|
|
-name expat.h \) -a -print0 | ${XARGS} -0 \
|
|
|
|
${REINPLACE_CMD} 's/<stdlib.h>/<cstdlib>/g'
|
2002-09-19 10:43:26 +02:00
|
|
|
|
2014-08-17 17:15:23 +02:00
|
|
|
post-build:
|
2015-03-25 21:09:42 +01:00
|
|
|
${REINPLACE_CMD} -e '/^ldflags=/s|-R|-Wl,-rpath,|' \
|
|
|
|
${WRKSRC}/coin-default.cfg
|
2014-08-17 17:15:23 +02:00
|
|
|
|
2002-09-19 10:43:26 +02:00
|
|
|
.include <bsd.port.mk>
|