Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jan 2014 22:14:28 GMT
From:      Hardy Schumacher <hardy.schumacher@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/185563: [UPDATE] games/gweled to v0.9.1
Message-ID:  <201401072214.s07MES8M080957@oldred.freebsd.org>
Resent-Message-ID: <201401072220.s07MK01K050435@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185563
>Category:       ports
>Synopsis:       [UPDATE] games/gweled to v0.9.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 07 22:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Hardy Schumacher
>Release:        FreeBSD-9.2
>Organization:
>Environment:
FreeBSD gamma.low.org 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255996: Thu Oct  3 20:40:04 CEST 2013     root@gamma.low.org:/usr/obj/usr/src/sys/LOW_GAMMA  i386
>Description:
Update of port games/gweled is available. It contains bugfixes and enhancements. 
This change also includes:
- reference to new website
- license information
- simplification for build process
- staging support

>How-To-Repeat:
n/a
>Fix:


Patch attached with submission follows:

diff -ruN /usr/ports/games/gweled/Makefile ./gweled/Makefile
--- /usr/ports/games/gweled/Makefile	2013-09-21 20:17:36.000000000 +0200
+++ ./gweled/Makefile	2014-01-07 23:06:43.000000000 +0100
@@ -2,25 +2,23 @@
 # $FreeBSD: head/games/gweled/Makefile 327730 2013-09-20 17:36:33Z bapt $
 
 PORTNAME=	gweled
-PORTVERSION=	0.7
-PORTREVISION=	12
+PORTVERSION=	0.9.1
 CATEGORIES=	games gnome
-MASTER_SITES=	http://sebdelestaing.free.fr/gweled/Release/
+MASTER_SITES=	http://launchpad.net/gweled/trunk/${PORTVERSION}/+download/
 
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	GNOME version of the game called "Bejeweled" or "Diamond Mine"
 
-LIB_DEPENDS=	mikmod.2:${PORTSDIR}/audio/libmikmod
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libmikmod.so:${PORTSDIR}/audio/libmikmod
 
 USES=		gmake pkgconfig
 USE_GNOME=	gnomeprefix gnomehack gnomehier libgnomeui librsvg2
 GNU_CONFIGURE=	yes
 
-NO_STAGE=	yes
-post-patch:
-	@${REINPLACE_CMD} -e 's|/var/games|${PREFIX}/share/games|' \
-		${WRKSRC}/configure
-	@${REINPLACE_CMD} -e 's|$${MKDIRPROG-mkdir}|mkdir -p|' \
-		${WRKSRC}/install-sh
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/games/gweled/distinfo ./gweled/distinfo
--- /usr/ports/games/gweled/distinfo	2012-12-26 19:40:37.000000000 +0100
+++ ./gweled/distinfo	2014-01-07 22:13:53.000000000 +0100
@@ -1,2 +1,2 @@
-SHA256 (gweled-0.7.tar.gz) = 636916cfdb7d39f86431c971f5f212a6199bb1fe3e576fe0b4b2bab56048356f
-SIZE (gweled-0.7.tar.gz) = 232178
+SHA256 (gweled-0.9.1.tar.gz) = f6064989040949659f5a970cf3a9dd280615df7ad67c014ac37e1466ce91055d
+SIZE (gweled-0.9.1.tar.gz) = 403252
diff -ruN /usr/ports/games/gweled/files/patch-src_Makefile.in ./gweled/files/patch-src_Makefile.in
--- /usr/ports/games/gweled/files/patch-src_Makefile.in	2012-12-26 19:40:37.000000000 +0100
+++ ./gweled/files/patch-src_Makefile.in	1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
---- src/Makefile.in.orig	Fri Jun  9 16:10:56 2006
-+++ src/Makefile.in	Fri Jun  9 16:11:08 2006
-@@ -178,7 +178,7 @@ Data_DATA = \
- 	gweled_icon.png \
- 	gweled_logo.png
- 
--gweled_LDADD = @PACKAGE_LIBS@
-+gweled_LDADD = @PACKAGE_LIBS@ -Wl,--export-dynamic
- all: all-am
- 
- .SUFFIXES:
diff -ruN /usr/ports/games/gweled/pkg-descr ./gweled/pkg-descr
--- /usr/ports/games/gweled/pkg-descr	2012-12-26 19:40:37.000000000 +0100
+++ ./gweled/pkg-descr	2014-01-07 22:13:53.000000000 +0100
@@ -3,4 +3,4 @@
 of 3 or more gems, both vertically or horizontally by swapping adjacent
 gems. The game ends when there are no possible moves left.
 
-WWW: http://sebdelestaing.free.fr/gweled/
+WWW: http://gweled.org
diff -ruN /usr/ports/games/gweled/pkg-install ./gweled/pkg-install
--- /usr/ports/games/gweled/pkg-install	2012-12-26 19:40:37.000000000 +0100
+++ ./gweled/pkg-install	1970-01-01 01:00:00.000000000 +0100
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-if [ "$2" = "POST-INSTALL" ]; then
-    mkdir -p ${PKG_PREFIX}/share/games
-    SCORES="gweled.easy.scores gweled.timed.scores"
-    for i in ${SCORES}; do
-	if [ ! -f ${PKG_PREFIX}/share/games/${i} ]; then
-	    touch -f ${PKG_PREFIX}/share/games/${i}
-	    chown games:games ${PKG_PREFIX}/share/games/${i}
-	    chmod 0664 ${PKG_PREFIX}/share/games/${i}
-	fi
-    done
-fi


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401072214.s07MES8M080957>