2005-04-13 23:58:52 +02:00
|
|
|
# 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
|
|
|
|
|
2008-04-29 07:11:44 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-04-13 23:58:52 +02:00
|
|
|
COMMENT= A simulation of snowboarding at the Jay Peak resort in Vermont
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/soulride
|
|
|
|
ONLY_FOR_ARCHS= i386
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XLIB= yes
|
2005-04-13 23:58:52 +02:00
|
|
|
USE_LINUX= yes
|
|
|
|
NO_BUILD= yes
|
2005-06-23 01:13:16 +02:00
|
|
|
SUB_FILES= virtual-jay-peak
|
2005-04-13 23:58:52 +02:00
|
|
|
|
|
|
|
do-install:
|
2005-06-23 01:13:16 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/virtual-jay-peak ${PREFIX}/bin
|
2005-04-13 23:58:52 +02:00
|
|
|
${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
|
|
|
|
|
2005-09-04 04:04:45 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_NVIDIA_GL)
|
|
|
|
RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
|
|
|
|
.else
|
|
|
|
RUN_DEPENDS+= ${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|