diff options
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/gweled/Makefile | 21 | ||||
-rw-r--r-- | games/gweled/distinfo | 1 | ||||
-rw-r--r-- | games/gweled/pkg-descr | 6 | ||||
-rw-r--r-- | games/gweled/pkg-install | 17 | ||||
-rw-r--r-- | games/gweled/pkg-plist | 21 |
6 files changed, 67 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index 8bdc7e3f7022..b1f7dd6c989e 100644 --- a/games/Makefile +++ b/games/Makefile @@ -172,6 +172,7 @@ SUBDIR += gtktetcolor SUBDIR += gturing SUBDIR += gtypist + SUBDIR += gweled SUBDIR += halflifeserver SUBDIR += heretic SUBDIR += heroes diff --git a/games/gweled/Makefile b/games/gweled/Makefile new file mode 100644 index 000000000000..583a63cadc2e --- /dev/null +++ b/games/gweled/Makefile @@ -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> diff --git a/games/gweled/distinfo b/games/gweled/distinfo new file mode 100644 index 000000000000..42a7536da07d --- /dev/null +++ b/games/gweled/distinfo @@ -0,0 +1 @@ +MD5 (gweled-0.4.tar.gz) = 68da42ad8e7e7f1ac1309e7fb69c007b diff --git a/games/gweled/pkg-descr b/games/gweled/pkg-descr new file mode 100644 index 000000000000..1a0e0812c59c --- /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 000000000000..2519bdec7245 --- /dev/null +++ b/games/gweled/pkg-install @@ -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 diff --git a/games/gweled/pkg-plist b/games/gweled/pkg-plist new file mode 100644 index 000000000000..831191068d8d --- /dev/null +++ b/games/gweled/pkg-plist @@ -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 |