Changeset View
Changeset View
Standalone View
Standalone View
games/linux-enemyterritory/Makefile
Show All 17 Lines | |||||
USE_LINUX= yes | USE_LINUX= yes | ||||
USE_LINUX_APPS= xorglibs | USE_LINUX_APPS= xorglibs | ||||
USES= zip:infozip | USES= zip:infozip | ||||
NO_CDROM= Redistribution limited | NO_CDROM= Redistribution limited | ||||
ETDIR= ${PREFIX}/lib/${PORTNAME} | ETDIR= ${PREFIX}/lib/${PORTNAME} | ||||
PATCH_260B_DIR= Enemy Territory 2.60b | PATCH_260B_DIR= Enemy Territory 2.60b | ||||
OPTIONS_DEFINE= DOCS NVIDIA_GL | OPTIONS_DEFINE= DOCS NVIDIA_GL | ||||
NVIDIA_GL_DESC= Use GL driver from nvidia-driver | |||||
NVIDIA_GL_RUN_DEPENDS= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver | |||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${PORT_OPTIONS:MNVIDIA_GL} | .if ! ${PORT_OPTIONS:MNVIDIA_GL} | ||||
koobs: What about NVIDIA_GL_USE_OFF= LINUX_APPS=dri ? (see Mk/bsd.options.mk) | |||||
Not Done Inline ActionsUSE_LINUX_APPS, pulling in Mk/bsd.linux-apps.mk, isn't equal to USES= dri pulling in Mk/Uses/dri.mk xmj: USE_LINUX_APPS, pulling in Mk/bsd.linux-apps.mk, isn't equal to USES= dri pulling in… | |||||
RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver | |||||
.else | |||||
USE_LINUX_APPS+= dri | USE_LINUX_APPS+= dri | ||||
.endif | .endif | ||||
matUnsubmitted Not Done Inline ActionsNVIDIA_GL_USE_OFF= linux_apps=dri mat: NVIDIA_GL_USE_OFF= linux_apps=dri | |||||
do-extract: | do-extract: | ||||
@${MKDIR} ${WRKSRC} | @${MKDIR} ${WRKSRC} | ||||
@cd ${WRKSRC} && \ | @cd ${WRKSRC} && \ | ||||
${TAIL} +374 ${_DISTDIR}et-linux-2.60.x86.run | ${TAR} xfz - | ${TAIL} +374 ${_DISTDIR}et-linux-2.60.x86.run | ${TAR} xfz - | ||||
@cd ${WRKSRC} && \ | @cd ${WRKSRC} && \ | ||||
${UNZIP_CMD} -q ${_DISTDIR}ET-2.60b.zip | ${UNZIP_CMD} -q ${_DISTDIR}ET-2.60b.zip | ||||
Show All 12 Lines | |||||
do-install: | do-install: | ||||
${MKDIR} ${STAGEDIR}${ETDIR} | ${MKDIR} ${STAGEDIR}${ETDIR} | ||||
.for DIR in etmain etmain/video pb | .for DIR in etmain etmain/video pb | ||||
${MKDIR} ${STAGEDIR}${ETDIR}/${DIR} | ${MKDIR} ${STAGEDIR}${ETDIR}/${DIR} | ||||
.endfor | .endfor | ||||
.if ${PORT_OPTIONS:MDOCS} | .if ${PORT_OPTIONS:MDOCS} | ||||
Not Done Inline ActionsThis needs to be above do-install: cperciva: This needs to be above do-install: | |||||
${MKDIR} ${STAGEDIR}${DOCSDIR} | ${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
${RMDIR} ${WRKSRC}/Docs/Help/_private | ${RMDIR} ${WRKSRC}/Docs/Help/_private | ||||
(cd ${WRKSRC}/Docs && \ | (cd ${WRKSRC}/Docs && \ | ||||
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) | ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) | ||||
.for FILE in CHANGES pb/PB_EULA.txt | .for FILE in CHANGES pb/PB_EULA.txt | ||||
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} | ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} | ||||
.endfor | .endfor | ||||
.endif | .endif | ||||
Show All 33 Lines |
What about NVIDIA_GL_USE_OFF= LINUX_APPS=dri ? (see Mk/bsd.options.mk)