pascal 872182301d Turns out just merging the yaml-cpp commit from upstream wasn't enough, it
depended on other changes.  This led to blender segfaults at startup.  Update
to a full snapshot of upstream's master branch to fix the issue.

Distfile mirrored by abieber@, thanks!
2014-11-21 17:25:49 +00:00

46 lines
1008 B
Makefile

# $OpenBSD: Makefile,v 1.4 2014/11/21 17:25:49 pascal Exp $
COMMENT = color management library
V = 20140911
DISTNAME = OpenColorIO-$V
PKGNAME = opencolorio-$V
SHARED_LIBS += OpenColorIO 1.0 # 1.0
CATEGORIES = graphics
HOMEPAGE = http://opencolorio.org/index.html
MAINTAINER = Pascal Stumpf <Pascal.Stumpf@cubes.de>
# several BSD-like
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += m pthread stdc++ tinyxml yaml-cpp
MASTER_SITES = http://deftly.net/
MODULES = devel/cmake \
lang/python
LIB_DEPENDS = textproc/tinyxml \
devel/yaml-cpp
CONFIGURE_ARGS += -DPYTHON="${MODPY_BIN}" \
-DUSE_EXTERNAL_TINYXML=ON \
-DUSE_EXTERNAL_YAML=ON \
-DOCIO_USE_SSE=OFF \
-DOCIO_BUILD_STATIC=OFF \
-DOCIO_BUILD_APPS=OFF \
-DCMAKE_SHARED_LINKER_FLAGS="-L${LOCALBASE}/lib" \
-DCMAKE_EXE_LINKER_FLAGS="-L${LOCALBASE}/lib" \
-DCMAKE_MODULE_LINKER_FLAGS="-L${LOCALBASE}/lib"
NO_TEST = Yes
WRKDIST = ${WRKDIR}/OpenColorIO-master
CFLAGS = -pthread
.include <bsd.port.mk>