# $NetBSD: Makefile,v 1.6 2001/04/12 20:38:26 hubertf Exp $ # .include "../Mesa/Makefile.common" DISTNAME= Mesa-${MESA_VERSION} PKGNAME= ${DISTNAME:S/Mesa/glut/} CATEGORIES= graphics MASTER_SITES= ftp://ftp.mesa3d.org/mesa/ \ ${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.ssec.wisc.edu/~brianp/Mesa.html COMMENT= GLUT Graphics library similar to SGI's OpenGL CONFLICTS+= Mesa-glx-* CONFLICTS+= Mesa<3.2.1 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/bsd.pkg.mk"