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

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

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

CVSweb <webmaster@jp.NetBSD.org>