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

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

1.24    ! obache      1: # $NetBSD: Makefile,v 1.23 2014/04/07 12:15:55 ryoon Exp $
1.1       ryoon       2:
1.23      ryoon       3: OIIOVER=       1.3.13
1.9       ryoon       4: DISTNAME=      oiio-Release-${OIIOVER}
1.6       jperkin     5: PKGNAME=       ${DISTNAME:S/oiio-Release/openimageio/}
1.24    ! obache      6: PKGREVISION=   1
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.23      ryoon      15: #WRKSRC=               ${WRKDIR}/${DISTNAME}/src
1.1       ryoon      16:
1.2       adam       17: USE_CMAKE=             yes
                     18: USE_LANGUAGES=         c c++
                     19: USE_TOOLS+=            gmake
1.1       ryoon      20:
                     21: CXXFLAGS+=             -std=c++0x
                     22:
                     23: CMAKE_ARGS+=           -DILMBASE_HOME:STRING=${BUILDLINK_PREFIX.ilmbase}
1.2       adam       24: CMAKE_ARGS+=           -DOPENJPEG_HOME:STRING=${BUILDLINK_PREFIX.openjpeg15}
1.1       ryoon      25: CMAKE_ARGS+=           -DOPENEXR_HOME:STRING=${BUILDLINK_PREFIX.openexr}
1.23      ryoon      26: CMAKE_ARGS+=           -DINSTALL_DOCS:BOOL=OFF
                     27:
                     28: # For redefinition of _rotl macro.
                     29: BUILDLINK_TRANSFORM+=  rm:-Werror
1.1       ryoon      30:
1.11      joerg      31: pre-install:
1.1       ryoon      32:        ${RM} -f ${WRKSRC}/include/tbb/tbb_machine.h.orig
                     33:        ${RM} -f ${WRKSRC}/include/tbb/tbb_misc.h.orig
1.11      joerg      34:        ${RM} -f ${WRKSRC}/include/tbb/tbb_exception.h.orig
1.1       ryoon      35:
1.18      joerg      36: .include "../../mk/compiler.mk"
                     37: .if !empty(PKGSRC_COMPILER:Mclang)
                     38: CXXFLAGS+=     -Wno-deprecated-register
                     39: .endif
                     40:
1.1       ryoon      41: .include "../../devel/boost-libs/buildlink3.mk"
                     42: .include "../../devel/hdf5/buildlink3.mk"
                     43: .include "../../graphics/freetype2/buildlink3.mk"
                     44: .include "../../graphics/glew/buildlink3.mk"
                     45: .include "../../graphics/ilmbase/buildlink3.mk"
                     46: .include "../../graphics/libwebp/buildlink3.mk"
                     47: .include "../../graphics/opencv/buildlink3.mk"
1.2       adam       48: .include "../../graphics/openjpeg15/buildlink3.mk"
1.1       ryoon      49: .include "../../graphics/openexr/buildlink3.mk"
                     50: .include "../../graphics/tiff/buildlink3.mk"
1.23      ryoon      51: .include "../../mk/giflib.buildlink3.mk"
1.1       ryoon      52: .include "../../x11/qt4-libs/buildlink3.mk"
                     53: BUILDLINK_DEPMETHOD.qt4-tools= build
                     54: .include "../../x11/qt4-tools/buildlink3.mk"
                     55: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>