summaryrefslogtreecommitdiff
path: root/graphics/glx-utils/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-08-01 21:40:19 +0000
committerjlam <jlam@pkgsrc.org>2006-08-01 21:40:19 +0000
commit396fe8e4c88f5a952574e3118cfdc3932d0bc247 (patch)
tree73431f86ad963ea226431316d9e99d95b7beb0c3 /graphics/glx-utils/Makefile
parent74239163b54830b0c5ea219978322486b1ab12bb (diff)
downloadpkgsrc-396fe8e4c88f5a952574e3118cfdc3932d0bc247.tar.gz
Split Mesa/Makefile.common into Makefile.common and Makefile.lib.
The latter is used by packages that build libraries from the Mesa sources, while the former is only if the package builds from the Mesa sources. Modify the various Mesa packages to include the proper Makefile, and add some documentation to the Makefiles. As a side effect, this suppresses the "duplicate target" warning in graphics/glx-utils that was caused by having the same distfile listed in DISTFILES more than once.
Diffstat (limited to 'graphics/glx-utils/Makefile')
-rw-r--r--graphics/glx-utils/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/graphics/glx-utils/Makefile b/graphics/glx-utils/Makefile
index e20af30c414..ce0f59afa0f 100644
--- a/graphics/glx-utils/Makefile
+++ b/graphics/glx-utils/Makefile
@@ -1,19 +1,17 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/06/13 23:44:09 reed Exp $
+# $NetBSD: Makefile,v 1.2 2006/08/01 21:40:20 jlam Exp $
+DISTNAME= MesaDemos-${MESA_VERSION}
PKGNAME= glx-utils-${MESA_VERSION}
CATEGORIES= x11 graphics
COMMENT= OpenGL glxgears and glxinfo
-PATCHDIR= ${.CURDIR}/patches
-DISTINFO_FILE= ${.CURDIR}/distinfo
-
.include "../../graphics/Mesa/Makefile.common"
-DISTNAME= MesaDemos-${MESA_VERSION}
-WRKSRC= ${WRKDIR}/Mesa-${MESA_VERSION}
-USE_LANGUAGES= c c++
INSTALLATION_DIRS= bin
+.include "../../graphics/glu/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+
do-build:
cd ${WRKSRC}/progs/xdemos && \
${SETENV} ${MAKE_ENV} ${CC} -I../../include ${CFLAGS} \
@@ -28,7 +26,4 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/progs/xdemos/glxgears ${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/progs/xdemos/glxinfo ${PREFIX}/bin/
-.include "../../graphics/glu/buildlink3.mk"
-.include "../../graphics/MesaLib/buildlink3.mk"
-
.include "../../mk/bsd.pkg.mk"