Index: head/games/linux-virtual-jay-peak/Makefile =================================================================== --- head/games/linux-virtual-jay-peak/Makefile (revision 137895) +++ head/games/linux-virtual-jay-peak/Makefile (revision 137896) @@ -1,55 +1,47 @@ # New ports collection makefile for: linux-virtual-jay-peak # Date created: 03 Apr 2005 # Whom: Jean-Yves Lefort # # $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= jylefort@FreeBSD.org COMMENT= A simulation of snowboarding at the Jay Peak resort in Vermont -RUN_DEPENDS= ${LINUXBASE}/usr/X11R6/lib/libX11.so.6:${PORTSDIR}/x11/linux-XFree86-libs \ - ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/graphics/linux_mesa3 +RUN_DEPENDS= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/graphics/linux_mesa3 WRKSRC= ${WRKDIR}/soulride ONLY_FOR_ARCHS= i386 -PREFIX?= ${X11BASE} # USE_X_PREFIX would pull in USE_XLIB +USE_X_PREFIX= yes USE_LINUX= yes NO_BUILD= yes -STRIP= # do not brand Linux binaries as FreeBSD on INSTALL_PROGRAM +SUB_FILES= virtual-jay-peak -post-patch: - @${SED} -e 's|@DATADIR@|${DATADIR}|; s|@LIBEXECDIR@|${PREFIX}/libexec|' \ - ${FILESDIR}/virtual-jay-peak.in > ${WRKSRC}/virtual-jay-peak - do-install: - ${MKDIR} ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/virtual-jay-peak ${PREFIX}/bin - - ${MKDIR} ${PREFIX}/libexec + ${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 Property changes on: head/games/linux-virtual-jay-peak/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/games/linux-virtual-jay-peak/files/virtual-jay-peak.in =================================================================== --- head/games/linux-virtual-jay-peak/files/virtual-jay-peak.in (revision 137895) +++ head/games/linux-virtual-jay-peak/files/virtual-jay-peak.in (revision 137896) @@ -1,19 +1,19 @@ #!/bin/sh # you may override these options in ~/.virtual-jay-peak/config Fullscreen="1" # enable fullscreen OGLModeIndex="9" # use 1280x1024x32 video mode [ -f ~/.virtual-jay-peak/config ] && . ~/.virtual-jay-peak/config # The executable needs to be run from its data directory, and needs to # store configuration in it. We therefore mirror the data directory # hierarchy in ~/.virtual-jay-peak, and create symlinks to the data # files. -cd @DATADIR@ || exit 1 +cd %%DATADIR%% || exit 1 find * -type d -exec mkdir -p ~/.virtual-jay-peak/{} \; || exit 1 -find * -type f -exec ln -sf @DATADIR@/{} ~/.virtual-jay-peak/{} \; || exit 1 +find * -type f -exec ln -sf %%DATADIR%%/{} ~/.virtual-jay-peak/{} \; || exit 1 cd ~/.virtual-jay-peak || exit 1 -exec @LIBEXECDIR@/soulride-static DefaultMountain=Jay_Peak Fullscreen=$Fullscreen OGLModeIndex=$OGLModeIndex "$@" +exec %%PREFIX%%/libexec/soulride-static DefaultMountain=Jay_Peak Fullscreen=$Fullscreen OGLModeIndex=$OGLModeIndex "$@" Property changes on: head/games/linux-virtual-jay-peak/files/virtual-jay-peak.in ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property