diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 15:39:09 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 15:39:09 +0000 |
commit | 4b86e2bfab114a3edb0ceea2883a66b1745f9f06 (patch) | |
tree | 59c0548a0298c3f264975f618451fab4e14e6b25 /graphics/glx-utils/Makefile | |
parent | a6923789124411b85aaa9c9d97b6522350124999 (diff) | |
download | pkgsrc-4b86e2bfab114a3edb0ceea2883a66b1745f9f06.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'graphics/glx-utils/Makefile')
-rw-r--r-- | graphics/glx-utils/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/graphics/glx-utils/Makefile b/graphics/glx-utils/Makefile index ce0f59afa0f..dac16edf246 100644 --- a/graphics/glx-utils/Makefile +++ b/graphics/glx-utils/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.2 2006/08/01 21:40:20 jlam Exp $ +# $NetBSD: Makefile,v 1.3 2008/03/04 15:39:10 jlam Exp $ DISTNAME= MesaDemos-${MESA_VERSION} PKGNAME= glx-utils-${MESA_VERSION} CATEGORIES= x11 graphics COMMENT= OpenGL glxgears and glxinfo +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../graphics/Mesa/Makefile.common" INSTALLATION_DIRS= bin @@ -23,7 +25,9 @@ do-build: -L../../lib -lGLU -lGL -lm -lXext ${PTHREAD_LIBS} -o glxinfo do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/progs/xdemos/glxgears ${PREFIX}/bin/ - ${INSTALL_PROGRAM} ${WRKSRC}/progs/xdemos/glxinfo ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/progs/xdemos/glxgears \ + ${DESTDIR}${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/progs/xdemos/glxinfo \ + ${DESTDIR}${PREFIX}/bin/ .include "../../mk/bsd.pkg.mk" |