Date: Wed, 9 Jul 2014 15:22:04 +0000 (UTC) From: "Vanilla I. Shu" <vanilla@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r361382 - head/games/pysycache Message-ID: <201407091522.s69FM4CN056107@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: vanilla Date: Wed Jul 9 15:22:03 2014 New Revision: 361382 URL: http://svnweb.freebsd.org/changeset/ports/361382 QAT: https://qat.redports.org/buildarchive/r361382/ Log: 1: Stagify. 2: fix WWW line. 3: use options helper to handle PORTDOCS. Modified: head/games/pysycache/Makefile head/games/pysycache/pkg-descr Modified: head/games/pysycache/Makefile ============================================================================== --- head/games/pysycache/Makefile Wed Jul 9 15:20:20 2014 (r361381) +++ head/games/pysycache/Makefile Wed Jul 9 15:22:03 2014 (r361382) @@ -16,11 +16,10 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame USES= zip USE_PYTHON= yes NO_BUILD= yes - -WRKSRC= ${WRKDIR}/${PORTNAME} +WRKSRC= ${WRKDIR}/${PORTNAME} SUB_FILES= pkg-message +OPTIONS_DEFINE= DOCS -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/datas.py ${WRKSRC}/datas.py \ ${WRKSRC}/datasclass.py ${WRKSRC}/pysybuttons.py ${WRKSRC}/pysyclick.py ${WRKSRC}/pysymove.py \ @@ -30,29 +29,23 @@ post-patch: @${FIND} ${WRKSRC} -name '*.bak' -delete do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/pysycache.py ${PREFIX}/bin/pysycache.py + @${INSTALL_SCRIPT} ${WRKSRC}/pysycache.py ${STAGEDIR}${PREFIX}/bin/pysycache.py @${RM} ${WRKSRC}/pysycache.py .for DIRE in fonts help images sounds themes-buttons themes-click themes-move - @${MKDIR} ${DATADIR}/${DIRE} + @${MKDIR} ${STAGEDIR}${DATADIR}/${DIRE} @cd ${WRKSRC}/${DIRE} && \ - ${FIND} * -type d -exec ${MKDIR} "${DATADIR}/${DIRE}/{}" \; && \ - ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DATADIR}/${DIRE}/{}" \; + ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/${DIRE}/{}" \; && \ + ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/${DIRE}/{}" \; .endfor .for FILE in *.py *.pyc *.txt *.png - @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DATADIR} + @${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DATADIR} .endfor - -post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for FILE in AUTHORS ChangeLog NEWS README - @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} .endfor @cd ${WRKSRC}/doc/pysycache && \ - ${FIND} * -type d -exec ${MKDIR} "${DOCSDIR}/{}" \; && \ - ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \; -.endif - - @${CAT} ${PKGMESSAGE} + ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DOCSDIR}/{}" \; && \ + ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DOCSDIR}/{}" \; .include <bsd.port.mk> Modified: head/games/pysycache/pkg-descr ============================================================================== --- head/games/pysycache/pkg-descr Wed Jul 9 15:20:20 2014 (r361381) +++ head/games/pysycache/pkg-descr Wed Jul 9 15:22:03 2014 (r361382) @@ -1,4 +1,4 @@ Pysycache to teach children to move the mouse. For this, it offers three activities based on simply objects and a lot of photographies. -WWW: http://www.pysycache.org/ +WWW: http://www.pysycache.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407091522.s69FM4CN056107>