Date: Mon, 24 Mar 2014 00:32:20 +0200 (EET) From: Johannes Jost Meixner <xmj@chaot.net> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/187870: [PATCH] games/linux-virtual-jay-peak: Stage Message-ID: <16352276613610160494.enqueue@mx12.chaot.net> Resent-Message-ID: <201403232240.s2NMe1I5054626@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 187870 >Category: ports >Synopsis: [PATCH] games/linux-virtual-jay-peak: Stage >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Mar 23 22:40:01 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Johannes Jost Meixner >Release: FreeBSD 11.0-CURRENT amd64 >Organization: Goldener Grund OUe >Environment: System: FreeBSD mx12.chaot.net 11.0-CURRENT FreeBSD 11.0-CURRENT #6: Wed Mar 19 11:02:48 EET 2014 >Description: - Stagify Generated with FreeBSD Port Tools 1.00.2014.03.22 (mode: change, diff: SVN) >How-To-Repeat: >Fix: --- linux-virtual-jay-peak-1.1a.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 348896) +++ Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= virtual-jay-peak PORTVERSION= 1.1a +PORTREVISION= 1 CATEGORIES= games linux MASTER_SITES= http://www.soulride.com/products/images/ PKGNAMEPREFIX= linux- @@ -11,40 +12,40 @@ MAINTAINER= ports@FreeBSD.org COMMENT= A simulation of snowboarding at the Jay Peak resort in Vermont +OPTIONS_DEFINE= DOCS NVIDIA + WRKSRC= ${WRKDIR}/soulride -ONLY_FOR_ARCHS= i386 +ONLY_FOR_ARCHS= i386 amd64 USE_LINUX= yes USE_LINUX_APPS= xorglibs NO_BUILD= yes SUB_FILES= virtual-jay-peak -NO_STAGE= yes +.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 + do-install: - ${INSTALL_SCRIPT} ${WRKDIR}/virtual-jay-peak ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/soulride-static ${PREFIX}/libexec + ${INSTALL_SCRIPT} ${WRKDIR}/virtual-jay-peak ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/soulride-static ${STAGEDIR}${PREFIX}/libexec - ${MKDIR} ${DATADIR} + ${MKDIR} ${STAGEDIR}${DATADIR} .for d in Recordings data - ${CP} -R ${WRKSRC}/${d} ${DATADIR} + ${CP} -R ${WRKSRC}/${d} ${STAGEDIR}${DATADIR} .endfor - -${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}/* - ${FIND} ${DATADIR}/* -type f -exec ${CHMOD} ${SHAREMODE} {} \; - ${FIND} ${DATADIR}/* -type d -exec ${CHMOD} ${BINMODE} {} \; + -${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DATADIR}/* + ${FIND} ${STAGEDIR}${DATADIR}/* -type f -exec ${CHMOD} ${SHAREMODE} {} \; + ${FIND} ${STAGEDIR}${DATADIR}/* -type d -exec ${CHMOD} ${BINMODE} {} \; -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in readme-jay_peak.txt readme-linux.txt - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${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> +.include <bsd.port.mk> --- linux-virtual-jay-peak-1.1a.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16352276613610160494.enqueue>