From owner-svn-ports-head@freebsd.org Fri Apr 21 14:12:31 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 985F3D48189; Fri, 21 Apr 2017 14:12:31 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 6A462199C; Fri, 21 Apr 2017 14:12:31 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v3LECU95026519; Fri, 21 Apr 2017 14:12:30 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3LECUeI026518; Fri, 21 Apr 2017 14:12:30 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201704211412.v3LECUeI026518@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 21 Apr 2017 14:12:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r439073 - head/games/pydance 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.23 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: Fri, 21 Apr 2017 14:12:31 -0000 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})