| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/benchmarks/linux-unigine-sanctuary/ |
Upload File : |
PORTNAME= unigine-sanctuary
PORTVERSION= 2.3
CATEGORIES= benchmarks linux
MASTER_SITES= https://assets.unigine.com/d/
PKGNAMEPREFIX= linux-
DISTNAME= Unigine_Sanctuary-${PORTVERSION}
EXTRACT_SUFX= .run
MAINTAINER= danfe@FreeBSD.org
COMMENT= Unigine GPU benchmark depicting a Gothic chapel
WWW= https://benchmark.unigine.com/sanctuary
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS_REASON= precompiled, binary-only software for GNU/Linux
USES= linux
USE_LINUX= dri openal-soft xorglibs
NO_BUILD= yes
do-extract:
@${MKDIR} ${WRKSRC}
@${TAIL} -n 107856 ${DISTDIR}/${DISTFILES} | ${TAR} xzf - -C ${WRKSRC}
post-patch:
# Rename the scripts to avoid the clash with other Unigine benchmarks
.for script in 1024x768_windowed 1920x1080_fullscreen
@${SED} -e 's,\./bin,${DATADIR}/bin,' ${WRKSRC}/${script}.sh \
> ${WRKSRC}/${PORTNAME}_${script}.sh
.endfor
do-install:
cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${DATADIR}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/Sanctuary ${STAGEDIR}${DATADIR}/bin
${INSTALL_LIB} ${WRKSRC}/bin/libUnigine_x86.so \
${STAGEDIR}${DATADIR}/bin
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}*sh ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>