# $NetBSD: Makefile,v 1.11 2001/09/27 23:18:12 jlam Exp $ # .include "../Mesa/Makefile.common" DISTNAME= Mesa-${MESA_VERSION} PKGNAME= ${DISTNAME:S/Mesa/glut/} CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mesa3d/} EXTRACT_SUFX= .tar.bz2 DISTFILES+= ${DISTNAME:S/Mesa/MesaLib/}${EXTRACT_SUFX} DISTFILES+= ${DISTNAME:S/Mesa/MesaDemos/}${EXTRACT_SUFX} MAINTAINER= rh@netbsd.org HOMEPAGE= http://www.mesa3d.org/ COMMENT= GLUT Graphics library similar to SGI's OpenGL CONFLICTS+= Mesa-glx-[0-9]* CONFLICTS+= Mesa<3.2.1 USE_BUILDLINK_ONLY= yes USE_X11BASE= yes USE_LIBTOOL= yes GNU_CONFIGURE= yes LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig CONFIGURE_ARGS+= --enable-static do-build: cd ${WRKSRC}/src-glut && ${MAKE} do-install: cd ${WRKSRC}/src-glut && ${MAKE} install post-install: ${INSTALL_DATA_DIR} ${PREFIX}/include/GL .for inc in glut.h glutf90.h ${INSTALL_DATA} ${WRKSRC}/include/GL/${inc} ${PREFIX}/include/GL .endfor .include "../../mk/x11.buildlink.mk" .include "../../mk/bsd.pkg.mk"