2004-02-21 08:07:34 +01:00
|
|
|
# $NetBSD: Makefile,v 1.30 2004/02/21 07:07:34 snj Exp $
|
2004-01-22 13:58:07 +01:00
|
|
|
#
|
2000-10-15 13:45:21 +02:00
|
|
|
|
2004-01-22 13:58:07 +01:00
|
|
|
PKGNAME= ${DISTNAME:C/MesaLib/glu/}
|
2004-02-21 08:07:34 +01:00
|
|
|
COMMENT= GLU polygon tessellation facility for Mesa
|
2000-10-15 13:45:21 +02:00
|
|
|
|
2004-01-22 13:58:07 +01:00
|
|
|
CONFLICTS+= Mesa-glx-[0-9]*
|
|
|
|
CONFLICTS+= Mesa<3.2.1
|
2004-01-05 12:42:20 +01:00
|
|
|
|
2003-09-18 18:25:08 +02:00
|
|
|
.include "../../graphics/Mesa/Makefile.common"
|
2002-08-25 20:38:05 +02:00
|
|
|
|
2004-01-22 13:58:07 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2004-01-05 12:42:20 +01:00
|
|
|
USE_BUILDLINK3= yes
|
2004-02-11 00:10:38 +01:00
|
|
|
USE_LANGUAGES= c c++
|
2004-02-11 03:03:41 +01:00
|
|
|
MESA_REQD+= ${MESA_VERSION}
|
2004-01-22 13:58:07 +01:00
|
|
|
|
|
|
|
INSTLIBS= ${WRKSRC}/src/glu/sgi/libGLU.la
|
2000-10-15 13:45:21 +02:00
|
|
|
|
2002-08-25 20:38:05 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2004-01-20 03:48:33 +01:00
|
|
|
pre-build:
|
2004-01-22 13:58:07 +01:00
|
|
|
cd ${WRKSRC} && ${RM} -fr src/mesa src/glut src/glw progs
|
2004-01-20 03:48:33 +01:00
|
|
|
|
|
|
|
do-install:
|
2002-08-25 20:38:05 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/GL
|
|
|
|
cd ${WRKSRC}/include/GL; for hdr in \
|
|
|
|
glu.h glu_mangle.h; \
|
|
|
|
do \
|
|
|
|
${INSTALL_DATA} $${hdr} ${PREFIX}/include/GL; \
|
|
|
|
done
|
2000-10-15 13:45:21 +02:00
|
|
|
|
2004-01-05 12:42:20 +01:00
|
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
2000-10-15 13:45:21 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|