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

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

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

CVSweb <webmaster@jp.NetBSD.org>