1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Add gweled, a GNOME version of the games "Bejeweled" or "Diamond Mine."

Submitted by:	James Earl <james@icionline.ca>
This commit is contained in:
Joe Marcus Clarke 2003-12-31 17:58:45 +00:00
parent c2d7882d5f
commit 8e8f687de7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97003
6 changed files with 67 additions and 0 deletions

View File

@ -172,6 +172,7 @@
SUBDIR += gtktetcolor
SUBDIR += gturing
SUBDIR += gtypist
SUBDIR += gweled
SUBDIR += halflifeserver
SUBDIR += heretic
SUBDIR += heroes

21
games/gweled/Makefile Normal file
View File

@ -0,0 +1,21 @@
# New ports collection makefile for: gweled
# Date created: November 28, 2003
# Whom: James Earl
#
# $FreeBSD$
#
PORTNAME= gweled
PORTVERSION= 0.4
CATEGORIES= games gnome
MASTER_SITES= http://sebdelestaing.free.fr/gweled/Release/
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME version of the game called "Bejeweled" or "Diamond Mine"
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack gnomehier libgnomeui librsvg2
GNU_CONFIGURE= yes
.include <bsd.port.mk>

1
games/gweled/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (gweled-0.4.tar.gz) = 68da42ad8e7e7f1ac1309e7fb69c007b

6
games/gweled/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
Gweled is a Gnome version of a popular PalmOS/Windows/Java game called
"Bejeweled" or "Diamond Mine". The aim of the game is to make alignment
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/

17
games/gweled/pkg-install Normal file
View File

@ -0,0 +1,17 @@
#!/bin/sh
if [ -n "${PACKAGE_BUILDING}" ]; then
exit 0
fi
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

21
games/gweled/pkg-plist Normal file
View File

@ -0,0 +1,21 @@
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
share/gnome/gweled/gweled.glade
share/gnome/gweled/gweled_icon.png
share/gnome/gweled/gweled_logo.png
share/gnome/pixmaps/gweled.png
share/gnome/pixmaps/gweled/cursor.svg
share/gnome/pixmaps/gweled/font_24_20.png
share/gnome/pixmaps/gweled/font_48_40.png
share/gnome/pixmaps/gweled/gem01.svg
share/gnome/pixmaps/gweled/gem02.svg
share/gnome/pixmaps/gweled/gem03.svg
share/gnome/pixmaps/gweled/gem04.svg
share/gnome/pixmaps/gweled/gem05.svg
share/gnome/pixmaps/gweled/gem06.svg
share/gnome/pixmaps/gweled/gem07.svg
share/gnome/pixmaps/gweled/tile_even.svg
share/gnome/pixmaps/gweled/tile_odd.svg
@dirrm share/gnome/pixmaps/gweled
@dirrm share/gnome/gweled