2013-09-20 19:36:33 +02:00
|
|
|
# Created by: Jean-Yves Lefort <jylefort@FreeBSD.org>
|
2005-04-13 23:58:52 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= virtual-jay-peak
|
|
|
|
PORTVERSION= 1.1a
|
2014-03-26 03:29:02 +01:00
|
|
|
PORTREVISION= 1
|
2005-04-13 23:58:52 +02:00
|
|
|
CATEGORIES= games linux
|
|
|
|
MASTER_SITES= http://www.soulride.com/products/images/
|
|
|
|
PKGNAMEPREFIX= linux-
|
|
|
|
DISTNAME= virtual_jay_peak_linux_1_1a
|
|
|
|
|
2008-04-29 07:11:44 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-06-13 09:36:27 +02:00
|
|
|
COMMENT= Simulation of snowboarding at the Jay Peak resort in Vermont
|
2005-04-13 23:58:52 +02:00
|
|
|
|
2014-03-26 03:29:02 +01:00
|
|
|
OPTIONS_DEFINE= DOCS NVIDIA
|
|
|
|
|
2005-04-13 23:58:52 +02:00
|
|
|
WRKSRC= ${WRKDIR}/soulride
|
2014-03-26 03:29:02 +01:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
2005-04-13 23:58:52 +02:00
|
|
|
USE_LINUX= yes
|
2009-03-19 18:28:51 +01:00
|
|
|
USE_LINUX_APPS= xorglibs
|
2005-04-13 23:58:52 +02:00
|
|
|
NO_BUILD= yes
|
2005-06-23 01:13:16 +02:00
|
|
|
SUB_FILES= virtual-jay-peak
|
2005-04-13 23:58:52 +02:00
|
|
|
|
2014-03-26 03:29:02 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MNVIDIA}
|
|
|
|
RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
|
|
|
|
.else
|
|
|
|
USE_LINUX_APPS+= dri
|
|
|
|
.endif
|
|
|
|
|
2005-04-13 23:58:52 +02:00
|
|
|
do-install:
|
2014-03-26 03:29:02 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/virtual-jay-peak ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/soulride-static ${STAGEDIR}${PREFIX}/libexec
|
2005-04-13 23:58:52 +02:00
|
|
|
|
2014-03-26 03:29:02 +01:00
|
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
2005-04-13 23:58:52 +02:00
|
|
|
.for d in Recordings data
|
2014-03-26 03:29:02 +01:00
|
|
|
${CP} -R ${WRKSRC}/${d} ${STAGEDIR}${DATADIR}
|
2005-04-13 23:58:52 +02:00
|
|
|
.endfor
|
|
|
|
|
2014-03-26 03:29:02 +01:00
|
|
|
-${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DATADIR}/*
|
|
|
|
${FIND} ${STAGEDIR}${DATADIR}/* -type f -exec ${CHMOD} ${SHAREMODE} {} \;
|
|
|
|
${FIND} ${STAGEDIR}${DATADIR}/* -type d -exec ${CHMOD} ${BINMODE} {} \;
|
2005-04-13 23:58:52 +02:00
|
|
|
|
2014-03-26 03:29:02 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2005-04-13 23:58:52 +02:00
|
|
|
.for f in readme-jay_peak.txt readme-linux.txt
|
2014-03-26 03:29:02 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
2005-04-13 23:58:52 +02:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2014-03-26 03:29:02 +01:00
|
|
|
.include <bsd.port.mk>
|