From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Dec 1 20:40:14 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E43016A4CE for ; Wed, 1 Dec 2004 20:40:14 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 654BD43D31 for ; Wed, 1 Dec 2004 20:40:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iB1KeEi8008182 for ; Wed, 1 Dec 2004 20:40:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iB1KeEw3008179; Wed, 1 Dec 2004 20:40:14 GMT (envelope-from gnats) Resent-Date: Wed, 1 Dec 2004 20:40:14 GMT Resent-Message-Id: <200412012040.iB1KeEw3008179@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, "Radek Kozlowski" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18B6C16A4CE for ; Wed, 1 Dec 2004 20:34:01 +0000 (GMT) Received: from biggie.spekt.net (biggie.spekt.net [67.18.79.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id D30ED43D2F for ; Wed, 1 Dec 2004 20:34:00 +0000 (GMT) (envelope-from radek@raadradd.com) Received: from raadradd.homeunix.org (bxc81.neoplus.adsl.tpnet.pl [83.29.252.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by biggie.spekt.net (Postfix) with ESMTP id 1B3C289673D for ; Wed, 1 Dec 2004 21:33:56 +0100 (CET) Received: from ddardaar (ddardaar [192.168.1.11]) by raadradd.homeunix.org (Postfix) with ESMTP id C4806A552 for ; Wed, 1 Dec 2004 21:34:00 +0100 (CET) Message-Id: <1101933312.0@ddardaar> Date: Wed, 1 Dec 2004 21:35:12 +0100 From: "Radek Kozlowski" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.1 Subject: ports/74598: [PATCH] games/gweled: update to 0.6 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Dec 2004 20:40:14 -0000 >Number: 74598 >Category: ports >Synopsis: [PATCH] games/gweled: update to 0.6 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Dec 01 20:40:13 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Radek Kozlowski >Release: FreeBSD 5.3-STABLE i386 >Organization: >Environment: System: FreeBSD 5.3-STABLE #9: Tue Nov 16 21:44:39 CET 2004 root@ddardaar:/usr/obj/usr/src/sys/DDARDAAR >Description: - update to 0.6 - remove pkg-install >How-To-Repeat: >Fix: --- gweled-0.6.diff begins here --- diff -ruN gweled.orig/Makefile gweled/Makefile --- gweled.orig/Makefile Wed Dec 1 18:39:22 2004 +++ gweled/Makefile Wed Dec 1 21:30:39 2004 @@ -6,8 +6,7 @@ # PORTNAME= gweled -PORTVERSION= 0.5 -PORTREVISION= 1 +PORTVERSION= 0.6 CATEGORIES= games gnome MASTER_SITES= http://sebdelestaing.free.fr/gweled/Release/ @@ -17,6 +16,13 @@ USE_X_PREFIX= yes USE_GMAKE= yes USE_GNOME= gnomeprefix gnomehack gnomehier libgnomeui librsvg2 +USE_REINPLACE= yes GNU_CONFIGURE= yes + +post-patch: + @${REINPLACE_CMD} -e 's|/var/games|${PREFIX}/share/gnome/games|' \ + ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|$${MKDIRPROG-mkdir}|mkdir -p|' \ + ${WRKSRC}/install-sh .include diff -ruN gweled.orig/distinfo gweled/distinfo --- gweled.orig/distinfo Wed Dec 1 18:39:22 2004 +++ gweled/distinfo Wed Dec 1 18:40:19 2004 @@ -1,2 +1,2 @@ -MD5 (gweled-0.5.tar.gz) = 238f5ef66317bb24c3d4018a7d1e9ec3 -SIZE (gweled-0.5.tar.gz) = 163122 +MD5 (gweled-0.6.tar.gz) = 40b4eaa8e1aca93cf6bc9d91a3c2c048 +SIZE (gweled-0.6.tar.gz) = 168308 diff -ruN gweled.orig/pkg-install gweled/pkg-install --- gweled.orig/pkg-install Wed Dec 1 18:39:22 2004 +++ gweled/pkg-install Thu Jan 1 01:00:00 1970 @@ -1,13 +0,0 @@ -#!/bin/sh - -if [ "$2" = "POST-INSTALL" ]; then - mkdir -p ${PKG_PREFIX}/share/gnome/games - SCORES="gweled.easy.scores" - for i in ${SCORES}; do - if [ ! -f ${PKG_PREFIX}/share/gnome/games/${i} ]; then - touch -f ${PKG_PREFIX}/share/gnome/games/${i} - chown games:games ${PKG_PREFIX}/share/gnome/games/${i} - chmod 664 ${PKG_PREFIX}/share/gnome/games/${i} - fi - done -fi diff -ruN gweled.orig/pkg-plist gweled/pkg-plist --- gweled.orig/pkg-plist Wed Dec 1 18:39:22 2004 +++ gweled/pkg-plist Wed Dec 1 20:26:55 2004 @@ -1,6 +1,8 @@ bin/gweled share/gnome/applications/gweled.desktop -@unexec [ -s %D/share/gnome/games/gweled.easy.scores ] || rm -f %D/share/gnome/games/gweled.easy.scores +@exec update-desktop-database > /dev/null || /usr/bin/true +share/gnome/games/gweled.easy.scores +share/gnome/games/gweled.timed.scores share/gnome/gweled/gweled.glade share/gnome/gweled/gweled_icon.png share/gnome/gweled/gweled_logo.png @@ -19,3 +21,4 @@ share/gnome/pixmaps/gweled/tile_odd.svg @dirrm share/gnome/pixmaps/gweled @dirrm share/gnome/gweled +@unexec update-desktop-database > /dev/null || /usr/bin/true --- gweled-0.6.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: