mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
- Support staging
- Use shebangfix
This commit is contained in:
parent
ea7b2fb0d7
commit
028b69e44e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346481
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user