mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
5aa75e1ca0
Sponsored by: Serenity Cybersecurity, LLC Co-authored-by: Dima Panov <fluffy@FreeBSD.org>
45 lines
1.5 KiB
Makefile
45 lines
1.5 KiB
Makefile
PORTNAME= libglvnd
|
|
PORTVERSION= 1.3.4
|
|
DISTVERSIONSUFFIX= -1.el9
|
|
CATEGORIES= graphics linux
|
|
|
|
MAINTAINER= emulation@FreeBSD.org
|
|
COMMENT= GL Vendor-Neutral Dispatch library (Rocky Linux ${LINUX_DIST_VER})
|
|
WWW= https://github.com/NVIDIA/libglvnd
|
|
|
|
USES= linux:rl9
|
|
USE_LDCONFIG= yes
|
|
USE_LINUX= xorglibs
|
|
USE_LINUX_RPM= yes
|
|
|
|
CONFLICTS_INSTALL= linux-nvidia-libs linux-nvidia-libs-*
|
|
|
|
LIB_DISTNAMES= libglvnd-${DISTVERSIONFULL} \
|
|
libglvnd-egl-${DISTVERSIONFULL} \
|
|
libglvnd-gles-${DISTVERSIONFULL} \
|
|
libglvnd-glx-${DISTVERSIONFULL} \
|
|
libglvnd-opengl-${DISTVERSIONFULL}
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
@${RM} -r ${STAGEDIR}${PREFIX}/etc
|
|
@${RM} -r ${STAGEDIR}${PREFIX}/usr/share/egl
|
|
@${RM} -r ${STAGEDIR}${PREFIX}/usr/share/glvnd
|
|
@${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>
|