summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-28 10:13:30 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-28 10:13:30 +0000
commit028b69e44e2dad055eaced329c67747446554e01 (patch)
treebdf3370a1249c967876f3846787d6480d59020a8
parent- Support staging (diff)
- Support staging
- Use shebangfix
-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>