summaryrefslogtreecommitdiffstats
path: root/games/gturing
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/gturing
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/gturing')
-rw-r--r--games/gturing/Makefile56
-rw-r--r--games/gturing/distinfo3
-rw-r--r--games/gturing/files/patch-Makefile.in11
-rw-r--r--games/gturing/files/patch-gturing.desktop.in7
-rw-r--r--games/gturing/files/patch-pixmaps-Makefile.in11
-rw-r--r--games/gturing/pkg-descr14
-rw-r--r--games/gturing/pkg-plist69
7 files changed, 171 insertions, 0 deletions
diff --git a/games/gturing/Makefile b/games/gturing/Makefile
new file mode 100644
index 000000000..54faa4b82
--- /dev/null
+++ b/games/gturing/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: games/gturing
+# Date created: 08 Jul 2002
+# Whom: Juan Salaverria <rael@vectorstar.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gturing
+PORTVERSION= 0.1.1
+PORTREVISION= 11
+CATEGORIES= games gnome
+MASTER_SITES= ftp://ftp.gnome.org/pub/gnome/sources/gturing/0.1/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A simple turing machine simulator for GNOME 2
+
+USE_X_PREFIX= yes
+USE_GNOME= gnomeprefix gnomehack libgnomeui
+USE_GMAKE= yes
+USE_AUTOTOOLS= libtool:15
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+INSTALLS_OMF= yes
+CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
+
+DOCS= AUTHORS COPYING NEWS ChangeLog TODO README INSTALL
+
+EXAMPLEDIR= ${PREFIX}/share/examples/gturing
+
+EXAMPLES= 3ones2zeroes.tur add.tur bb3.tur dashnumbers.tur addbin.tur \
+ bb5.tur dec2bin.tur dec2bin_shift.tur bb2.tur bin2dec.tur \
+ bin2dec_shift.tur sort.tur subst.tur
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
+ ${WRKSRC}/configure
+
+post-install:
+ ${INSTALL} -d -o root -g wheel -m 0755 ${EXAMPLEDIR}
+.for f in ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/tapes/${f} ${EXAMPLEDIR}
+.endfor
+.if !defined(NOPORTDOCS)
+ ${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/games/gturing/distinfo b/games/gturing/distinfo
new file mode 100644
index 000000000..baf36348a
--- /dev/null
+++ b/games/gturing/distinfo
@@ -0,0 +1,3 @@
+MD5 (gturing-0.1.1.tar.gz) = 69f2ae5afd8dd2e13a224f6b768e45eb
+SHA256 (gturing-0.1.1.tar.gz) = 9eb8a1e415952c0f9deeb4c80f098c440d460563854f41313db55df002bb911d
+SIZE (gturing-0.1.1.tar.gz) = 533818
diff --git a/games/gturing/files/patch-Makefile.in b/games/gturing/files/patch-Makefile.in
new file mode 100644
index 000000000..255d4a6a5
--- /dev/null
+++ b/games/gturing/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Mon Jul 8 02:09:09 2002
++++ Makefile.in Mon Jul 8 02:52:04 2002
+@@ -116,7 +116,7 @@
+
+ SUBDIRS = pixmaps tapes po src help
+
+-desktopdir = $(datadir)/apps/Applications
++desktopdir = $(datadir)/applications
+ desktop_in_files = gturing.desktop.in
+ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+
diff --git a/games/gturing/files/patch-gturing.desktop.in b/games/gturing/files/patch-gturing.desktop.in
new file mode 100644
index 000000000..21e6149e4
--- /dev/null
+++ b/games/gturing/files/patch-gturing.desktop.in
@@ -0,0 +1,7 @@
+--- gturing.desktop.in.orig Sat Jul 14 07:15:50 2001
++++ gturing.desktop.in Mon Jul 8 22:51:47 2002
+@@ -5,3 +5,4 @@
+ Icon=gnome-gturing.png
+ Terminal=0
+ Type=Application
++Categories=Application;Game;
diff --git a/games/gturing/files/patch-pixmaps-Makefile.in b/games/gturing/files/patch-pixmaps-Makefile.in
new file mode 100644
index 000000000..f928b2c7b
--- /dev/null
+++ b/games/gturing/files/patch-pixmaps-Makefile.in
@@ -0,0 +1,11 @@
+--- pixmaps/Makefile.in.orig Tue Jul 9 01:09:00 2002
++++ pixmaps/Makefile.in Tue Jul 9 01:22:36 2002
+@@ -114,7 +114,7 @@
+ WARN_CFLAGS = @WARN_CFLAGS@
+ cxxflags_set = @cxxflags_set@
+
+-pixmapsdir = $(datadir)/$(PACKAGE)/pixmaps
++pixmapsdir = $(datadir)/pixmaps
+
+ pixmaps_DATA = gnome-gturing.png play.xpm power.xpm step.xpm stop.xpm
+
diff --git a/games/gturing/pkg-descr b/games/gturing/pkg-descr
new file mode 100644
index 000000000..b60d53359
--- /dev/null
+++ b/games/gturing/pkg-descr
@@ -0,0 +1,14 @@
+gturing is a simple turing machine simulator with
+graphical interface. A Turing machine is the simplest possible
+computing device which can only perform very simple operations.
+However, almost everything in programming languages can be
+written as a program for the Turing machine.
+
+Of course, no one uses the Turing machine for actual computing
+work, but it is very useful in theoretical computer science and
+mathematical logic.
+
+It's a nice complement for students who likes to practice with
+theory and a nice toy to play with.
+
+gpoo@ubiobio.cl
diff --git a/games/gturing/pkg-plist b/games/gturing/pkg-plist
new file mode 100644
index 000000000..81a2ba01e
--- /dev/null
+++ b/games/gturing/pkg-plist
@@ -0,0 +1,69 @@
+bin/gturing
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%EXAMPLESDIR%%/3ones2zeroes.tur
+%%EXAMPLESDIR%%/add.tur
+%%EXAMPLESDIR%%/addbin.tur
+%%EXAMPLESDIR%%/bb2.tur
+%%EXAMPLESDIR%%/bb3.tur
+%%EXAMPLESDIR%%/bb5.tur
+%%EXAMPLESDIR%%/bin2dec.tur
+%%EXAMPLESDIR%%/bin2dec_shift.tur
+%%EXAMPLESDIR%%/dashnumbers.tur
+%%EXAMPLESDIR%%/dec2bin.tur
+%%EXAMPLESDIR%%/dec2bin_shift.tur
+%%EXAMPLESDIR%%/sort.tur
+%%EXAMPLESDIR%%/subst.tur
+share/applications/gturing.desktop
+share/gnome/help/gturing/C/figures/mainwin.png
+share/gnome/help/gturing/C/gturing.xml
+share/gnome/help/gturing/C/legal.xml
+share/omf/gturing/gturing-C.omf
+share/pixmaps/gnome-gturing.png
+share/pixmaps/play.xpm
+share/pixmaps/power.xpm
+share/pixmaps/step.xpm
+share/pixmaps/stop.xpm
+share/locale/az/LC_MESSAGES/gturing-2.0.mo
+share/locale/cs/LC_MESSAGES/gturing-2.0.mo
+share/locale/da/LC_MESSAGES/gturing-2.0.mo
+share/locale/de/LC_MESSAGES/gturing-2.0.mo
+share/locale/el/LC_MESSAGES/gturing-2.0.mo
+share/locale/es/LC_MESSAGES/gturing-2.0.mo
+share/locale/et/LC_MESSAGES/gturing-2.0.mo
+share/locale/fi/LC_MESSAGES/gturing-2.0.mo
+share/locale/fr/LC_MESSAGES/gturing-2.0.mo
+share/locale/ga/LC_MESSAGES/gturing-2.0.mo
+share/locale/gl/LC_MESSAGES/gturing-2.0.mo
+share/locale/hu/LC_MESSAGES/gturing-2.0.mo
+share/locale/it/LC_MESSAGES/gturing-2.0.mo
+share/locale/ja/LC_MESSAGES/gturing-2.0.mo
+share/locale/ko/LC_MESSAGES/gturing-2.0.mo
+share/locale/lt/LC_MESSAGES/gturing-2.0.mo
+share/locale/nl/LC_MESSAGES/gturing-2.0.mo
+share/locale/no/LC_MESSAGES/gturing-2.0.mo
+share/locale/pl/LC_MESSAGES/gturing-2.0.mo
+share/locale/pt/LC_MESSAGES/gturing-2.0.mo
+share/locale/pt_BR/LC_MESSAGES/gturing-2.0.mo
+share/locale/ro/LC_MESSAGES/gturing-2.0.mo
+share/locale/ru/LC_MESSAGES/gturing-2.0.mo
+share/locale/sk/LC_MESSAGES/gturing-2.0.mo
+share/locale/sl/LC_MESSAGES/gturing-2.0.mo
+share/locale/sv/LC_MESSAGES/gturing-2.0.mo
+share/locale/tr/LC_MESSAGES/gturing-2.0.mo
+share/locale/uk/LC_MESSAGES/gturing-2.0.mo
+share/locale/vi/LC_MESSAGES/gturing-2.0.mo
+share/locale/wa/LC_MESSAGES/gturing-2.0.mo
+share/locale/zh_CN/LC_MESSAGES/gturing-2.0.mo
+share/locale/zh_TW/LC_MESSAGES/gturing-2.0.mo
+@dirrm share/omf/gturing
+@dirrm share/gnome/help/gturing/C/figures
+@dirrm share/gnome/help/gturing/C
+@dirrm share/gnome/help/gturing
+@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%