freebsd-ports/graphics/libGLU/Makefile
Jung-uk Kim a9de3e5849 Update to 7.0.
Approved by:	x11 (no objection)
2007-07-02 17:03:29 +00:00

37 lines
841 B
Makefile

# New ports collection makefile for: libGLU
# Date created: 7 May 2004
# Whom: anholt@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= libGLU
PORTVERSION= 7.0
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_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
.include <bsd.port.mk>