From owner-svn-ports-head@FreeBSD.ORG Wed Jul 9 15:22:04 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C20C490D; Wed, 9 Jul 2014 15:22:04 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A2F952A37; Wed, 9 Jul 2014 15:22:04 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s69FM4tM056109; Wed, 9 Jul 2014 15:22:04 GMT (envelope-from vanilla@svn.freebsd.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s69FM4CN056107; Wed, 9 Jul 2014 15:22:04 GMT (envelope-from vanilla@svn.freebsd.org) Message-Id: <201407091522.s69FM4CN056107@svn.freebsd.org> From: "Vanilla I. Shu" Date: Wed, 9 Jul 2014 15:22:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r361382 - head/games/pysycache X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2014 15:22:04 -0000 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 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/