# Created by: David Mackay # $FreeBSD$ PORTNAME= virtualgl PORTVERSION= 2.3.3 PORTREVISION= 1 CATEGORIES= x11 graphics MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} DISTNAME= VirtualGL-${PORTVERSION} MAINTAINER= davidjx8p@gmail.com COMMENT= Redirects commands from an OpenGL app to another X server LIB_DEPENDS= libGLU.so:${PORTSDIR}/graphics/libGLU \ libX11.so:${PORTSDIR}/x11/libX11 \ libXext.so:${PORTSDIR}/x11/libXext \ libXdamage.so:${PORTSDIR}/x11/libXdamage \ libXfixes.so:${PORTSDIR}/x11/libXfixes \ libX11-xcb.so:${PORTSDIR}/x11/libX11 \ libxcb-glx.so:${PORTSDIR}/x11/libxcb \ libxcb-dri2.so:${PORTSDIR}/x11/libxcb \ libxcb.so:${PORTSDIR}/x11/libxcb \ libXxf86vm.so:${PORTSDIR}/x11/libXxf86vm \ libdrm.so:${PORTSDIR}/graphics/libdrm \ libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs \ libXau.so:${PORTSDIR}/x11/libXau \ libXdmcp.so:${PORTSDIR}/x11/libXdmcp \ libturbojpeg.so:${PORTSDIR}/graphics/libjpeg-turbo # due to the libjpeg-turbo requirement ONLY_FOR_ARCHS= amd64 i386 CMAKE_INSTALL_PREFIX= ${LOCALBASE}/VirtualGL DOCSDIR= ${LOCALBASE}/VirtualGL/doc USES= cmake CMAKE_ARGS= -DTJPEG_INCLUDE_DIR=${LOCALBASE}/include -DTJPEG_LIBRARY=${LOCALBASE}/lib/libturbojpeg.so USE_LDCONFIG= ${PREFIX}/VirtualGL/fakelib ${PREFIX}/VirtualGL/lib .include .if ${ARCH} == "i386" PLIST_SUB+= I386="" PLIST_SUB+= AMD64="@comment " .else PLIST_SUB+= I386="@comment " PLIST_SUB+= AMD64="" .endif .include