2003-11-28 19:41:03 +01:00
|
|
|
# $NetBSD: Makefile,v 1.23 2003/11/28 18:41:03 jschauma Exp $
|
2000-10-15 13:48:44 +02:00
|
|
|
|
2002-08-25 20:38:05 +02:00
|
|
|
PKGNAME= ${DISTNAME:S/MesaLib/glut/}
|
2003-11-28 19:41:03 +01:00
|
|
|
PKGREVISION= 3
|
2002-08-25 20:38:05 +02:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
DISTFILES+= ${DISTNAME:S/MesaLib/MesaDemos/}${EXTRACT_SUFX}
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/Lib//}
|
2003-07-17 23:31:04 +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
|
|
|
|
|
2003-09-18 18:25:08 +02:00
|
|
|
.include "../../graphics/Mesa/Makefile.common"
|
2002-08-25 20:38:05 +02:00
|
|
|
|
|
|
|
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
|
2003-11-18 17:10:55 +01:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
|
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
|
|
|
|
2002-11-17 09:37:20 +01:00
|
|
|
.include "../../graphics/MesaLib/buildlink2.mk"
|
2003-11-18 17:10:55 +01:00
|
|
|
.include "../../graphics/glu/buildlink2.mk"
|
2000-10-15 13:48:44 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|
2003-03-09 20:04:52 +01:00
|
|
|
|
|
|
|
# must be below bsd.pkg.mk to overwrite values
|
|
|
|
PREFIX= ${LOCALBASE}
|
|
|
|
X11PREFIX= ${LOCALBASE}
|