summaryrefslogtreecommitdiffstats
path: root/games/gno3dtet
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/gno3dtet
parentd759a2a0c7e333a2ca526e94875dbeac5feeeef3 (diff)
downloadmarcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar.gz
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/gno3dtet')
-rw-r--r--games/gno3dtet/Makefile49
-rw-r--r--games/gno3dtet/distinfo3
-rw-r--r--games/gno3dtet/files/patch-src__main.cc10
-rw-r--r--games/gno3dtet/pkg-descr8
-rw-r--r--games/gno3dtet/pkg-plist22
5 files changed, 92 insertions, 0 deletions
diff --git a/games/gno3dtet/Makefile b/games/gno3dtet/Makefile
new file mode 100644
index 000000000..f71d40dfd
--- /dev/null
+++ b/games/gno3dtet/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: gno3dtet
+# Date created: 21 Dec 1999
+# Whom: Will Andrews <andrews@technologist.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gno3dtet
+PORTVERSION= 1.96.1
+PORTREVISION= 2
+CATEGORIES= games gnome
+MASTER_SITES= http://eseb.net/ftp/gno3dtet/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= GNOME version of the classic 3D-ified T*tris
+
+EXTRACT_DEPENDS=intltoolize:${PORTSDIR}/textproc/intltool
+
+USE_X_PREFIX= yes
+USE_GNOME= gnomehack gnomeprefix gnometarget intlhack libgnomeui librsvg2
+USE_GMAKE= yes
+USE_AUTOTOOLS= autoheader:259 automake:19 aclocal:19 autoconf:259
+ACLOCAL_ARGS= -I m4 -I ${ACLOCAL_DIR} -I ${LOCALBASE}/share/aclocal
+AUTOMAKE_ARGS= -a -c -f
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+INSTALLS_OMF= yes
+
+run-autotools:: run-autotools-aclocal run-autotools-autoheader \
+ run-autotools-automake run-autotools-autoconf
+
+post-extract:
+ @cd ${WRKSRC} && ${LOCALBASE}/bin/intltoolize -c -f
+
+post-patch:
+ @${REINPLACE_CMD} -e '/LIBTOOL/d ; \
+ s|gnome-games|gno3dtet|g' ${WRKSRC}/configure.in
+
+pre-configure:
+ @${INSTALL_SCRIPT} ${AUTOMAKE_DIR}/mkinstalldirs ${WRKSRC}
+
+post-install:
+ ${CHOWN} root:games ${PREFIX}/bin/gno3dtet
+ ${CHMOD} 2555 ${PREFIX}/bin/gno3dtet
+ ${CHOWN} root:games ${PREFIX}/share/games/gno3dtet.hof
+ ${CHMOD} 664 ${PREFIX}/share/games/gno3dtet.hof
+
+.include <bsd.port.mk>
diff --git a/games/gno3dtet/distinfo b/games/gno3dtet/distinfo
new file mode 100644
index 000000000..c3aa01508
--- /dev/null
+++ b/games/gno3dtet/distinfo
@@ -0,0 +1,3 @@
+MD5 (gno3dtet-1.96.1.tgz) = f298fe3306d5938ef843302a31a19713
+SHA256 (gno3dtet-1.96.1.tgz) = 81988eee8d824962d5d348ae72c5c66bf4e15dc406eac2bce8a76b098709f37b
+SIZE (gno3dtet-1.96.1.tgz) = 202401
diff --git a/games/gno3dtet/files/patch-src__main.cc b/games/gno3dtet/files/patch-src__main.cc
new file mode 100644
index 000000000..6c2d27a31
--- /dev/null
+++ b/games/gno3dtet/files/patch-src__main.cc
@@ -0,0 +1,10 @@
+--- src/main.cc.orig Wed Mar 9 11:07:47 2005
++++ src/main.cc Fri Nov 25 23:00:18 2005
+@@ -375,6 +375,7 @@
+ textdomain (PACKAGE);
+
+ // init
++ setregid(getegid(), -1);
+ // gnome_init_with_popt_table (GNO3DTET_EXENAME, GNO3DTET_VERSION, argc, argv, options, 0, NULL);// gnome-1
+ gnome_program_init (GNO3DTET_EXENAME, GNO3DTET_VERSION,
+ LIBGNOMEUI_MODULE,
diff --git a/games/gno3dtet/pkg-descr b/games/gno3dtet/pkg-descr
new file mode 100644
index 000000000..065b29055
--- /dev/null
+++ b/games/gno3dtet/pkg-descr
@@ -0,0 +1,8 @@
+Gno3DTet is a funky 3D-ified version of T*tris that reminds me of games
+I used to play 10 years ago. It'll make for hours of fun if you learn
+how to move the pieces around right.
+
+WWW: http://eseb.net/3dtetris.php
+Author: Sebastien Nicoud <seb at eseb.net>
+
+--Will <andrews@technologist.com>
diff --git a/games/gno3dtet/pkg-plist b/games/gno3dtet/pkg-plist
new file mode 100644
index 000000000..7b7ddab0a
--- /dev/null
+++ b/games/gno3dtet/pkg-plist
@@ -0,0 +1,22 @@
+bin/gno3dtet
+share/applications/gno3dtet.desktop
+share/games/gno3dtet.hof
+share/gnome/help/gno3dtet/C/gno3dtet.xml
+share/gnome/help/gno3dtet/C/legal.xml
+share/omf/gno3dtet/gno3dtet-C.omf
+share/pixmaps/gno3dtet.png
+share/sounds/gno3dtet/danger.wav
+share/sounds/gno3dtet/fall.wav
+share/sounds/gno3dtet/hof.wav
+share/sounds/gno3dtet/land.wav
+share/sounds/gno3dtet/layer.wav
+share/sounds/gno3dtet/level.wav
+share/sounds/gno3dtet/new.wav
+share/sounds/gno3dtet/pause.wav
+share/sounds/gno3dtet/score.wav
+share/sounds/gno3dtet/screwd.wav
+share/locale/fr/LC_MESSAGES/gno3dtet.mo
+@dirrm share/sounds/gno3dtet
+@dirrm share/omf/gno3dtet
+@dirrm share/gnome/help/gno3dtet/C
+@dirrm share/gnome/help/gno3dtet