From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 7 18:10:01 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF03D106564A for ; Tue, 7 Aug 2012 18:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 82DFD8FC18 for ; Tue, 7 Aug 2012 18:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q77IA1Ub098981 for ; Tue, 7 Aug 2012 18:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q77IA1L0098980; Tue, 7 Aug 2012 18:10:01 GMT (envelope-from gnats) Resent-Date: Tue, 7 Aug 2012 18:10:01 GMT Resent-Message-Id: <201208071810.q77IA1L0098980@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, nemysis Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4CFCA106564A for ; Tue, 7 Aug 2012 18:05:35 +0000 (UTC) (envelope-from nemysis@gmx.ch) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by mx1.freebsd.org (Postfix) with SMTP id B2AD08FC14 for ; Tue, 7 Aug 2012 18:05:34 +0000 (UTC) Received: (qmail invoked by alias); 07 Aug 2012 18:05:30 -0000 Received: from 201-230.4-85.cust.bluewin.ch (EHLO something.email.com) [85.4.230.201] by mail.gmx.net (mp033) with SMTP; 07 Aug 2012 20:05:30 +0200 Received: by something.email.com (sSMTP sendmail emulation); Tue, 07 Aug 2012 20:05:29 +0200 Message-Id: <20120807180535.4CFCA106564A@hub.freebsd.org> Date: Tue, 07 Aug 2012 20:05:29 +0200 From: nemysis To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/170463: [MAINTAINER] games/mopesnake: Makefile changed, new Options, added files/mopesnake.in X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2012 18:10:01 -0000 >Number: 170463 >Category: ports >Synopsis: [MAINTAINER] games/mopesnake: Makefile changed, new Options, added files/mopesnake.in >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: Tue Aug 07 18:10:01 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 in Makefile for all ${PORTNAME} New Options for Makefile: SUB_FILES= ${PORTNAME} .include .if ${PORT_OPTIONS:MDOCS} Removed unsafe Script mopesnake.sh 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-07 19:55:18.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} @@ -18,16 +19,23 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game +OPTIONS_DEFINE= DATA +OPTIONS_DEFAULT= DATA + USE_ZIP= yes 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} + +.include + post-patch: # Fix path to python interpreter @${REINPLACE_CMD} -e 's,/usr/bin/python,${PYTHON_CMD},' \ @@ -36,9 +44,7 @@ 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 +58,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-07 19:52:02.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: