1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/www/speedtest-mini/Makefile
Michael Scheidell 536a423ea6 - Update to 2.2.0 [1]
- Simplified Makefile: install. Change $CP to $INSTALL_DATA [2]

PR:		ports/166838 [1]
Reported-by:	Rodrigo OSORIO <rodrigo@bebik.net> [1]
Submitted-by:	Leif Neland <leif@neland.dk> [1]
Reviewed by:	scheidell@ (me) [2]
Approved by:	tut@nhamon.com.ua (maintainer, timeout 30 days)
2012-05-12 05:56:23 +00:00

36 lines
883 B
Makefile

# New ports collection makefile for: speedtest-mini
# Date created: 2010-09-19
# Whom: Anton Grytsuk <gx@bsdplanet.ru>
#
# $FreeBSD$
#
PORTNAME= speedtest-mini
PORTVERSION= 2.2.0
CATEGORIES= www
MASTER_SITES= http://c.speedtest.net/mini/
DISTNAME= mini
MAINTAINER= tut@nhamon.com.ua
COMMENT= Mini bandwidth speed test on your own server
LICENSE= MIT
NO_BUILD= yes
SUB_FILES= pkg-message
USE_ZIP= yes
do-install:
@${MKDIR} -m 755 ${WWWDIR}/speedtest
@${INSTALL_DATA} ${WRKDIR}/index-php.html ${WWWDIR}/index.html
@${INSTALL_DATA} ${WRKDIR}/speedtest.swf ${WWWDIR}
@${INSTALL_DATA} ${WRKDIR}/speedtest/random* ${WWWDIR}/speedtest
@${INSTALL_DATA} ${WRKDIR}/speedtest/swfobject.js ${WWWDIR}/speedtest
@${INSTALL_DATA} ${WRKDIR}/speedtest/upload.php ${WWWDIR}/speedtest
@${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>