1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Fix build of x11-toolkits/SoXt which depends on graphics/Coin

- Add LICENSE
- Support STAGEDIR

PR:		ports/183824
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
Approved by:	maintainer (timeout, 21 days)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-12-01 15:49:02 +00:00
parent 71c8a0aee7
commit edcc4789b2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335398
3 changed files with 15 additions and 5 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= Coin
PORTVERSION= 3.1.3
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= http://ftp.coin3d.org/coin/src/all/ \
ftp://ftp.coin3d.org/pub/coin/src/all/
@ -11,7 +11,9 @@ MASTER_SITES= http://ftp.coin3d.org/coin/src/all/ \
MAINTAINER= cristianorolim@hotmail.com
COMMENT= C++ 3D graphics library based on the Open Inventor 2.1 API
LIB_DEPENDS= simage.27:${PORTSDIR}/graphics/simage
LICENSE= BSD
LIB_DEPENDS= libsimage.so:${PORTSDIR}/graphics/simage
USE_GCC= any
USE_OPENAL= al
@ -24,9 +26,6 @@ CONFIGURE_ARGS= --with-pthread=yes --enable-threadsafe \
USE_LDCONFIG= yes
MAKE_ENV= LANG=C
MAN1= coin-config.1
NO_STAGE= yes
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

View File

@ -0,0 +1,10 @@
--- include/Inventor/SbBasic.h.orig 2010-03-02 21:20:09.000000000 +0800
+++ include/Inventor/SbBasic.h 2013-12-01 05:17:51.275860731 +0800
@@ -25,6 +25,7 @@
\**************************************************************************/
#include <Inventor/C/basic.h>
+#include <Inventor/C/errors/debugerror.h>
/* ********************************************************************** */
/* Trap people trying to use Inventor headers while compiling C source code.

View File

@ -827,6 +827,7 @@ lib/libCoin.la
lib/libCoin.so
lib/libCoin.so.61
libdata/pkgconfig/Coin.pc
man/man1/coin-config.1.gz
%%DATADIR%%/conf/coin-default.cfg
%%DATADIR%%/draggerDefaults/centerballDragger.iv
%%DATADIR%%/draggerDefaults/directionalLightDragger.iv