Date: Wed, 1 Dec 2004 21:35:12 +0100 From: "Radek Kozlowski" <radek@raadradd.com> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/74598: [PATCH] games/gweled: update to 0.6 Message-ID: <1101933312.0@ddardaar> Resent-Message-ID: <200412012040.iB1KeEw3008179@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.mk> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1101933312.0>