mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- Bump PORTREVISION.
- Add USE_GL=linux, and integrate with actual framework.
This commit is contained in:
parent
10e6334639
commit
06c92b0f18
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=212765
@ -10,7 +10,7 @@
|
||||
|
||||
PORTNAME= quake3
|
||||
DISTVERSION= 1.11-6
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ${MASTER_SITE_GENTOO}
|
||||
MASTER_SITE_SUBDIR= distfiles
|
||||
@ -23,6 +23,7 @@ MAINTAINER= alepulver@FreeBSD.org
|
||||
COMMENT= Quake III Arena Demo
|
||||
|
||||
USE_LINUX= yes
|
||||
USE_GL= linux
|
||||
NO_BUILD= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
@ -40,23 +41,11 @@ do-install:
|
||||
@${MKDIR} ${DATADIR}
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/bin/x86/glibc-2.0/q3demo ${DATADIR}
|
||||
@${CP} -R ${WRKSRC}/demoq3 ${DATADIR}
|
||||
@${LN} -s ${GL_LIB} ${DATADIR}/libGL.so
|
||||
@${LN} -s ${LINUXBASE}/usr/X11R6/lib/libGL.so.1 ${DATADIR}/libGL.so
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
@${CP} -R ${WRKSRC}/Help/* ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.ifdef(WITH_NVIDIA_GL)
|
||||
GL_LIB= ${LINUXBASE}/usr/lib/libGL.so.1
|
||||
GL_PORT= x11/nvidia-driver
|
||||
.else
|
||||
GL_LIB= ${LINUXBASE}/usr/X11R6/lib/libGL.so.1
|
||||
GL_PORT= graphics/linux_dri
|
||||
.endif
|
||||
|
||||
RUN_DEPENDS+= ${GL_LIB}:${PORTSDIR}/${GL_PORT}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user