88bfe4bd43
When appropriate: - Try to use DISTVERSION{SUF,PRE}FIX - Replace PORTNAME-PORTVERSION by DISTNAME - Convert MASTER_SITES to use macros - Other light cleanup With hat: portmgr Sponsored by: Absolight
26 lines
589 B
Makefile
26 lines
589 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= fastest_sites
|
|
PORTVERSION= 20110317
|
|
CATEGORIES= ports-mgmt
|
|
MASTER_SITES= http://www.semicomplete.com/files/fastest_sites/
|
|
EXTRACT_SUFX= .py
|
|
|
|
MAINTAINER= wxs@FreeBSD.org
|
|
COMMENT= Sort MASTER_SITE_* based upon TCP handshake times
|
|
|
|
USES= python shebangfix
|
|
NO_BUILD= yes
|
|
|
|
PLIST_FILES= bin/fastest_sites
|
|
SHEBANG_FILES= fastest_sites-${PORTVERSION}.py
|
|
|
|
do-extract:
|
|
@${MKDIR} ${WRKSRC}
|
|
@${CP} ${DISTDIR}/${DISTNAME}.py ${WRKSRC}
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/fastest_sites-${PORTVERSION}.py \
|
|
${STAGEDIR}${PREFIX}/bin/fastest_sites
|
|
|
|
.include <bsd.port.mk>
|