freebsd-ports/ports-mgmt/fastest_sites/Makefile
Wesley Shields eded3f57a0 Sort every mirror list in bsd.sites.mk.
Output is suitable for inclusion into make.conf.

Approved by:	garga (mentor)
2008-03-25 00:46:36 +00:00

34 lines
854 B
Makefile

# Ports collection makefile for: fastest_sites
# Date created: 20 March 2008
# Whom: Wesley Shields <wxs@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= fastest_sites
PORTVERSION= 20080320
CATEGORIES= ports-mgmt
MASTER_SITES= http://www.semicomplete.com/files/fastest_sites/ \
http://www.atarininja.org/~wxs/distfiles/
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>