From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 7 01: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 D6B0DBC7 for ; Wed, 7 Nov 2012 01:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id AAE1C8FC08 for ; Wed, 7 Nov 2012 01: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 qA71A1rG087262 for ; Wed, 7 Nov 2012 01: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 qA71A1eM087257; Wed, 7 Nov 2012 01:10:01 GMT (envelope-from gnats) Resent-Date: Wed, 7 Nov 2012 01:10:01 GMT Resent-Message-Id: <201211070110.qA71A1eM087257@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 B3811884 for ; Wed, 7 Nov 2012 01:04:00 +0000 (UTC) (envelope-from nemysis@gmx.ch) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by mx1.freebsd.org (Postfix) with SMTP id 167AD8FC12 for ; Wed, 7 Nov 2012 01:03:59 +0000 (UTC) Received: (qmail invoked by alias); 07 Nov 2012 01:03:57 -0000 Received: from 201-230.4-85.cust.bluewin.ch (EHLO something.email.com) [85.4.230.201] by mail.gmx.net (mp070) with SMTP; 07 Nov 2012 02:03:57 +0100 Received: by something.email.com (sSMTP sendmail emulation); Wed, 07 Nov 2012 02:03:57 +0100 Message-Id: <20121107010400.B3811884@hub.freebsd.org> Date: Wed, 07 Nov 2012 02:03:57 +0100 From: nemysis To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/173436: [MAINTAINER] games/mopesnake: Makefile changed, added pkg-plist, Desktop entries, removed all notes Cc: cs@FreeBSD.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2012 01:10:01 -0000 >Number: 173436 >Category: ports >Synopsis: [MAINTAINER] games/mopesnake: Makefile changed, added pkg-plist, Desktop entries, removed all notes >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: Wed Nov 07 01: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: Added file(s): - pkg-plist Makefile changed +CATEGORIES= games python -PLIST_FILES= bin/${PORTNAME} \ - share/pixmaps/${PORTNAME}.png -PORTDATA= * +DESKTOP_ENTRIES= Changed and refined: post-patch: do-install: files/mopesnake.in Removed all notes Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports) >How-To-Repeat: portlint -A looks fine. port test: clean >Fix: --- mopesnake-0.5_2.patch begins here --- diff -ruN --exclude=CVS /usr/ports/games/mopesnake/Makefile ./Makefile --- /usr/ports/games/mopesnake/Makefile 2012-09-15 01:39:13.000000000 +0200 +++ ./Makefile 2012-11-07 01:55:30.000000000 +0100 @@ -2,8 +2,8 @@ PORTNAME= mopesnake PORTVERSION= 0.5 -PORTREVISION= 1 -CATEGORIES= games +PORTREVISION= 2 +CATEGORIES= games python MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} DISTNAME= ${PORTNAME}-pc-${DISTVERSION} @@ -18,43 +18,31 @@ USE_PYTHON= yes NO_BUILD= yes -PLIST_FILES= bin/${PORTNAME} \ - share/pixmaps/${PORTNAME}.png - -PORTDATA= * PORTDOCS= TODO.txt index.html SUB_FILES= ${PORTNAME} +DESKTOP_ENTRIES="Master Of Pain (Eating) - Snake" "${COMMENT}" "${PORTNAME}" \ + "${PORTNAME}" "Game;ArcadeGame;" ${FALSE} + +.include + 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 + @${FIND} ${WRKSRC} -name "*.bak" -delete do-install: -# Scripts ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin - -# Executable ${MKDIR} ${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py ${DATADIR} - -# Data @(cd ${WRKSRC} && ${COPYTREE_SHARE} "images mopelib music sounds" ${DATADIR}) - -# Pixmaps and version ${INSTALL_DATA} ${WRKSRC}/doc/screenshot1.png ${PREFIX}/share/pixmaps/${PORTNAME}.png ${INSTALL_DATA} ${WRKSRC}/version ${DATADIR} -# Documentation .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} -. for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR} -. endfor + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${DOCSDIR} .endif .include diff -ruN --exclude=CVS /usr/ports/games/mopesnake/files/mopesnake.in ./files/mopesnake.in --- /usr/ports/games/mopesnake/files/mopesnake.in 2012-09-14 08:21:14.000000000 +0200 +++ ./files/mopesnake.in 2012-11-07 01:58:47.000000000 +0100 @@ -1,7 +1,7 @@ #!/bin/sh # # $FreeBSD: ports/games/mopesnake/files/mopesnake.in,v 1.1 2012/09/14 06:21:14 jgh Exp $ +# -echo "Master Of Pain (Eating) - Snake: Starting up..." cd "%%DATADIR%%" -./mopesnake.py \ No newline at end of file +exec /usr/bin/env python ./mopesnake.py diff -ruN --exclude=CVS /usr/ports/games/mopesnake/pkg-plist ./pkg-plist --- /usr/ports/games/mopesnake/pkg-plist 1970-01-01 01:00:00.000000000 +0100 +++ ./pkg-plist 2012-11-07 01:05:56.000000000 +0100 @@ -0,0 +1,25 @@ +bin/mopesnake +%%DATADIR%%/images/hiscores.png +%%DATADIR%%/images/instructions.png +%%DATADIR%%/images/title.png +%%DATADIR%%/images/tryad.png +%%DATADIR%%/mopelib/__init__.py +%%DATADIR%%/mopelib/mopelib.py +%%DATADIR%%/mopesnake.py +%%DATADIR%%/music/the_final_rewind_loop.ogg +%%DATADIR%%/sounds/aaa1.wav +%%DATADIR%%/sounds/aah2.wav +%%DATADIR%%/sounds/aei1.wav +%%DATADIR%%/sounds/eee1.wav +%%DATADIR%%/sounds/mmm3.wav +%%DATADIR%%/sounds/ooh1.wav +%%DATADIR%%/sounds/oow1.wav +%%DATADIR%%/sounds/ouch1.wav +%%DATADIR%%/sounds/ow1.wav +%%DATADIR%%/version +share/pixmaps/mopesnake.png +@dirrm %%DATADIR%%/sounds +@dirrm %%DATADIR%%/music +@dirrm %%DATADIR%%/mopelib +@dirrm %%DATADIR%%/images +@dirrm %%DATADIR%% --- mopesnake-0.5_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: