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

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

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

CVSweb <webmaster@jp.NetBSD.org>