aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libGLU/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libGLU/Makefile')
-rw-r--r--graphics/libGLU/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/libGLU/Makefile b/graphics/libGLU/Makefile
index 0acf73692cab..fa90ee18f974 100644
--- a/graphics/libGLU/Makefile
+++ b/graphics/libGLU/Makefile
@@ -11,11 +11,12 @@ COMMENT= OpenGL utility library
USE_GL= gl
USE_XORG= glproto x11 xext xxf86vm xdamage xfixes dri2proto
-do-install:
+INSTALL_WRKSRC= ${WRKSRC}/src/glu
+BUILD_WRKSRC= ${WRKSRC}/src/glu
+
+pre-install:
@${MKDIR} ${PREFIX}/include/GL/
- cd ${WRKSRC}/src/glu; ${GMAKE} install
${INSTALL_DATA} ${WRKSRC}/include/GL/glu*.h ${PREFIX}/include/GL/
- cd ${WRKSRC}/src/glu; ${GMAKE} install
.include "${.CURDIR}/../../graphics/libGL/bsd.mesalib.mk"