pkgsrc/graphics/MesaDemos/Makefile
drochner fe29855bec update to 5.0.1
mostly a bugfix release
other changes:
- updated GL/gl_mangle.h file
- use glPolygonOffset in gloss demo to avoid z-fighting artifacts
- updated winpos and pointblast demos to use ARB extensions
- disable SPARC normal transformation code
2003-05-10 16:37:11 +00:00

30 lines
918 B
Makefile

# $NetBSD: Makefile,v 1.6 2003/05/10 16:37:11 drochner Exp $
PKGNAME= MesaDemos-${MESA_VERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
DISTFILES+= ${DISTNAME:S/MesaLib/MesaDemos/}${EXTRACT_SUFX}
WRKSRC= ${WRKDIR}/${DISTNAME:S/Lib//}
MAINTAINER= jschauma@netbsd.org
COMMENT= OpenGL examples and Demos
MESA_REQD= 5.0.1
.include "../Mesa/Makefile.common"
USE_BUILDLINK2= yes
USE_X11BASE= yes
BUILD_DIRS= ${WRKSRC}/book ${WRKSRC}/demos ${WRKSRC}/samples
MAKEFILE= Makefile.X11
ALL_TARGET= netbsd
MAKE_ENV+= X11PREFIX=${X11PREFIX}
do-install:
.for dir in book demos images samples
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/${PKGNAME}/${dir}
cd ${WRKSRC}/${dir} && ${PAX} -s ,^./.*Makefile.*,, -s ,^./CVS.*,, \
-rw . ${PREFIX}/share/examples/${PKGNAME}/${dir}
.endfor
${CHMOD} -R a+rX ${PREFIX}/share/examples/${PKGNAME}
.include "../../graphics/Mesa/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"