Date: Thu, 5 Sep 2019 10:27:42 +0000 (UTC) From: Tijl Coosemans <tijl@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r511169 - head/games/linux-unigine-valley Message-ID: <201909051027.x85ARgeM059354@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tijl Date: Thu Sep 5 10:27:42 2019 New Revision: 511169 URL: https://svnweb.freebsd.org/changeset/ports/511169 Log: - Make fetchable again. - Fix portlint warnings. - Add a .desktop file. - Change startup script so it runs the 64-bit version on amd64. PR: 239783 Submitted by: Hannes Hauswedell <h2+fbsdports@fsfe.org> (maintainer) Modified: head/games/linux-unigine-valley/Makefile head/games/linux-unigine-valley/pkg-plist Modified: head/games/linux-unigine-valley/Makefile ============================================================================== --- head/games/linux-unigine-valley/Makefile Thu Sep 5 10:23:56 2019 (r511168) +++ head/games/linux-unigine-valley/Makefile Thu Sep 5 10:27:42 2019 (r511169) @@ -3,13 +3,9 @@ PORTNAME= unigine-valley PORTVERSION= 1.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games benchmarks linux -MASTER_SITES= http://de1-dl.techpowerup.com/Benchmarking/ \ - http://nl1-dl.techpowerup.com/Benchmarking/ \ - http://uk1-dl.techpowerup.com/Benchmarking/ \ - http://us1-dl.techpowerup.com/Benchmarking/ \ - http://us2-dl.techpowerup.com/Benchmarking/ +MASTER_SITES= https://assets.unigine.com/d/ PKGNAMEPREFIX= linux- DISTNAME= Unigine_Valley-${PORTVERSION} EXTRACT_SUFX= .run @@ -22,23 +18,29 @@ LICENSE_NAME= Unigine "Basic" License LICENSE_FILE= ${.CURDIR}/pkg-license LICENSE_PERMS= no-dist-sell no-pkg-sell no-dist-mirror no-pkg-mirror -ONLY_FOR_ARCHS= i386 amd64 -USES= linux -USE_LINUX= dri openal-soft xorglibs +ONLY_FOR_ARCHS= amd64 i386 +USES= linux shebangfix +USE_LINUX= dri xorglibs USE_LDCONFIG= yes NO_BUILD= yes +SHEBANG_FILES= valley +bash_CMD= ${LINUXBASE}/bin/bash + +DESKTOP_ENTRIES="Unigine Valley" "${COMMENT}" "${DATADIR}/data/launcher/icon.png" \ + "${PKGNAMEPREFIX}${PORTNAME}" "Game;" ${FALSE} + do-extract: @${MKDIR} ${WRKSRC} cd ${WRKSRC} && ${TAIL} -n 1491255 ${_DISTDIR}/${DISTFILES} | ${TAR} zxf - - ${PRINTF} "#\!/bin/sh\ncd ${DATADIR}/bin/\n" > ${WRKDIR}/${PORTNAME} - ${ECHO} 'export LD_LIBRARY_PATH=./x86:$$LD_LIBRARY_PATH' >> ${WRKDIR}/${PORTNAME} - ${ECHO} './browser_x86 -config ../data/launcher/launcher.xml' >> ${WRKDIR}/${PORTNAME} + ${PRINTF} '#!/bin/sh\ncd ${DATADIR}\nexec\ + ${LINUXBASE}/bin/bash ./valley\n' > ${WRKDIR}/${PORTNAME} do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}${PORTNAME} cd ${WRKSRC} && ${COPYTREE_SHARE} ./data ${STAGEDIR}${DATADIR} cd ${WRKSRC} && ${COPYTREE_SHARE} ./bin ${STAGEDIR}${DATADIR} cd ${WRKSRC} && ${COPYTREE_SHARE} ./documentation ${STAGEDIR}${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/valley ${STAGEDIR}${DATADIR}/valley .include <bsd.port.mk> Modified: head/games/linux-unigine-valley/pkg-plist ============================================================================== --- head/games/linux-unigine-valley/pkg-plist Thu Sep 5 10:23:56 2019 (r511168) +++ head/games/linux-unigine-valley/pkg-plist Thu Sep 5 10:27:42 2019 (r511169) @@ -4,6 +4,7 @@ bin/linux-unigine-valley %%DATADIR%%/bin/browser_x86 %%DATADIR%%/bin/valley_x64 %%DATADIR%%/bin/valley_x86 +%%DATADIR%%/valley @mode %%DATADIR%%/bin/libAppStereo_x64.so %%DATADIR%%/bin/libAppStereo_x86.so
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909051027.x85ARgeM059354>