Date: Sun, 1 Mar 2009 18:25:30 GMT From: Scot Hetzel <swhetzel@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/132226: [New Port] games/freebsd-carddeck-kde{3,4} Message-ID: <200903011825.n21IPUYT069477@www.freebsd.org> Resent-Message-ID: <200903011830.n21IU2su046923@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 132226 >Category: ports >Synopsis: [New Port] games/freebsd-carddeck-kde{3,4} >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 01 18:30:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Scot Hetzel >Release: 8.0-CURRENT >Organization: >Environment: >Description: The attached shar archive creates 2 new ports: games/freebsd-carddeck-kde4 games/freebsd-carddeck-kde3 Currently, the FreeBSD carddeck has only been included in kdegames3. These ports allows the freebsd-carddeck to be used in both KDE 3 and KDE 4. >How-To-Repeat: >Fix: This shar file includes a patch to kdegames3 to remove the freebsd-carddeck and a script to move the desk_freebsd.{desktop.png} files to freebsd-carddeck-kde4/files. Run the share file to extract the ports, the do the following: cd freebsd-carddeck-kde4 sh ./movedeck cd .. patch < freebsd-carddeck-kde4/kdegames3.patch cvs -rm kdegames3/files/deck_freebsd.desktop kdegames3/files/deck_freebsd.png Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # freebsd-carddeck-kde3 # freebsd-carddeck-kde3/Makefile # freebsd-carddeck-kde4 # freebsd-carddeck-kde4/pkg-plist # freebsd-carddeck-kde4/movedeck # freebsd-carddeck-kde4/kdegames3.patch # freebsd-carddeck-kde4/pkg-descr # freebsd-carddeck-kde4/Makefile # echo c - freebsd-carddeck-kde3 mkdir -p freebsd-carddeck-kde3 > /dev/null 2>&1 echo x - freebsd-carddeck-kde3/Makefile sed 's/^X//' >freebsd-carddeck-kde3/Makefile << 'b254310c744b5a1b7fcfe104d1dff63f' X# New ports collection Makefile for: freebsd-carddeck-kde3 X# Date created: 2009-02-02 X# Whom: swhetzel@gmail.com X# X# $FreeBSD$ X XMAINTAINER= swhetzel@gmail.com XCOMMENT= FreeBSD themed deck for KDE card games X XPKGNAMEPREFIX= kde- XWANT_KDE3= yes X XMASTERDIR= ${.CURDIR}/../freebsd-carddeck-kde4 X X.include "${MASTERDIR}/Makefile" b254310c744b5a1b7fcfe104d1dff63f echo c - freebsd-carddeck-kde4 mkdir -p freebsd-carddeck-kde4 > /dev/null 2>&1 echo x - freebsd-carddeck-kde4/pkg-plist sed 's/^X//' >freebsd-carddeck-kde4/pkg-plist << 'd0941811b569492dc7e3baf8d0860f14' Xshare/apps/carddecks/decks/deck_freebsd.desktop Xshare/apps/carddecks/decks/deck_freebsd.png d0941811b569492dc7e3baf8d0860f14 echo x - freebsd-carddeck-kde4/movedeck sed 's/^X//' >freebsd-carddeck-kde4/movedeck << '022025a2f8b420281b115806fccb2454' X#!/bin/sh X Xmkdir files Xmv ../kdegames3/files/deck_freebsd.desktop files Xmv ../kdegames3/files/deck_freebsd.png files 022025a2f8b420281b115806fccb2454 echo x - freebsd-carddeck-kde4/kdegames3.patch sed 's/^X//' >freebsd-carddeck-kde4/kdegames3.patch << '33fc7029252cba4e37dbf3d86e38919e' XIndex: kdegames3/Makefile X=================================================================== XRCS file: /home/ncvs/ports/games/kdegames3/Makefile,v Xretrieving revision 1.104 Xdiff -u -r1.104 Makefile X--- kdegames3/Makefile 29 Aug 2008 11:29:45 -0000 1.104 X+++ kdegames3/Makefile 3 Feb 2009 19:20:39 -0000 X@@ -27,23 +27,6 @@ X X CONFIGURE_ARGS= --disable-setgid X X-DECKS= ${WRKSRC}/libkdegames/carddecks/decks/ X- X-.if defined(WITHOUT_TUX) X-PLIST_SUB+= FREEBSD_DECK="@comment " X-.else X-PLIST_SUB+= FREEBSD_DECK="" X-.endif X- X-post-extract: X-.if defined(WITHOUT_TUX) X- ${CP} ${FILESDIR}/deck_freebsd.desktop ${DECKS}deck14.desktop X- ${CP} ${FILESDIR}/deck_freebsd.png ${DECKS}/deck14.png X-.else X- ${CP} ${FILESDIR}/deck_freebsd.desktop ${DECKS} X- ${CP} ${FILESDIR}/deck_freebsd.png ${DECKS} X-.endif X- X post-patch: X @${REINPLACE_CMD} -e 's|root:root|${BINOWN}:${BINGRP}|g' \ X ${WRKSRC}/kgoldrunner/gamedata/Makefile.in XIndex: kdegames3/pkg-plist X=================================================================== XRCS file: /home/ncvs/ports/games/kdegames3/pkg-plist,v Xretrieving revision 1.37 Xdiff -u -r1.37 pkg-plist X--- kdegames3/pkg-plist 4 Jul 2007 10:24:13 -0000 1.37 X+++ kdegames3/pkg-plist 3 Feb 2009 19:21:14 -0000 X@@ -845,8 +845,6 @@ X share/apps/carddecks/decks/deck8.png X share/apps/carddecks/decks/deck9.desktop X share/apps/carddecks/decks/deck9.png X-share/apps/carddecks/decks/deck_freebsd.desktop X-share/apps/carddecks/decks/deck_freebsd.png X share/apps/kasteroids/kasteroidsui.rc X share/apps/kasteroids/sounds/Explosion.wav X share/apps/kasteroids/sprites/bg.png 33fc7029252cba4e37dbf3d86e38919e echo x - freebsd-carddeck-kde4/pkg-descr sed 's/^X//' >freebsd-carddeck-kde4/pkg-descr << '50153377a0f030c556ce18535aff6aec' XProvides a FreeBSD themed card deck for KDE Card Games 50153377a0f030c556ce18535aff6aec echo x - freebsd-carddeck-kde4/Makefile sed 's/^X//' >freebsd-carddeck-kde4/Makefile << 'a99646e1a272d9cacfa2913921c7db0e' X# New ports collection Makefile for: freebsd-carddeck-kde4 X# Date created: 2009-02-02 X# Whom: swhetzel@gmail.com X# X# $FreeBSD$ X XPORTNAME= freebsd-carddeck XPORTVERSION= 1.0 XCATEGORIES= games kde XMASTER_SITES= # empty XDISTFILES= # none XEXTRACT_ONLY= # empty XPKGNAMEPREFIX?= kde4- XMAINTAINER= swhetzel@gmail.com XCOMMENT= FreeBSD themed deck for KDE card games X XNO_BUILD= yes X X.if defined(WANT_KDE3) X XRUN_DEPENDS= ${LOCALBASE}/bin/kpat:${PORTSDIR}/games/kdegames3 XDECK_PREFIX= ${PREFIX} X.else XUSE_KDE4= kdehier XRUN_DEPENDS= ${KDE4_PREFIX}/bin/kpat:${PORTSDIR}/games/kdegames4 XDECK_PREFIX= ${KDE4_PREFIX} X.endif X XDECKS= ${DECK_PREFIX}/share/apps/carddecks/decks/ X Xdo-install: X ${CP} ${FILESDIR}/deck_freebsd.desktop ${DECKS} X ${CP} ${FILESDIR}/deck_freebsd.png ${DECKS} X X.include <bsd.port.mk> a99646e1a272d9cacfa2913921c7db0e exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903011825.n21IPUYT069477>