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

Annotation of pkgsrc/graphics/osg/Makefile, Revision 1.82

1.82    ! nia         1: # $NetBSD: Makefile,v 1.81 2018/04/29 21:31:21 adam Exp $
1.1       adam        2:
1.82    ! nia         3: DISTNAME=      osg-3.4.1
1.1       adam        4: CATEGORIES=    graphics devel
1.82    ! nia         5: MASTER_SITES=  ${MASTER_SITE_GITHUB:=openscenegraph/}
        !             6: GITHUB_PROJECT=        OpenSceneGraph
        !             7: GITHUB_TAG=    OpenSceneGraph-${PKGVERSION_NOREV}
1.1       adam        8:
                      9: MAINTAINER=    pkgsrc-users@NetBSD.org
1.74      wiz        10: HOMEPAGE=      http://www.openscenegraph.org/
1.1       adam       11: COMMENT=       High performance 3D graphics toolkit
                     12: LICENSE=       gnu-lgpl-v2.1
                     13:
1.82    ! nia        14: EXTRACT_USING=         bsdtar
        !            15:
        !            16: WRKSRC=                        ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}
        !            17:
1.1       adam       18: USE_CMAKE=             yes
                     19: USE_LANGUAGES=         c c++
1.3       joerg      20: USE_TOOLS+=            pkg-config
1.1       adam       21: PKGCONFIG_OVERRIDE=    packaging/pkgconfig/openscenegraph.pc.in
                     22: PKGCONFIG_OVERRIDE+=   packaging/pkgconfig/openthreads.pc.in
                     23:
                     24: CMAKE_ARGS+=           -DCMAKE_BUILD_TYPE=Release
1.82    ! nia        25: CMAKE_ARGS+=           -DDYNAMIC_OPENSCENEGRAPH=ON
        !            26: CMAKE_ARGS+=           -DOSG_USE_LOCAL_LUA_SOURCE=OFF
        !            27: CMAKE_ARGS+=           -DOSG_USE_QT=OFF
        !            28: CMAKE_ARGS+=           -DBUILD_OSG_EXAMPLES=OFF
        !            29: CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_SDL=TRUE # disable legacy SDL
        !            30: CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_Lua51=TRUE # use Lua52
        !            31: CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_GTA=TRUE
        !            32: CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_Inventor=TRUE
        !            33: CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_LIBLAS=TRUE
        !            34: CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_LibVNCServer=TRUE
        !            35: CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_Xine=TRUE
        !            36: CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_GLIB=TRUE
        !            37: CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_GStreamer=TRUE
        !            38: CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_GtkGl=TRUE
1.1       adam       39:
1.13      adam       40: PLIST_VARS+=   quartz x11
                     41:
                     42: .include "../../mk/bsd.prefs.mk"
                     43:
1.65      joerg      44: # jasper uses SIZE_MAX and friends in its headers.
                     45: CXXFLAGS+=     -D__STDC_LIMIT_MACROS
                     46:
1.82    ! nia        47: .include "options.mk"
        !            48:
        !            49: .if ${OPSYS} != "Darwin"
1.13      adam       50: PLIST.x11=     yes
                     51: .include "../../graphics/MesaLib/buildlink3.mk"
1.82    ! nia        52: .include "../../graphics/giflib/buildlink3.mk"
1.13      adam       53: .include "../../graphics/png/buildlink3.mk"
                     54: .include "../../graphics/tiff/buildlink3.mk"
                     55: .include "../../x11/libX11/buildlink3.mk"
                     56: .include "../../mk/jpeg.buildlink3.mk"
1.82    ! nia        57: .else
        !            58: PLIST.quartz=  yes
1.13      adam       59: .endif
1.1       adam       60: .include "../../mk/pthread.buildlink3.mk"
                     61: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>