blob: d5d2fd9d94c7a7234008f9a2c2880787da727a76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $NetBSD: Makefile,v 1.6 2003/05/10 16:37:11 drochner Exp $
PKGNAME= MesaDemos-${MESA_VERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
DISTFILES+= ${DISTNAME:S/MesaLib/MesaDemos/}${EXTRACT_SUFX}
WRKSRC= ${WRKDIR}/${DISTNAME:S/Lib//}
MAINTAINER= jschauma@netbsd.org
COMMENT= OpenGL examples and Demos
MESA_REQD= 5.0.1
.include "../Mesa/Makefile.common"
USE_BUILDLINK2= yes
USE_X11BASE= yes
BUILD_DIRS= ${WRKSRC}/book ${WRKSRC}/demos ${WRKSRC}/samples
MAKEFILE= Makefile.X11
ALL_TARGET= netbsd
MAKE_ENV+= X11PREFIX=${X11PREFIX}
do-install:
.for dir in book demos images samples
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/${PKGNAME}/${dir}
cd ${WRKSRC}/${dir} && ${PAX} -s ,^./.*Makefile.*,, -s ,^./CVS.*,, \
-rw . ${PREFIX}/share/examples/${PKGNAME}/${dir}
.endfor
${CHMOD} -R a+rX ${PREFIX}/share/examples/${PKGNAME}
.include "../../graphics/Mesa/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|