Support staging

This commit is contained in:
Emanuel Haupt 2014-02-27 14:30:23 +00:00
parent 10836181aa
commit fe2d4e9fbb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346347

View file

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