pkgsrc/graphics/MesaDemos/Makefile
minskim 41a793d84e Define USE_BUILDLINK3 before including compiler.mk. Otherwise,
buildink3.mk of gcc* packages is not included.
2004-10-29 01:34:39 +00:00

26 lines
764 B
Makefile

# $NetBSD: Makefile,v 1.21 2004/10/29 01:34:39 minskim Exp $
PKGNAME= MesaDemos-${MESA_VERSION}
COMMENT= OpenGL examples and Demos
PATCHDIR= ${.CURDIR}/patches
DISTINFO_FILE= ${.CURDIR}/distinfo
.include "../Mesa/Makefile.common"
USE_LANGUAGES= c c++
MAKE_FLAGS+= LIB_DEP=""
pre-build:
cd ${WRKSRC} && ${RM} -fr src
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/${PKGNAME_NOREV}/${dir}
cd ${WRKSRC}/progs && ${PAX} -s ,^./.*Makefile.*,, -s ,^./CVS.*,, \
-s ,^./.*\\.o$$,, -s ,^./\\.libs.*,, -s ,^./\\.deps.*,, \
-s ,^./.*\\.orig$$,, \
-rw . ${PREFIX}/share/examples/${PKGNAME_NOREV}/${dir}
${CHMOD} -R a+rX ${PREFIX}/share/examples/${PKGNAME_NOREV}
.include "../../graphics/Mesa/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"