mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
graphics/Coin: switch build to cmake
this generates the cmake files, which are now required for soqt/pivy builds
This commit is contained in:
parent
4f0fd2a975
commit
ec1d57da62
2 changed files with 17 additions and 14 deletions
|
@ -1,7 +1,7 @@
|
||||||
PORTNAME= Coin
|
PORTNAME= Coin
|
||||||
PORTVERSION= 4.0.3
|
PORTVERSION= 4.0.3
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= graphics
|
CATEGORIES= graphics
|
||||||
|
|
||||||
MAINTAINER= cmt@FreeBSD.org
|
MAINTAINER= cmt@FreeBSD.org
|
||||||
|
@ -13,7 +13,7 @@ LICENSE= BSD3CLAUSE
|
||||||
BUILD_DEPENDS= boost-libs>0:devel/boost-libs
|
BUILD_DEPENDS= boost-libs>0:devel/boost-libs
|
||||||
LIB_DEPENDS= libsimage.so:graphics/simage
|
LIB_DEPENDS= libsimage.so:graphics/simage
|
||||||
|
|
||||||
USES= gl openal:al libtool pathfix xorg
|
USES= cmake gl openal:al libtool pathfix xorg
|
||||||
|
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
GH_ACCOUNT= coin3d
|
GH_ACCOUNT= coin3d
|
||||||
|
@ -21,13 +21,13 @@ GH_PROJECT= coin
|
||||||
|
|
||||||
USE_GL= gl glu
|
USE_GL= gl glu
|
||||||
USE_XORG= ice sm x11 xext xt
|
USE_XORG= ice sm x11 xext xt
|
||||||
GNU_CONFIGURE= yes
|
CMAKE_ARGS+= -DCOIN_BUILD_SHARED_LIBS="ON" \
|
||||||
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
|
-DCOIN_THREADSAFE="ON" \
|
||||||
CONFIGURE_ARGS= --with-pthread=yes --enable-threadsafe \
|
-DCOIN_HAVE_JAVASCRIPT="ON" \
|
||||||
--enable-3ds-import --enable-sound \
|
-DHAVE_SOUND="ON" \
|
||||||
--enable-javascript-api --enable-debug=no
|
-DHAVE_3DS_IMPORT_CAPABILITIES="ON" \
|
||||||
|
-DUSE_EXTERNAL_EXPAT="ON"
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
INSTALL_TARGET= install-strip
|
|
||||||
|
|
||||||
pre-configure:
|
pre-configure:
|
||||||
@${REINPLACE_CMD} -e 's|DATA install-data-local|DATA|g' \
|
@${REINPLACE_CMD} -e 's|DATA install-data-local|DATA|g' \
|
||||||
|
@ -36,8 +36,4 @@ pre-configure:
|
||||||
-name expat.h \) -a -print0 | ${XARGS} -0 \
|
-name expat.h \) -a -print0 | ${XARGS} -0 \
|
||||||
${REINPLACE_CMD} 's/<stdlib.h>/<cstdlib>/g'
|
${REINPLACE_CMD} 's/<stdlib.h>/<cstdlib>/g'
|
||||||
|
|
||||||
post-build:
|
|
||||||
@${REINPLACE_CMD} -e '/^ldflags=/s|-R|-Wl,-rpath,|' \
|
|
||||||
${WRKSRC}/coin-default.cfg
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -198,12 +198,14 @@ include/Inventor/actions/SoGLRenderAction.h
|
||||||
include/Inventor/actions/SoGetBoundingBoxAction.h
|
include/Inventor/actions/SoGetBoundingBoxAction.h
|
||||||
include/Inventor/actions/SoGetMatrixAction.h
|
include/Inventor/actions/SoGetMatrixAction.h
|
||||||
include/Inventor/actions/SoGetPrimitiveCountAction.h
|
include/Inventor/actions/SoGetPrimitiveCountAction.h
|
||||||
|
include/Inventor/actions/SoGlobalSimplifyAction.h
|
||||||
include/Inventor/actions/SoHandleEventAction.h
|
include/Inventor/actions/SoHandleEventAction.h
|
||||||
include/Inventor/actions/SoLineHighlightRenderAction.h
|
include/Inventor/actions/SoLineHighlightRenderAction.h
|
||||||
include/Inventor/actions/SoPickAction.h
|
include/Inventor/actions/SoPickAction.h
|
||||||
include/Inventor/actions/SoRayPickAction.h
|
include/Inventor/actions/SoRayPickAction.h
|
||||||
include/Inventor/actions/SoReorganizeAction.h
|
include/Inventor/actions/SoReorganizeAction.h
|
||||||
include/Inventor/actions/SoSearchAction.h
|
include/Inventor/actions/SoSearchAction.h
|
||||||
|
include/Inventor/actions/SoShapeSimplifyAction.h
|
||||||
include/Inventor/actions/SoSimplifyAction.h
|
include/Inventor/actions/SoSimplifyAction.h
|
||||||
include/Inventor/actions/SoSubAction.h
|
include/Inventor/actions/SoSubAction.h
|
||||||
include/Inventor/actions/SoToVRML2Action.h
|
include/Inventor/actions/SoToVRML2Action.h
|
||||||
|
@ -290,6 +292,7 @@ include/Inventor/elements/SoBBoxModelMatrixElement.h
|
||||||
include/Inventor/elements/SoBumpMapCoordinateElement.h
|
include/Inventor/elements/SoBumpMapCoordinateElement.h
|
||||||
include/Inventor/elements/SoBumpMapElement.h
|
include/Inventor/elements/SoBumpMapElement.h
|
||||||
include/Inventor/elements/SoBumpMapMatrixElement.h
|
include/Inventor/elements/SoBumpMapMatrixElement.h
|
||||||
|
include/Inventor/elements/SoBumpMappingPropertyElement.h
|
||||||
include/Inventor/elements/SoCacheElement.h
|
include/Inventor/elements/SoCacheElement.h
|
||||||
include/Inventor/elements/SoCacheHintElement.h
|
include/Inventor/elements/SoCacheHintElement.h
|
||||||
include/Inventor/elements/SoClipPlaneElement.h
|
include/Inventor/elements/SoClipPlaneElement.h
|
||||||
|
@ -650,6 +653,7 @@ include/Inventor/nodes/SoBlinker.h
|
||||||
include/Inventor/nodes/SoBumpMap.h
|
include/Inventor/nodes/SoBumpMap.h
|
||||||
include/Inventor/nodes/SoBumpMapCoordinate.h
|
include/Inventor/nodes/SoBumpMapCoordinate.h
|
||||||
include/Inventor/nodes/SoBumpMapTransform.h
|
include/Inventor/nodes/SoBumpMapTransform.h
|
||||||
|
include/Inventor/nodes/SoBumpMappingProperty.h
|
||||||
include/Inventor/nodes/SoCacheHint.h
|
include/Inventor/nodes/SoCacheHint.h
|
||||||
include/Inventor/nodes/SoCallback.h
|
include/Inventor/nodes/SoCallback.h
|
||||||
include/Inventor/nodes/SoCamera.h
|
include/Inventor/nodes/SoCamera.h
|
||||||
|
@ -871,6 +875,10 @@ include/Inventor/tools/SbPimplPtr.h
|
||||||
include/SoDebug.h
|
include/SoDebug.h
|
||||||
include/SoWinEnterScope.h
|
include/SoWinEnterScope.h
|
||||||
include/SoWinLeaveScope.h
|
include/SoWinLeaveScope.h
|
||||||
|
lib/cmake/Coin-4.0.3/coin-config-version.cmake
|
||||||
|
lib/cmake/Coin-4.0.3/coin-config.cmake
|
||||||
|
lib/cmake/Coin-4.0.3/coin-export-release.cmake
|
||||||
|
lib/cmake/Coin-4.0.3/coin-export.cmake
|
||||||
lib/libCoin.so
|
lib/libCoin.so
|
||||||
lib/libCoin.so.80
|
lib/libCoin.so.80
|
||||||
lib/libCoin.so.80.0.3
|
lib/libCoin.so.80.0.3
|
||||||
|
@ -897,6 +905,7 @@ libdata/pkgconfig/Coin.pc
|
||||||
%%DATADIR%%/draggerDefaults/transformerDragger.iv
|
%%DATADIR%%/draggerDefaults/transformerDragger.iv
|
||||||
%%DATADIR%%/draggerDefaults/translate1Dragger.iv
|
%%DATADIR%%/draggerDefaults/translate1Dragger.iv
|
||||||
%%DATADIR%%/draggerDefaults/translate2Dragger.iv
|
%%DATADIR%%/draggerDefaults/translate2Dragger.iv
|
||||||
|
@dir %%DATADIR%%/profiler
|
||||||
%%DATADIR%%/scxml/navigation/common.xml
|
%%DATADIR%%/scxml/navigation/common.xml
|
||||||
%%DATADIR%%/scxml/navigation/examiner.xml
|
%%DATADIR%%/scxml/navigation/examiner.xml
|
||||||
%%DATADIR%%/scxml/navigation/plane.xml
|
%%DATADIR%%/scxml/navigation/plane.xml
|
||||||
|
@ -905,5 +914,3 @@ libdata/pkgconfig/Coin.pc
|
||||||
%%DATADIR%%/shaders/lights/PointLight.glsl
|
%%DATADIR%%/shaders/lights/PointLight.glsl
|
||||||
%%DATADIR%%/shaders/lights/SpotLight.glsl
|
%%DATADIR%%/shaders/lights/SpotLight.glsl
|
||||||
%%DATADIR%%/shaders/vsm/VsmLookup.glsl
|
%%DATADIR%%/shaders/vsm/VsmLookup.glsl
|
||||||
share/aclocal/coin.m4
|
|
||||||
share/man/man1/coin-config.1.gz
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue