1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/games/linux-virtual-jay-peak/Makefile
Boris Samorodov 7e814a58ec Convert ports which use RUN_DEPENDS+=.../graphics/linux_dri to
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)
2009-06-07 15:23:55 +00:00

54 lines
1.3 KiB
Makefile

# New ports collection makefile for: linux-virtual-jay-peak
# Date created: 03 Apr 2005
# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= virtual-jay-peak
PORTVERSION= 1.1a
CATEGORIES= games linux
MASTER_SITES= http://www.soulride.com/products/images/
PKGNAMEPREFIX= linux-
DISTNAME= virtual_jay_peak_linux_1_1a
MAINTAINER= ports@FreeBSD.org
COMMENT= A simulation of snowboarding at the Jay Peak resort in Vermont
WRKSRC= ${WRKDIR}/soulride
ONLY_FOR_ARCHS= i386
USE_LINUX= yes
USE_LINUX_APPS= xorglibs
NO_BUILD= yes
SUB_FILES= virtual-jay-peak
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/virtual-jay-peak ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/soulride-static ${PREFIX}/libexec
${MKDIR} ${DATADIR}
.for d in Recordings data
${CP} -R ${WRKSRC}/${d} ${DATADIR}
.endfor
-${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}/*
${FIND} ${DATADIR}/* -type f -exec ${CHMOD} ${SHAREMODE} {} \;
${FIND} ${DATADIR}/* -type d -exec ${CHMOD} ${BINMODE} {} \;
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in readme-jay_peak.txt readme-linux.txt
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.pre.mk>
.if defined(WITH_NVIDIA_GL)
RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
.else
USE_LINUX_APPS+=dri
.endif
.include <bsd.port.post.mk>