1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/graphics/libosmesa/Makefile
2012-09-21 12:55:24 +00:00

42 lines
1.0 KiB
Makefile

# New ports collection makefile for: libosmesa
# Date created: 9 April 2010
# Whom: gahr
#
# $FreeBSD$
#
PORTNAME= libosmesa
PORTVERSION= 8.0.4
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.freedesktop.org/pub/mesa/${PORTVERSION}/
DISTNAME= MesaLib-${PORTVERSION}
MAINTAINER= gahr@FreeBSD.org
COMMENT= Off-Screen Mesa implementation of the OpenGL API
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 \
talloc.2:${PORTSDIR}/devel/talloc
BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend \
bison:${PORTSDIR}/devel/bison \
${PYTHON_SITELIBDIR}/libxml2mod.so:${PORTSDIR}/textproc/py-libxml2
CONFLICTS= mesagl-mangled-*
USE_BZIP2= yes
USE_GCC= 4.2+
USE_LDCONFIG= yes
USE_GMAKE= yes
USE_GNOME= pkgconfig gnomehack
USE_PYTHON= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-driver=osmesa --with-osmesa-bits=32 \
--with-gallium-drivers= --disable-asm \
--disable-egl \
--includedir=${PREFIX}/include/Mesa
CFLAGS+= -I${LOCALBASE}/include -fPIC
CPPFLAGS= ${CFLAGS}
WRKSRC= ${WRKDIR}/Mesa-${PORTVERSION}
.include <bsd.port.mk>