openbsd-ports/graphics/opensubdiv/Makefile

38 lines
705 B
Makefile

COMMENT= open-source subdivision surface library
V= 3.4.4
GH_ACCOUNT= PixarAnimationStudios
GH_PROJECT= OpenSubdiv
GH_TAGNAME= v${V:S/./_/g}
DISTNAME= ${GH_PROJECT:L}-${V}
SHARED_LIBS += osdCPU 1.0 # 3.4.4
SHARED_LIBS += osdGPU 1.0 # 3.4.4
CATEGORIES= graphics
HOMEPAGE= https://graphics.pixar.com/opensubdiv/
MAINTAINER= Dimitri Karamazov <deserter666@danwin1210.me>
# APACHE 2.0
PERMIT_PACKAGE= Yes
WANTLIB += ${COMPILER_LIBCXX} GL c m tbb
COMPILER= base-clang ports-gcc base-gcc
MODULES= devel/cmake
BUILD_DEPENDS= graphics/glfw
LIB_DEPENDS= devel/tbb
CONFIGURE_ARGS= -DNO_DOC=ON
post-install:
rm -rf ${PREFIX}/bin/tutorials
rm ${PREFIX}/bin/{far,gl,hbr,osd}*
.include <bsd.port.mk>