diff options
Diffstat (limited to 'graphics/MesaDemos/Makefile')
-rw-r--r-- | graphics/MesaDemos/Makefile | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/graphics/MesaDemos/Makefile b/graphics/MesaDemos/Makefile index 7e3b164714d..751c7f551ff 100644 --- a/graphics/MesaDemos/Makefile +++ b/graphics/MesaDemos/Makefile @@ -1,8 +1,10 @@ -# $NetBSD: Makefile,v 1.33 2008/07/27 00:03:42 bjs Exp $ +# $NetBSD: Makefile,v 1.34 2008/10/01 22:25:53 bjs Exp $ PKGNAME= MesaDemos-${MESA_VERSION} +PKGREVISION= 1 COMMENT= OpenGL examples and Demos + # We include Makefile.lib here to pull in the configuration machinery. # .include "../../graphics/Mesa/Makefile.lib" @@ -12,19 +14,15 @@ BUILD_DIRS= progs BUILD_TARGET= default EGDIR= ${PREFIX}/share/examples/${PKGNAME_NOREV} +AUTO_MKDIRS= yes + .include "../../graphics/Mesa/buildlink3.mk" pre-build: cd ${WRKSRC} && ${RM} -fr src ${CP} ${WRKSRC}/configs/pkgsrc ${WRKSRC}/configs/current -### -### XXX remove this when it's unnecessary -### -pre-install: - ${CHMOD} -x ${DESTDIR}${EGDIR}/demos/glslnoise.c do-install: - ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}/${dir} cd ${WRKSRC}/progs && pax \ -s ',^./.*Makefile.*,,' \ -s ',^./CVS.*,,' \ @@ -32,9 +30,14 @@ do-install: -s ',^./\.libs.*,,' \ -s ',^./\.deps.*,,' \ -s ',^./.*\.orig$$,,' \ - -rw . ${DESTDIR}${EGDIR}/${PKGNAME_NOREV}/${dir} - ${CHMOD} -R a+rX ${DESTDIR}${EGDIR}/${PKGNAME_NOREV} + -rw . ${DESTDIR}${EGDIR}/${dir} + ${CHMOD} -R a+rX ${DESTDIR}${EGDIR} +### +### XXX remove this when it's unnecessary +### +post-install: + ${CHMOD} -x ${DESTDIR}${EGDIR}/demos/glslnoise.c .include "../../x11/libXi/buildlink3.mk" .include "../../x11/libXmu/buildlink3.mk" |