svn commit: r351113 - head/games/pythonchess

Pawel Pekala pawel at FreeBSD.org
Sat Apr 12 17:15:31 UTC 2014


Author: pawel
Date: Sat Apr 12 17:15:30 2014
New Revision: 351113
URL: http://svnweb.freebsd.org/changeset/ports/351113
QAT: https://qat.redports.org/buildarchive/r351113/

Log:
  Add staging support

Modified:
  head/games/pythonchess/Makefile

Modified: head/games/pythonchess/Makefile
==============================================================================
--- head/games/pythonchess/Makefile	Sat Apr 12 17:14:26 2014	(r351112)
+++ head/games/pythonchess/Makefile	Sat Apr 12 17:15:30 2014	(r351113)
@@ -16,17 +16,14 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tkin
 
 USE_PYTHON=	yes
 
-NO_STAGE=	yes
 do-build:
 	@(${ECHO_CMD} "#!${SH}"; \
 	  ${ECHO_CMD} "cd ${DATADIR} && ${PYTHON_CMD} board.py") \
 	  > ${WRKDIR}/${PORTNAME}
 
 do-install:
-	@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
-	@${MKDIR} ${DATADIR}
-.for f in *.gif *.py *.txt
-	@${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
-.endfor
+	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} *.gif *.py *.txt ${STAGEDIR}${DATADIR})
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list