# Created by: Anton Grytsuk # $FreeBSD$ PORTNAME= speedtest-mini PORTVERSION= 2.1.8.20141003 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= http://c.speedtest.net/mini/ DISTNAME= mini MAINTAINER= meta+ports@vmeta.jp COMMENT= Mini bandwidth speed test on your own server NO_BUILD= yes PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" SUB_FILES= pkg-message USES= zip do-install: @${MKDIR} -m 755 ${STAGEDIR}${WWWDIR}/speedtest ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/index-php.html ${STAGEDIR}${WWWDIR}/index.html ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/speedtest.swf ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/speedtest/random* \ ${STAGEDIR}${WWWDIR}/speedtest ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/speedtest/swfobject.js \ ${STAGEDIR}${WWWDIR}/speedtest ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/speedtest/upload.php \ ${STAGEDIR}${WWWDIR}/speedtest ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/speedtest/latency.txt \ ${STAGEDIR}${WWWDIR}/speedtest .include