Date: Fri, 21 Apr 2017 14:12:30 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r439073 - head/games/pydance Message-ID: <201704211412.v3LECUeI026518@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Fri Apr 21 14:12:30 2017 New Revision: 439073 URL: https://svnweb.freebsd.org/changeset/ports/439073 Log: - Fix shebangs - Switch to options helpers Modified: head/games/pydance/Makefile Modified: head/games/pydance/Makefile ============================================================================== --- head/games/pydance/Makefile Fri Apr 21 14:11:27 2017 (r439072) +++ head/games/pydance/Makefile Fri Apr 21 14:12:30 2017 (r439073) @@ -3,7 +3,7 @@ PORTNAME= pydance PORTVERSION= 1.1.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= games MASTER_SITES= http://people.freebsd.org/~sylvio/pydance/ \ http://icculus.org/pyddr/ \ @@ -18,7 +18,8 @@ COMMENT= Dancing simulation game similar BUILD_DEPENDS= ${PYGAME} RUN_DEPENDS= ${PYGAME} -USES= python +USES= python shebangfix +SHEBANG_FILES= pydance.py utils/findbpm.py USE_PYTHON= distutils noegginfo SUB_FILES= pkg-message @@ -33,7 +34,8 @@ DOCFILES= BUGS CREDITS ChangeLog HACKING OPTIONS_DEFINE= DOCS post-patch: - ${REINPLACE_CMD} -e "s,/etc,${LOCALBASE}/etc," ${WRKSRC}/constants.py + @${REINPLACE_CMD} -e "s,/etc,${LOCALBASE}/etc," ${WRKSRC}/constants.py + do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/games/pydance/songs ${INSTALL_SCRIPT} ${WRKSRC}/utils/findbpm.py ${STAGEDIR}${PREFIX}/bin/findbpm @@ -53,6 +55,8 @@ do-install: ${STAGEDIR}${PREFIX}/share/games/pydance/songs) (cd ${STAGEDIR}${PREFIX}/share/games/pydance/songs && ${MV} \ pydance-cdtitle.png pydance.png) + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/images (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCFILES} ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} images ${STAGEDIR}${DOCSDIR})
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704211412.v3LECUeI026518>