| 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/fhourstones/ |
Upload File : |
PORTNAME= fhourstones
PORTVERSION= 3.1
PORTREVISION= 2
CATEGORIES= benchmarks
MASTER_SITES= http://tromp.github.io/c4/
DISTNAME= Fhourstones
MAINTAINER= ports@FreeBSD.org
COMMENT= Integrated benchmark program
WWW= https://tromp.github.io/c4/fhour.html
NO_WRKSUBDIR= yes
PLIST_FILES= bin/fhourstones \
libexec/fhourstones/SearchGame \
share/fhourstones/inputs
post-patch:
@${REINPLACE_CMD} -e \
's| = -O3| +=|' ${WRKSRC}/Makefile
post-build:
${ECHO_CMD} '#!${SH}' > ${WRKSRC}/fhourstones
${ECHO_CMD} 'libexecdir=${PREFIX}/libexec/fhourstones' \
>> ${WRKSRC}/fhourstones
${ECHO_CMD} 'datadir=${DATADIR}' >> ${WRKSRC}/fhourstones
${ECHO_CMD} 'exec $${libexecdir}/SearchGame < $${datadir}/inputs' \
>> ${WRKSRC}/fhourstones
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/fhourstones ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/fhourstones ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/inputs ${STAGEDIR}${DATADIR}
${INSTALL_PROGRAM} ${WRKSRC}/SearchGame \
${STAGEDIR}${PREFIX}/libexec/fhourstones
.include <bsd.port.mk>