Support staging
This commit is contained in:
parent
10836181aa
commit
fe2d4e9fbb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346347
1 changed files with 4 additions and 3 deletions
|
@ -20,15 +20,16 @@ NO_BUILD= yes
|
|||
|
||||
PLIST_FILES= bin/pythontidy
|
||||
|
||||
NO_STAGE= yes
|
||||
do-extract:
|
||||
@${MKDIR} ${WRKDIR}
|
||||
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} ${WRKDIR}
|
||||
|
||||
do-patch:
|
||||
${REINPLACE_CMD} -e 's,#!/usr/bin/python,#!/usr/bin/env python,' ${WRKDIR}/${DISTFILES}
|
||||
${REINPLACE_CMD} -e 's,#!/usr/bin/python,#!/usr/bin/env python,' \
|
||||
${WRKDIR}/${DISTFILES}
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/${DISTFILES} ${PREFIX}/bin/pythontidy
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/${DISTFILES} \
|
||||
${STAGEDIR}${PREFIX}/bin/pythontidy
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue