1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/ports-mgmt/fastest_sites/Makefile
Wesley Shields a9c78cc248 Update to 20110317. This rolls up the patch committed previously
and addresses a (now-fixed) problem when bsd.sites.mk was using Ftp://
instead of ftp://. [1]

Submitted by:	[1]: Gerard Seibert (private mail)
2011-03-17 20:47:56 +00:00

34 lines
808 B
Makefile

# Ports collection makefile for: fastest_sites
# Date created: 20 March 2008
# Whom: Wesley Shields <wxs@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= fastest_sites
PORTVERSION= 20110317
CATEGORIES= ports-mgmt
MASTER_SITES= http://www.semicomplete.com/files/fastest_sites/
DISTNAME= ${PORTNAME}-${PORTVERSION}.py
EXTRACT_SUFX= # nada
MAINTAINER= wxs@FreeBSD.org
COMMENT= Sort MASTER_SITE_* based upon TCP handshake times
USE_PYTHON= yes
NO_BUILD= yes
PLIST_FILES= bin/fastest_sites
do-extract:
@${MKDIR} ${WRKSRC}
@${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}
post-patch:
@${REINPLACE_CMD} -e 's#/usr/local/bin/python#${PYTHON_CMD}#' ${WRKSRC}/fastest_sites-${PORTVERSION}.py
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/fastest_sites-${PORTVERSION}.py ${PREFIX}/bin/fastest_sites
.include <bsd.port.mk>