From edcc4789b27bfe123b470914fc4ff5a0237e557e Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sun, 1 Dec 2013 15:49:02 +0000 Subject: - 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) --- graphics/Coin/Makefile | 9 ++++----- graphics/Coin/files/patch-include-Inventor-SbBasic.h | 10 ++++++++++ graphics/Coin/pkg-plist | 1 + 3 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 graphics/Coin/files/patch-include-Inventor-SbBasic.h (limited to 'graphics/Coin') diff --git a/graphics/Coin/Makefile b/graphics/Coin/Makefile index ac3beb2ab66d..fade18fd9501 100644 --- a/graphics/Coin/Makefile +++ b/graphics/Coin/Makefile @@ -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 diff --git a/graphics/Coin/files/patch-include-Inventor-SbBasic.h b/graphics/Coin/files/patch-include-Inventor-SbBasic.h new file mode 100644 index 000000000000..05a007397909 --- /dev/null +++ b/graphics/Coin/files/patch-include-Inventor-SbBasic.h @@ -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 ++#include + + /* ********************************************************************** */ + /* Trap people trying to use Inventor headers while compiling C source code. diff --git a/graphics/Coin/pkg-plist b/graphics/Coin/pkg-plist index 426d117d672a..7224090964e3 100644 --- a/graphics/Coin/pkg-plist +++ b/graphics/Coin/pkg-plist @@ -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 -- cgit v1.2.3