svn commit: r346481 - head/ports-mgmt/fastest_sites
Emanuel Haupt
ehaupt at FreeBSD.org
Fri Feb 28 10:13:31 UTC 2014
Author: ehaupt
Date: Fri Feb 28 10:13:30 2014
New Revision: 346481
URL: http://svnweb.freebsd.org/changeset/ports/346481
QAT: https://qat.redports.org/buildarchive/r346481/
Log:
- Support staging
- Use shebangfix
Modified:
head/ports-mgmt/fastest_sites/Makefile
Modified: head/ports-mgmt/fastest_sites/Makefile
==============================================================================
--- head/ports-mgmt/fastest_sites/Makefile Fri Feb 28 10:11:47 2014 (r346480)
+++ head/ports-mgmt/fastest_sites/Makefile Fri Feb 28 10:13:30 2014 (r346481)
@@ -10,20 +10,19 @@ EXTRACT_SUFX= # nada
MAINTAINER= wxs at 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>
More information about the svn-ports-all
mailing list