aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/fastest_sites
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-28 18:13:30 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-28 18:13:30 +0800
commit4272a7cd761d225565c25d5e774c1340f5fb2c86 (patch)
treebdf3370a1249c967876f3846787d6480d59020a8 /ports-mgmt/fastest_sites
parent2a8809abefbcdf3e290c34cc21f84f66106f2b66 (diff)
downloadfreebsd-ports-gnome-4272a7cd761d225565c25d5e774c1340f5fb2c86.tar.gz
freebsd-ports-gnome-4272a7cd761d225565c25d5e774c1340f5fb2c86.tar.zst
freebsd-ports-gnome-4272a7cd761d225565c25d5e774c1340f5fb2c86.zip
- Support staging
- Use shebangfix
Diffstat (limited to 'ports-mgmt/fastest_sites')
-rw-r--r--ports-mgmt/fastest_sites/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/ports-mgmt/fastest_sites/Makefile b/ports-mgmt/fastest_sites/Makefile
index a50bdfe760b6..0146b828bc1c 100644
--- a/ports-mgmt/fastest_sites/Makefile
+++ b/ports-mgmt/fastest_sites/Makefile
@@ -10,20 +10,19 @@ EXTRACT_SUFX= # nada
MAINTAINER= wxs@FreeBSD.org
COMMENT= Sort MASTER_SITE_* based upon TCP handshake times
+USES= shebangfix
USE_PYTHON= yes
NO_BUILD= yes
PLIST_FILES= bin/fastest_sites
+SHEBANG_FILES= fastest_sites-${PORTVERSION}.py
-NO_STAGE= yes
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
+ ${INSTALL_SCRIPT} ${WRKSRC}/fastest_sites-${PORTVERSION}.py \
+ ${STAGEDIR}${PREFIX}/bin/fastest_sites
.include <bsd.port.mk>