blob: 750fbb0383da0c31b443ea8edd37d53a065647ad (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Created by: Jean-Yves Lefort <jylefort@FreeBSD.org>
# $FreeBSD$
PORTNAME= virtual-jay-peak
PORTVERSION= 1.1a
PORTREVISION= 3
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= Simulation of snowboarding at the Jay Peak resort in Vermont
OPTIONS_DEFINE= DOCS
WRKSRC= ${WRKDIR}/soulride
ONLY_FOR_ARCHS= i386 amd64
USES= linux
USE_LINUX= dri xorglibs
NO_BUILD= yes
SUB_FILES= virtual-jay-peak
.include <bsd.port.options.mk>
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/virtual-jay-peak ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/soulride-static ${STAGEDIR}${PREFIX}/libexec
${MKDIR} ${STAGEDIR}${DATADIR}
.for d in Recordings data
${CP} -R ${WRKSRC}/${d} ${STAGEDIR}${DATADIR}
.endfor
-${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DATADIR}/*
${FIND} ${STAGEDIR}${DATADIR}/* -type f -exec ${CHMOD} ${SHAREMODE} {} \;
${FIND} ${STAGEDIR}${DATADIR}/* -type d -exec ${CHMOD} ${BINMODE} {} \;
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in readme-jay_peak.txt readme-linux.txt
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|