2002-10-30 16:15:16 +01:00
|
|
|
# $NetBSD: Makefile,v 1.13 2002/10/30 15:15:16 seb Exp $
|
2000-10-15 13:48:44 +02:00
|
|
|
|
2002-08-25 20:38:05 +02:00
|
|
|
PKGNAME= ${DISTNAME:S/MesaLib/glut/}
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
DISTFILES+= ${DISTNAME:S/MesaLib/MesaDemos/}${EXTRACT_SUFX}
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/Lib//}
|
2000-10-15 13:48:44 +02:00
|
|
|
MAINTAINER= rh@netbsd.org
|
2001-02-16 16:22:13 +01:00
|
|
|
COMMENT= GLUT Graphics library similar to SGI's OpenGL
|
2000-10-15 13:48:44 +02:00
|
|
|
|
2001-09-28 01:17:41 +02:00
|
|
|
CONFLICTS+= Mesa-glx-[0-9]*
|
2000-10-15 13:48:44 +02:00
|
|
|
CONFLICTS+= Mesa<3.2.1
|
|
|
|
|
2002-08-25 20:38:05 +02:00
|
|
|
.include "../Mesa/Makefile.common"
|
|
|
|
|
|
|
|
USE_BUILDLINK2= yes
|
2000-10-15 13:48:44 +02:00
|
|
|
USE_X11BASE= yes
|
2002-10-30 16:15:16 +01:00
|
|
|
CONFIGURE_DIRS= ${WRKSRC}
|
|
|
|
BUILD_DIRS= ${WRKSRC}/src-glut
|
2000-10-15 13:48:44 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/GL
|
2002-08-25 20:38:05 +02:00
|
|
|
cd ${WRKSRC}/include/GL; for hdr in \
|
|
|
|
glut.h glutf90.h; \
|
|
|
|
do \
|
|
|
|
${INSTALL_DATA} $${hdr} ${PREFIX}/include/GL; \
|
|
|
|
done
|
2000-10-15 13:48:44 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|