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

Annotation of pkgsrc/benchmarks/glmark2/Makefile, Revision 1.2

1.2     ! tnn         1: # $NetBSD: Makefile,v 1.1 2015/02/28 23:09:27 prlw1 Exp $
1.1       prlw1       2:
1.2     ! tnn         3: DISTNAME=      glmark2-2014.03
1.1       prlw1       4: CATEGORIES=    benchmarks
1.2     ! tnn         5: USE_GITHUB=    yes
        !             6: GH_COMMIT=     499aa81a68fb4c8aac1c80f0d6a4cce05941c4cc
1.1       prlw1       7:
                      8: MAINTAINER=    prlw1@cam.ac.uk
                      9: HOMEPAGE=      https://github.com/glmark2/glmark2
                     10: COMMENT=       OpenGL 2.0 and ES 2.0 benchmark
                     11: LICENSE=       gnu-gpl-v3 AND modified-bsd
                     12:
                     13: USE_LANGUAGES= c c++
                     14:
                     15: PYTHON_VERSIONS_INCOMPATIBLE=  33 34
                     16:
                     17: WRKSRC=                ${WRKDIR}/glmark2-${GHCOMMIT}
                     18:
                     19: .include "../../mk/dlopen.buildlink3.mk"
                     20: .if empty(BUILTIN_LIB_FOUND.dl:M[yY][eE][sS])
                     21: SUBST_CLASSES+=                rmdl
                     22: SUBST_STAGE.rmdl=      pre-configure
                     23: SUBST_MESSAGE.rmdl=    remove -ldl
                     24: SUBST_FILES.rmdl=      src/wscript_build
                     25: SUBST_SED.rmdl=                -e "s/, 'dl'//"
                     26: .endif
                     27:
                     28: #./waf configure --with-flavors=<drm-gl,drm-glesv2,mir-gl,mir-glesv2,wayland-gl,wayland-glesv2,x11-gl,x11-glesv2> [--data-path=DATA_PATH --prefix=PREFIX]
                     29: # drm-gl requires libdrm and "gbm"
                     30: do-configure:
                     31:        cd ${WRKSRC:Q} && \
                     32:                ${SETENV} ${CONFIGURE_ENV} ${PYTHONBIN} ./waf configure \
                     33:                        --with-flavors=x11-gl \
                     34:                        --prefix=${PREFIX} --mandir=${PREFIX}/${PKGMANDIR}
                     35:
                     36: do-build:
                     37:        cd ${WRKSRC:Q} && \
                     38:                ${SETENV} ${CONFIGURE_ENV} ${PYTHONBIN} ./waf build
                     39:
                     40: do-install:
                     41:        cd ${WRKSRC:Q} && \
                     42:                ${SETENV} ${CONFIGURE_ENV} ${PYTHONBIN} ./waf install \
                     43:                        --destdir=${DESTDIR}
                     44:
                     45: .include "../../graphics/MesaLib/buildlink3.mk"
                     46: .include "../../mk/jpeg.buildlink3.mk"
                     47: .include "../../graphics/png/buildlink3.mk"
                     48: .include "../../lang/python/extension.mk"
                     49: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>