summaryrefslogtreecommitdiff
path: root/graphics/linux-c7-libglvnd/Makefile
blob: 8d144f1f45c7c0cabad4ca0222794b398b3f6397 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

PORTNAME=	libglvnd
PORTVERSION=	1.0.1
DISTVERSIONSUFFIX=	-0.8.git5baa1e5.el7
CATEGORIES=	graphics linux

MAINTAINER=	emulation@FreeBSD.org
COMMENT=	GL Vendor-Neutral Dispatch library (Linux CentOS ${LINUX_DIST_VER})

USES=		linux:c7
USE_LDCONFIG=	yes
USE_LINUX=	xorglibs
USE_LINUX_RPM=	yes

LIB_DISTNAMES=	libglvnd-${DISTVERSIONFULL} \
		libglvnd-egl-${DISTVERSIONFULL} \
		libglvnd-gles-${DISTVERSIONFULL} \
		libglvnd-glx-${DISTVERSIONFULL} \
		libglvnd-opengl-${DISTVERSIONFULL}

OPTIONS_DEFINE=	DOCS

post-install:
	@${RM} ${STAGEDIR}${PREFIX}/usr/lib/libEGL.so.1
	@${RM} ${STAGEDIR}${PREFIX}/usr/lib/libGL.so.1
	@${RM} ${STAGEDIR}${PREFIX}/usr/lib/libGLESv1_CM.so.1
	@${RM} ${STAGEDIR}${PREFIX}/usr/lib/libGLESv2.so.2
	@${RM} ${STAGEDIR}${PREFIX}/usr/lib/libGLX.so.0
	@${RM} ${STAGEDIR}${PREFIX}/usr/lib/libGLdispatch.so.0
	@${RM} ${STAGEDIR}${PREFIX}/usr/lib/libOpenGL.so.0
	@${RM} ${STAGEDIR}${PREFIX}/usr/lib64/libEGL.so.1
	@${RM} ${STAGEDIR}${PREFIX}/usr/lib64/libGL.so.1
	@${RM} ${STAGEDIR}${PREFIX}/usr/lib64/libGLESv1_CM.so.1
	@${RM} ${STAGEDIR}${PREFIX}/usr/lib64/libGLESv2.so.2
	@${RM} ${STAGEDIR}${PREFIX}/usr/lib64/libGLX.so.0
	@${RM} ${STAGEDIR}${PREFIX}/usr/lib64/libGLdispatch.so.0
	@${RM} ${STAGEDIR}${PREFIX}/usr/lib64/libOpenGL.so.0

.include <bsd.port.mk>