Date: Sat, 18 Aug 2012 14:39:16 +0200 From: nemysis <nemysis@gmx.ch> To: FreeBSD-gnats-submit@FreeBSD.org Cc: jgh@FreeBSD.org Subject: ports/170738: [MAINTAINER] games/mopesnake: Makefile changed, OptionsNG, deleted script in Makefile Message-ID: <20120818123919.DB2081065672@hub.freebsd.org> Resent-Message-ID: <201208181240.q7ICeAFU043341@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 170738 >Category: ports >Synopsis: [MAINTAINER] games/mopesnake: Makefile changed, OptionsNG, deleted script in Makefile >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Aug 18 12:40:09 UTC 2012 >Closed-Date: >Last-Modified: >Originator: nemysis >Release: FreeBSD 9.0-RELEASE amd64 >Organization: >Environment: System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC >Description: Makefile changed: Changed all to ${PORTNAME} OptionsNG .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MDOCS} Added file(s): - files/mopesnake.in Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports) >How-To-Repeat: >Fix: --- mopesnake-0.5_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/games/mopesnake/Makefile ./Makefile --- /usr/ports/games/mopesnake/Makefile 2012-07-18 14:39:16.000000000 +0200 +++ ./Makefile 2012-08-18 14:33:59.000000000 +0200 @@ -7,6 +7,7 @@ PORTNAME= mopesnake PORTVERSION= 0.5 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} DISTNAME= ${PORTNAME}-pc-${DISTVERSION} @@ -22,23 +23,25 @@ USE_PYTHON= yes NO_BUILD= yes -PLIST_FILES= bin/mopesnake \ +PLIST_FILES= bin/${PORTNAME} \ share/pixmaps/${PORTNAME}.png PORTDATA= * PORTDOCS= TODO.txt index.html +SUB_FILES= ${PORTNAME} + post-patch: # Fix path to python interpreter @${REINPLACE_CMD} -e 's,/usr/bin/python,${PYTHON_CMD},' \ ${WRKSRC}/*.py ${WRKSRC}/mopelib/*.py @(cd ${WRKSRC} && ${RM} *.py.bak mopelib/*py.bak) +.include <bsd.port.options.mk> + do-install: # Scripts - @${PRINTF} "#!/bin/sh\n\ncd ${DATADIR} &&\ - ./${PORTNAME}.py\n" > ${WRKDIR}/${PORTNAME}.sh - ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME} + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin # Executable ${MKDIR} ${DATADIR} @@ -52,7 +55,7 @@ ${INSTALL_DATA} ${WRKSRC}/version ${DATADIR} # Documentation -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} . for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR} diff -ruN --exclude=CVS /usr/ports/games/mopesnake/files/mopesnake.in ./files/mopesnake.in --- /usr/ports/games/mopesnake/files/mopesnake.in 1970-01-01 01:00:00.000000000 +0100 +++ ./files/mopesnake.in 2012-08-18 14:29:00.000000000 +0200 @@ -0,0 +1,7 @@ +#!/bin/sh +# +# $FreeBSD$ + +echo "Master Of Pain (Eating) - Snake: Starting up..." +cd "%%DATADIR%%" +./mopesnake.py --- mopesnake-0.5_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120818123919.DB2081065672>