summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorbjs <bjs@pkgsrc.org>2008-10-01 22:25:53 +0000
committerbjs <bjs@pkgsrc.org>2008-10-01 22:25:53 +0000
commit8a94a2252d34196008a2bf943f7e46c0aa148960 (patch)
tree265e9138c48dde27a573fa4c7f3b7a2c655a6dac /graphics
parent574a687bf2a3982cbbae299de1cee51e5fa7c644 (diff)
downloadpkgsrc-8a94a2252d34196008a2bf943f7e46c0aa148960.tar.gz
Fix installation and add a missing file to PLIST. PKGREVISION++
Diffstat (limited to 'graphics')
-rw-r--r--graphics/MesaDemos/Makefile21
-rw-r--r--graphics/MesaDemos/PLIST3
2 files changed, 14 insertions, 10 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"
diff --git a/graphics/MesaDemos/PLIST b/graphics/MesaDemos/PLIST
index 55c27f9fdb6..a21cdcaca28 100644
--- a/graphics/MesaDemos/PLIST
+++ b/graphics/MesaDemos/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2008/07/27 00:03:42 bjs Exp $
+@comment $NetBSD: PLIST,v 1.12 2008/10/01 22:25:53 bjs Exp $
share/examples/${PKGNAME}/beos/GLInfo.cpp
share/examples/${PKGNAME}/beos/demo.cpp
share/examples/${PKGNAME}/beos/sample.cpp
@@ -166,6 +166,7 @@ share/examples/${PKGNAME}/osdemos/osdemo.c
share/examples/${PKGNAME}/osdemos/osdemo16.c
share/examples/${PKGNAME}/osdemos/osdemo32.c
share/examples/${PKGNAME}/osdemos/ostest1.c
+share/examples/${PKGNAME}/osdemos/readtex.c
share/examples/${PKGNAME}/redbook/README
share/examples/${PKGNAME}/redbook/aaindex
share/examples/${PKGNAME}/redbook/aaindex.c