From a331e8a771be760cf0122b90b3816103b0edde99 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Sat, 19 Jul 2014 04:08:00 +0000 Subject: [PATCH] Stagify. --- www/qooxdoo/Makefile | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/www/qooxdoo/Makefile b/www/qooxdoo/Makefile index ea8c0e638019..37a5c657097b 100644 --- a/www/qooxdoo/Makefile +++ b/www/qooxdoo/Makefile @@ -28,9 +28,6 @@ SHAREMODE= 644 OPTIONS_DEFINE= DOCS EXAMPLES -NO_STAGE= yes -.include - post-patch: ${FIND} ${FIND_FILES} | ${XARGS} -0 ${REINPLACE_CMD} ${FIND} ${FIND_FILES_BAK} -delete @@ -40,18 +37,14 @@ do-build: ${PYTHON_CMD} -O -m compileall -f ${WRKSRC}/tool do-install: - ${MKDIR} ${DATADIR} + ${MKDIR} ${STAGEDIR}${DATADIR} .for D in ${QXDDIRS} - cd ${WRKSRC} && ${COPYTREE_SHARE} ${D} ${DATADIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} ${D} ${STAGEDIR}${DATADIR} .endfor -.if ${PORT_OPTIONS:MDOCS} - cd ${WRKSRC}/documentation/manual && ${COPYTREE_SHARE} . ${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - cd ${WRKSRC}/application && ${COPYTREE_SHARE} . ${EXAMPLESDIR} -.endif - ${INSTALL_DATA} ${WRKSRC}/version.txt ${DATADIR} - ${CHMOD} ${BINMODE} ${DATADIR}/tool/bin/*.py - ${INSTALL_SCRIPT} ${WRKSRC}/create-application.py ${DATADIR}/create-application.py + cd ${WRKSRC}/documentation/manual && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/application && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/version.txt ${STAGEDIR}${DATADIR} + ${CHMOD} ${BINMODE} ${STAGEDIR}${DATADIR}/tool/bin/*.py + ${INSTALL_SCRIPT} ${WRKSRC}/create-application.py ${STAGEDIR}${DATADIR}/create-application.py .include