Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2014 10:13:30 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346481 - head/ports-mgmt/fastest_sites
Message-ID:  <201402281013.s1SADUE6019100@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402281013.s1SADUE6019100>