mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
7e814a58ec
using USE_LINUX_APPS+=dri. This is needed to switch a default linux base at 8-CURRENT to linux_base-f10. No PORTREVISION bump is needed since it's mere infrastructure fix. Affected ports: ----- emulators/linux-pete-mesagpu/Makefile emulators/linux-pete-xgl2gpu/Makefile games/atitd/Makefile games/linux-coldwar-demo/Makefile games/linux-darwinia-demo/Makefile games/linux-defcon/Makefile games/linux-doom3-demo/Makefile games/linux-gorky17-demo/Makefile games/linux-nerogame/Makefile games/linux-nwnclient/Makefile games/linux-savage/Makefile games/linux-savage-samuraiwars/Makefile games/linux-uplink-demo/Makefile games/linux-ut2003-demo/Makefile games/linux-ut2004-demo/Makefile games/linux-virtual-jay-peak/Makefile games/linux-warsow/Makefile graphics/linux-ac3d/Makefile math/mupad/Makefile net/skype12/Makefile ----- Approved by: maintainer timeout (2 months, the needed changes were submitted to emulation@ at 2009-04-09)
56 lines
1.4 KiB
Makefile
56 lines
1.4 KiB
Makefile
# New ports collection makefile for: linux-pete-mesagpu
|
|
# Date created: 23 Dec 2002
|
|
# Whom: Jean-Yves Lefort <jylefort@brutele.be>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pete-mesagpu
|
|
PORTVERSION= 1.76
|
|
PORTREVISION= 1
|
|
CATEGORIES= emulators linux
|
|
MASTER_SITES= http://www.pbernert.com/
|
|
PKGNAMEPREFIX= linux-
|
|
DISTNAME= gpupetemesagl${MAJOR}${MINOR}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A PSEmu Pro GPU plugin using an OpenGL renderer (Linux version)
|
|
|
|
.ifdef WITH_NVIDIA_GL
|
|
RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
|
|
.else
|
|
USE_LINUX_APPS+=dri
|
|
.endif
|
|
|
|
NO_WRKSUBDIR= yes
|
|
NO_BUILD= yes
|
|
USE_LINUX= yes
|
|
USE_LINUX_APPS= gtk xorglibs
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
MAJOR= ${PORTVERSION:R}
|
|
MINOR= ${PORTVERSION:E}
|
|
PLIST_SUB+= MAJOR=${MAJOR} MINOR=${MINOR}
|
|
|
|
PSEMUPRO_PLUGINS_DIR= ${PREFIX}/lib/psemupro/plugins
|
|
PSEMUPRO_CFGBINS_DIR= ${PREFIX}/libexec/psemupro/cfg
|
|
PSEMUPRO_CFGFILES_DIR= ${PREFIX}/share/psemupro/cfg
|
|
|
|
do-install:
|
|
${MKDIR} ${PSEMUPRO_PLUGINS_DIR}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/libgpuPeteMesaGL.so.${MAJOR}.0.${MINOR} ${PSEMUPRO_PLUGINS_DIR}
|
|
|
|
${MKDIR} ${PSEMUPRO_CFGBINS_DIR}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cfgPeteMesaGL ${PSEMUPRO_CFGBINS_DIR}
|
|
|
|
${MKDIR} ${PSEMUPRO_CFGFILES_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/gpuPeteMesaGL.cfg ${PSEMUPRO_CFGFILES_DIR}
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|