Date: Wed, 30 Aug 2017 16:25:09 +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: r448992 - head/games/schiff Message-ID: <201708301625.v7UGP9Du016410@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Aug 30 16:25:09 2017 New Revision: 448992 URL: https://svnweb.freebsd.org/changeset/ports/448992 Log: - Fix shebangs - Add NO_ARCH Modified: head/games/schiff/Makefile Modified: head/games/schiff/Makefile ============================================================================== --- head/games/schiff/Makefile Wed Aug 30 16:23:59 2017 (r448991) +++ head/games/schiff/Makefile Wed Aug 30 16:25:09 2017 (r448992) @@ -3,7 +3,7 @@ PORTNAME= schiff PORTVERSION= 16 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games python MASTER_SITES= SF/pygamebook/${PORTNAME:S/s/S/}/${PORTNAME}${PORTVERSION}.py/ \ SF/nemysisfreebsdp/games/:icons @@ -19,8 +19,11 @@ LICENSE= GPLv2+ RUN_DEPENDS= ${PYGAME} -USES= python:2,run +USES= python:2,run shebangfix +SHEBANG_FILES= schiff.py NO_BUILD= yes +NO_WRKSUBDIR= yes +NO_ARCH= yes SUB_FILES= ${PORTNAME} @@ -31,14 +34,14 @@ PLIST_FILES= bin/${PORTNAME} \ DESKTOP_ENTRIES="Schiff" "" ${PORTNAME} \ "${PORTNAME}" "Game;LogicGame;" "" +do-extract: + @${CP} ${_DISTDIR}/schiff${PORTVERSION}.py ${WRKSRC}/${PORTNAME}.py + do-install: - @${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \ - ${WRKDIR}/${PORTNAME} ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ @${MKDIR} ${STAGEDIR}${DATADIR} - ${INSTALL_SCRIPT} ${_DISTDIR}/schiff${PORTVERSION}.py \ - ${STAGEDIR}${DATADIR}/${PORTNAME}.py - + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py \ + ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708301625.v7UGP9Du016410>