pkgsrc/graphics/glut/Makefile
2001-07-14 03:07:34 +00:00

40 lines
986 B
Makefile

# $NetBSD: Makefile,v 1.9 2001/07/14 03:07:34 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-*
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/bsd.pkg.mk"