1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/ports-mgmt/fastest_sites/Makefile
Wesley Shields 2b10ef9844 Add a patch to workaround a bug noticed by Doug Barton.
The new code will silently ignore MASTER_SITE_GOOGLE_CODE and
MASTER_SITE_DEBIAN_POOL unless specifically asked to sort them, in which
case an error message is printed.

Most of the patch came from Ryan Steinmetz <rpsfa@rit.edu> with small
additions by me.
2008-09-03 02:42:09 +00:00

36 lines
870 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
PORTREVISION= 1
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>