summaryrefslogtreecommitdiffstats
path: root/games/gweled
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-30 01:53:54 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-30 01:53:54 +0800
commit42e1d052cd9d135da30fd4ece32cdb15f0c377ca (patch)
tree9d3d88d541265db7cc93238d8a5384c0037debeb /games/gweled
parentd759a2a0c7e333a2ca526e94875dbeac5feeeef3 (diff)
downloadmarcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar
marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar.gz
marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar.bz2
marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar.lz
marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar.xz
marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar.zst
marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.zip
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9256 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'games/gweled')
-rw-r--r--games/gweled/Makefile30
-rw-r--r--games/gweled/distinfo3
-rw-r--r--games/gweled/files/patch-src_Makefile.in11
-rw-r--r--games/gweled/pkg-descr6
-rw-r--r--games/gweled/pkg-install13
-rw-r--r--games/gweled/pkg-plist26
6 files changed, 89 insertions, 0 deletions
diff --git a/games/gweled/Makefile b/games/gweled/Makefile
new file mode 100644
index 000000000..4eb3d7fb8
--- /dev/null
+++ b/games/gweled/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: gweled
+# Date created: November 28, 2003
+# Whom: James Earl
+#
+# $FreeBSD$
+#
+
+PORTNAME= gweled
+PORTVERSION= 0.7
+PORTREVISION= 5
+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"
+
+LIB_DEPENDS= mikmod.2:${PORTSDIR}/audio/libmikmod
+
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GNOME= gnomeprefix gnomehack gnomehier libgnomeui librsvg2
+GNU_CONFIGURE= 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
+
+.include <bsd.port.mk>
diff --git a/games/gweled/distinfo b/games/gweled/distinfo
new file mode 100644
index 000000000..e8b98eefd
--- /dev/null
+++ b/games/gweled/distinfo
@@ -0,0 +1,3 @@
+MD5 (gweled-0.7.tar.gz) = 730fe1737e0b0e9940575aa573d63d84
+SHA256 (gweled-0.7.tar.gz) = 636916cfdb7d39f86431c971f5f212a6199bb1fe3e576fe0b4b2bab56048356f
+SIZE (gweled-0.7.tar.gz) = 232178
diff --git a/games/gweled/files/patch-src_Makefile.in b/games/gweled/files/patch-src_Makefile.in
new file mode 100644
index 000000000..2e445bece
--- /dev/null
+++ b/games/gweled/files/patch-src_Makefile.in
@@ -0,0 +1,11 @@
+--- 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 --git a/games/gweled/pkg-descr b/games/gweled/pkg-descr
new file mode 100644
index 000000000..1a0e0812c
--- /dev/null
+++ b/games/gweled/pkg-descr
@@ -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/
diff --git a/games/gweled/pkg-install b/games/gweled/pkg-install
new file mode 100644
index 000000000..8c40e3417
--- /dev/null
+++ b/games/gweled/pkg-install
@@ -0,0 +1,13 @@
+#!/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
diff --git a/games/gweled/pkg-plist b/games/gweled/pkg-plist
new file mode 100644
index 000000000..36602c990
--- /dev/null
+++ b/games/gweled/pkg-plist
@@ -0,0 +1,26 @@
+bin/gweled
+share/applications/gweled.desktop
+@unexec [ -s %D/share/games/gweled.easy.scores ] || rm -f %D/share/games/gweled.easy.scores
+@unexec [ -s %D/share/games/gweled.timed.scores ] || rm -f %D/share/games/gweled.timed.scores
+share/gweled/gweled.glade
+share/gweled/gweled_icon.png
+share/gweled/gweled_logo.png
+share/pixmaps/gweled.png
+share/pixmaps/gweled/cursor.svg
+share/pixmaps/gweled/font_24_20.png
+share/pixmaps/gweled/font_48_40.png
+share/pixmaps/gweled/gem01.svg
+share/pixmaps/gweled/gem02.svg
+share/pixmaps/gweled/gem03.svg
+share/pixmaps/gweled/gem04.svg
+share/pixmaps/gweled/gem05.svg
+share/pixmaps/gweled/gem06.svg
+share/pixmaps/gweled/gem07.svg
+share/pixmaps/gweled/tile_even.svg
+share/pixmaps/gweled/tile_odd.svg
+share/sounds/gweled/autonom.s3m
+share/sounds/gweled/click.wav
+share/sounds/gweled/swap.wav
+@dirrm share/sounds/gweled
+@dirrm share/pixmaps/gweled
+@dirrm share/gweled