1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Support staging

- Use shebangfix
This commit is contained in:
Emanuel Haupt 2014-02-28 10:13:30 +00:00
parent ea7b2fb0d7
commit 028b69e44e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346481

View File

@ -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>