From owner-svn-ports-head@FreeBSD.ORG Tue Dec 2 02:30:24 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EE3768F6; Tue, 2 Dec 2014 02:30:24 +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 C26EDE2B; Tue, 2 Dec 2014 02:30:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sB22UOLg011641; Tue, 2 Dec 2014 02:30:24 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sB22UOpX011639; Tue, 2 Dec 2014 02:30:24 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201412020230.sB22UOpX011639@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Tue, 2 Dec 2014 02:30:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r373735 - head/games/super_mario_bros_python 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-1 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: Tue, 02 Dec 2014 02:30:25 -0000 Author: amdmi3 Date: Tue Dec 2 02:30:23 2014 New Revision: 373735 URL: https://svnweb.freebsd.org/changeset/ports/373735 QAT: https://qat.redports.org/buildarchive/r373735/ Log: - Add LICENSE_FILE - Fix shebangs in all python files - Drop @dirrm* from plist Modified: head/games/super_mario_bros_python/Makefile head/games/super_mario_bros_python/pkg-plist Modified: head/games/super_mario_bros_python/Makefile ============================================================================== --- head/games/super_mario_bros_python/Makefile Tue Dec 2 02:25:47 2014 (r373734) +++ head/games/super_mario_bros_python/Makefile Tue Dec 2 02:30:23 2014 (r373735) @@ -16,15 +16,16 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Clone of the original Super Mario Bros LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/license.txt RUN_DEPENDS= ${PYGAME} WRKSRC= ${WRKDIR}/Super-Mario-Bros-Python-v${DISTVERSION}release USES= shebangfix python:2 zip -SHEBANG_FILES= gamelib/*.py -python_OLD_CMD?= /usr/bin/env python -python_CMD?= ${PYTHON_CMD} +SHEBANG_FILES= gamelib/*.py start.py +python_OLD_CMD= /usr/bin/env python +python_CMD?= ${PYTHON_CMD} PORTDOCS= changelog.txt readme.txt OPTIONS_DEFINE= DOCS @@ -36,7 +37,7 @@ DESKTOP_ENTRIES="Super Mario Bros. Pytho post-patch: @${REINPLACE_CMD} -i '' -e '1d' \ - -e 's|#! /usr/bin/env python|#!${PYTHON_CMD}|' \ + -e 's|#! /usr/bin/env python|#!${python_CMD}|' \ ${WRKSRC}/start.py @${FIND} ${WRKSRC} -name "*.py~" -delete -or -name "*.sav~" -delete @@ -45,7 +46,7 @@ do-build: @${PYTHON_CMD} -O -m compileall ${WRKSRC} do-install: - @${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \ + @${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${python_CMD}|' \ ${WRKDIR}/${PORTNAME} ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ Modified: head/games/super_mario_bros_python/pkg-plist ============================================================================== --- head/games/super_mario_bros_python/pkg-plist Tue Dec 2 02:25:47 2014 (r373734) +++ head/games/super_mario_bros_python/pkg-plist Tue Dec 2 02:30:23 2014 (r373735) @@ -154,8 +154,3 @@ share/pixmaps/super_mario_bros_python.pn %%DATADIR%%/start.py %%DATADIR%%/start.pyc %%DATADIR%%/start.pyo -@dirrm %%DATADIR%%/gamelib -@dirrm %%DATADIR%%/data/saves -@dirrm %%DATADIR%%/data/fonts -@dirrm %%DATADIR%%/data -@dirrm %%DATADIR%%