mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
15945f8122
to GCC 4.8.3. Part II, Bump PORTREVISIONs. PR: 192025 Tested by: antoine (-exp runs) Approved by: portmgr (implicit)
51 lines
1.5 KiB
Makefile
51 lines
1.5 KiB
Makefile
# Created by: David Mackay <davidjx8p@gmail.com>
|
|
# $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 <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "i386"
|
|
PLIST_SUB+= I386=""
|
|
PLIST_SUB+= AMD64="@comment "
|
|
.else
|
|
PLIST_SUB+= I386="@comment "
|
|
PLIST_SUB+= AMD64=""
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|