View | Details | Raw Unified | Return to bug 185563
Collapse All | Expand All

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

Return to bug 185563