1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

www/speedtest-mini: fix distfile, clean up, assign maintainer

- Bump PORTREVISION since distribution file silently changed
- Undefine LICENSE, couldn't find the evidence if it is MIT licensed
- Fix spaces/tabs in pkg-descr
- Fix installation

PR:		191429
Submitted by:	Koichiro IWAO <meta+ports@vmeta.jp>
This commit is contained in:
Steve Wills 2014-07-09 20:56:31 +00:00
parent f8ded64059
commit 5b735ef15e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361412
3 changed files with 12 additions and 13 deletions

View File

@ -3,29 +3,28 @@
PORTNAME= speedtest-mini
PORTVERSION= 2.2.0
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://c.speedtest.net/mini/
DISTNAME= mini
MAINTAINER= ports@FreeBSD.org
MAINTAINER= meta+ports@vmeta.jp
COMMENT= Mini bandwidth speed test on your own server
LICENSE= MIT
NO_BUILD= yes
SUB_FILES= pkg-message
USES= zip
do-install:
@${MKDIR} -m 755 ${STAGEDIR}${WWWDIR}/speedtest
${INSTALL_DATA} ${WRKDIR}/index-php.html ${STAGEDIR}${WWWDIR}/index.html
${INSTALL_DATA} ${WRKDIR}/speedtest.swf ${STAGEDIR}${WWWDIR}
${INSTALL_DATA} ${WRKDIR}/speedtest/random* \
${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}/speedtest/swfobject.js \
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/speedtest/swfobject.js \
${STAGEDIR}${WWWDIR}/speedtest
${INSTALL_DATA} ${WRKDIR}/speedtest/upload.php \
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/speedtest/upload.php \
${STAGEDIR}${WWWDIR}/speedtest
${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (mini.zip) = 31d86df8ea25e5dfac4ebc383172c3408a3ca67a61193f62a75fb68d6d47621b
SIZE (mini.zip) = 98993097
SHA256 (mini.zip) = fc76fffb1824a9dd392e9b97c181a754cad4153867bfbf929ab5c540ec2f8e39
SIZE (mini.zip) = 99006568

View File

@ -1,4 +1,4 @@
Speedtest.net Mini is a package that allows to free speed test on
your own server that uses the same technology as Speedtest.net.
your own server that uses the same technology as Speedtest.net.
WWW: http://www.speedtest.net/mini.php
WWW: http://www.speedtest.net/mini.php