diff options
author | bjs <bjs> | 2008-10-01 22:25:53 +0000 |
---|---|---|
committer | bjs <bjs> | 2008-10-01 22:25:53 +0000 |
commit | 1c604f864518fc9b5073e6b7dc927f534a1c1431 (patch) | |
tree | 265e9138c48dde27a573fa4c7f3b7a2c655a6dac /graphics | |
parent | cfb174a31e75c1f3ef2f16811bd59a58bb699c09 (diff) | |
download | pkgsrc-1c604f864518fc9b5073e6b7dc927f534a1c1431.tar.gz |
Fix installation and add a missing file to PLIST. PKGREVISION++
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/MesaDemos/Makefile | 21 | ||||
-rw-r--r-- | graphics/MesaDemos/PLIST | 3 |
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 |