svn commit: r346347 - head/devel/pythontidy

Emanuel Haupt ehaupt at FreeBSD.org
Thu Feb 27 14:30:23 UTC 2014


Author: ehaupt
Date: Thu Feb 27 14:30:23 2014
New Revision: 346347
URL: http://svnweb.freebsd.org/changeset/ports/346347
QAT: https://qat.redports.org/buildarchive/r346347/

Log:
  Support staging

Modified:
  head/devel/pythontidy/Makefile

Modified: head/devel/pythontidy/Makefile
==============================================================================
--- head/devel/pythontidy/Makefile	Thu Feb 27 14:28:28 2014	(r346346)
+++ head/devel/pythontidy/Makefile	Thu Feb 27 14:30:23 2014	(r346347)
@@ -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>


More information about the svn-ports-all mailing list