aboutsummaryrefslogtreecommitdiff
path: root/graphics/libGLU/Makefile
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2007-08-29 10:33:10 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2007-08-29 10:33:10 +0000
commit971be6f22592b4ac01a288e4392ebaa3390bfea9 (patch)
tree1096f310a03d7f71fb083797854b3a786ba0e95f /graphics/libGLU/Makefile
parent0c3fa6d6e39a0674f777f3b690247a752281e0c6 (diff)
downloadports-971be6f22592b4ac01a288e4392ebaa3390bfea9.tar.gz
ports-971be6f22592b4ac01a288e4392ebaa3390bfea9.zip
Notes
Diffstat (limited to 'graphics/libGLU/Makefile')
-rw-r--r--graphics/libGLU/Makefile27
1 files changed, 6 insertions, 21 deletions
diff --git a/graphics/libGLU/Makefile b/graphics/libGLU/Makefile
index 32fd048db7af..e808d6ac3e3e 100644
--- a/graphics/libGLU/Makefile
+++ b/graphics/libGLU/Makefile
@@ -6,32 +6,17 @@
#
PORTNAME= libGLU
-PORTVERSION= 7.0.1
+PORTVERSION= ${MESAVERSION}
CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= mesa3d
-DISTNAME= MesaLib-${PORTVERSION}
-MAINTAINER= x11@FreeBSD.org
COMMENT= OpenGL utility library
-CONFLICTS= XFree86-libraries-* xorg-libraries-6.*
-
-USE_BZIP2= yes
-USE_LDCONFIG= yes
USE_GL= gl
+USE_XORG= xmu xi
-USE_X_PREFIX= yes
-WRKSRC= ${WRKDIR}/Mesa-${PORTVERSION}/src/glu/sgi
-
-ALL_TARGET= libGLU.so
-
-post-patch:
- ${CP} ${FILESDIR}/config ${WRKDIR}/Mesa-${PORTVERSION}/configs/current
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/libGLU.so.1 ${PREFIX}/lib
- ${LN} -sf libGLU.so.1 ${PREFIX}/lib/libGLU.so
- ${INSTALL_DATA} ${WRKDIR}/Mesa-${PORTVERSION}/include/GL/glu.h ${PREFIX}/include/GL
+SRCDIR= glu/sgi
+HEADERS= glu.h
+HEADERSDIR= include/GL
+.include "${.CURDIR}/../../graphics/libGL/bsd.mesalib.mk"
.include <bsd.port.mk>