blob: 62d139ed289d903f06d99e97fce4e0ab2c0b91fc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Created by: Shane Ambler <FreeBSD@Shaneware.biz>
# $FreeBSD$
PORTNAME= openshadinglanguage
PORTVERSION= 1.7.5
DISTVERSIONPREFIX= Release-
PORTREVISION= 3
CATEGORIES= graphics devel
MAINTAINER= FreeBSD@Shaneware.biz
COMMENT= Advanced shading language for production GI renderers
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= llvm-config34:devel/llvm34 \
clang34>=3.4_1:lang/clang34
LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
libIlmImf.so:graphics/OpenEXR \
libImath.so:graphics/ilmbase \
libOpenImageIO.so:graphics/openimageio
RUN_DEPENDS= llvm-config34:devel/llvm34
USES= bison cmake:outsource compiler:c++11-lib ncurses
USE_GITHUB= yes
GH_ACCOUNT= imageworks
GH_PROJECT= OpenShadingLanguage
CMAKE_ARGS= -DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config34" \
-DENABLERTTI:BOOL=ON
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e 's,/bin/bash,/bin/sh,' \
${WRKSRC}/src/liboslexec/serialize-bc.bash
.include <bsd.port.mk>
|