[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / graphics / openimageio

Annotation of pkgsrc/graphics/openimageio/Makefile, Revision 1.52

1.52    ! adam        1: # $NetBSD: Makefile,v 1.51 2018/11/12 03:52:16 ryoon Exp $
1.1       ryoon       2:
1.50      ryoon       3: OIIOVER=       1.8.15
1.9       ryoon       4: DISTNAME=      oiio-Release-${OIIOVER}
1.6       jperkin     5: PKGNAME=       ${DISTNAME:S/oiio-Release/openimageio/}
1.52    ! adam        6: PKGREVISION=   2
1.1       ryoon       7: CATEGORIES=    graphics
1.9       ryoon       8: MASTER_SITES=  -https://github.com/OpenImageIO/oiio/archive/Release-${OIIOVER}.tar.gz
1.1       ryoon       9:
                     10: MAINTAINER=    ryoon@NetBSD.org
                     11: HOMEPAGE=      https://sites.google.com/site/openimageio/
                     12: COMMENT=       OpenImageIO is a library for reading and writing images
                     13: LICENSE=       modified-bsd
                     14:
1.2       adam       15: USE_CMAKE=             yes
1.50      ryoon      16: USE_LANGUAGES=         c c++11
1.2       adam       17: USE_TOOLS+=            gmake
1.1       ryoon      18:
1.50      ryoon      19: OBJDIR=                        ../build
                     20: CONFIGURE_DIRS=                ${OBJDIR}
                     21: CMAKE_ARG_PATH=                ${WRKSRC}
                     22:
1.33      markd      23: CXXFLAGS.Linux+=       -pthread
1.1       ryoon      24:
                     25: CMAKE_ARGS+=           -DILMBASE_HOME:STRING=${BUILDLINK_PREFIX.ilmbase}
1.50      ryoon      26: CMAKE_ARGS+=           -DOPENJPEG_HOME:STRING=${BUILDLINK_PREFIX.openjpeg}
1.1       ryoon      27: CMAKE_ARGS+=           -DOPENEXR_HOME:STRING=${BUILDLINK_PREFIX.openexr}
1.23      ryoon      28: CMAKE_ARGS+=           -DINSTALL_DOCS:BOOL=OFF
1.33      markd      29: CMAKE_ARGS+=           -DUSE_LIBRAW:BOOL=OFF
1.48      markd      30: CMAKE_ARGS+=           -DUSE_OCIO:BOOL=OFF
1.50      ryoon      31: CMAKE_ARGS+=           -DUSE_PYTHON:BOOL=OFF
1.23      ryoon      32:
                     33: # For redefinition of _rotl macro.
                     34: BUILDLINK_TRANSFORM+=  rm:-Werror
1.1       ryoon      35:
                     36: .include "../../devel/boost-libs/buildlink3.mk"
                     37: .include "../../devel/hdf5/buildlink3.mk"
                     38: .include "../../graphics/freetype2/buildlink3.mk"
                     39: .include "../../graphics/glew/buildlink3.mk"
                     40: .include "../../graphics/ilmbase/buildlink3.mk"
                     41: .include "../../graphics/libwebp/buildlink3.mk"
                     42: .include "../../graphics/opencv/buildlink3.mk"
1.50      ryoon      43: .include "../../graphics/openjpeg/buildlink3.mk"
1.1       ryoon      44: .include "../../graphics/openexr/buildlink3.mk"
                     45: .include "../../graphics/tiff/buildlink3.mk"
1.26      wiz        46: .include "../../graphics/giflib/buildlink3.mk"
1.50      ryoon      47: .include "../../x11/qt5-qtbase/buildlink3.mk"
1.28      obache     48:
                     49: .include "../../mk/compiler.mk"
                     50: .if !empty(PKGSRC_COMPILER:Mclang)
                     51: CXXFLAGS+=     -Wno-deprecated-register
                     52: .endif
                     53:
1.50      ryoon      54: pre-configure:
                     55:        ${MKDIR} ${WRKDIR}/build
                     56:
1.1       ryoon      57: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>