mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
46 lines
790 B
Makefile
46 lines
790 B
Makefile
COMMENT= open-source subdivision surface library
|
|
|
|
V= 3.6.0
|
|
GH_ACCOUNT= PixarAnimationStudios
|
|
GH_PROJECT= OpenSubdiv
|
|
GH_TAGNAME= v${V:S/./_/g}
|
|
DISTNAME= ${GH_PROJECT:L}-${V}
|
|
|
|
SHARED_LIBS += osdCPU 3.0 # 3.4.4
|
|
SHARED_LIBS += osdGPU 3.0 # 3.4.4
|
|
|
|
CATEGORIES= graphics
|
|
|
|
HOMEPAGE= https://graphics.pixar.com/opensubdiv/
|
|
|
|
# APACHE 2.0
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} GL c m tbb
|
|
|
|
COMPILER= base-clang ports-gcc
|
|
|
|
MODULES= devel/cmake \
|
|
lang/python
|
|
|
|
MODPY_RUNDEP= No
|
|
|
|
BUILD_DEPENDS= graphics/glfw
|
|
|
|
LIB_DEPENDS= devel/tbb
|
|
|
|
CONFIGURE_ARGS= -DNO_CLEW=ON \
|
|
-DNO_CUDA=ON \
|
|
-DNO_DOC=ON \
|
|
-DNO_OMP=ON \
|
|
-DNO_OPENCL=ON \
|
|
-DNO_PTEX=ON
|
|
|
|
CXXFLAGS+= -I${X11BASE}/include
|
|
|
|
post-install:
|
|
rm -rf ${PREFIX}/bin/tutorials
|
|
rm ${PREFIX}/bin/{far,gl,hbr,osd}*
|
|
|
|
.include <bsd.port.mk>
|